Created
September 12, 2021 22:13
-
-
Save hz37/1e8345f3278419ff2b7027298fcddb65 to your computer and use it in GitHub Desktop.
Receiving MIDI from the Roland MC-707 in Sonic Pi
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
# 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