Created
July 19, 2023 13:08
-
-
Save fatuk/ee1e3c6d8a81f1a7834123a1c3f30cd3 to your computer and use it in GitHub Desktop.
Sonic PI midi example
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
live_loop :midi_piano do | |
use_real_time | |
note, velocity = sync "/midi:mpk_mini_mk_ii_0:1/note_on" | |
synth :zawa, note: note, amp: 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment