Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from mididings import *
- config(
- client_name='IDM01/Yamaha', ### Input from
- in_ports=[
- ('IDM01', '32:0'),
- # ('MtronCtrl', '28:0'),
- # ('ArdTrans', '28:0'),
- ],
- out_ports=[
- ('TronKeysCtrl', 'TronKeysCtrlAj:0'),
- ('ArdTrans', 'Midipus:0'),
- ('ArdKeys', 'MidiKeysIn:0'),
- ('MiscKeys'),
- ],
- )
- run(
- ChannelFilter(1) >> [
- #IDM01 to Melotron Voice Selector/Melotron Keys
- # PortFilter('MtronCtrl') >> Educational
- KeyFilter(1,10) >> ~KeyFilter(5,7) >> Transpose(26),
- KeyFilter(43,79) >> Port('TronKeysCtrl'),
- #IDM01 to Ardour Transport
- # PortFilter('ArdTrans') >>
- KeyFilter(notes=[10,11,12]) >> ## Use chain ('>>') Not selector ('%')
- Ctrl(EVENT_PORT,2,EVENT_CTRL,EVENT_VALUE) >>
- Port('ArdTrans'),
- # Send Only 24-127 to ArdKeys
- KeyFilter(24,97) >> Port('ArdKeys')
- ]
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement