Created
May 24, 2010 18:17
-
-
Save adamjmurray/412223 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Here's how I envision inline midi message processing could work. | |
# This is an octave transposer. | |
# It filters for note on and note off events and changes their pitch before passing them along. | |
# Other event types will be passed through automatically. | |
INPUTS/'Akai' >> midi_processor /note_(on|off)/ { |event,device| | |
event.pitch += 12 | |
device.receivers.each_send(event) | |
} >> OUTPUTS/'TO ABLETON' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment