Skip to content

Instantly share code, notes, and snippets.

@hz37
Created September 12, 2021 22:13
Show Gist options
  • Save hz37/1e8345f3278419ff2b7027298fcddb65 to your computer and use it in GitHub Desktop.
Save hz37/1e8345f3278419ff2b7027298fcddb65 to your computer and use it in GitHub Desktop.
Receiving MIDI from the Roland MC-707 in Sonic Pi
# Receiving MIDI from the Roland MC-707 in Sonic Pi.
# Hens Zimmerman, 12-09-2021.
live_loop :midi_piano do
with_fx :reverb, mix: 0.6 do
use_real_time
note, velocity = sync "/midi:mc-707:1/note_on"
synth :mod_pulse , note: note, amp: velocity / 127.0
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment