Skip to content

Instantly share code, notes, and snippets.

@lisabaut
Created June 20, 2018 21:13
Show Gist options
  • Save lisabaut/53c17a7721cc891cd4d39fb6a96fcf15 to your computer and use it in GitHub Desktop.
Save lisabaut/53c17a7721cc891cd4d39fb6a96fcf15 to your computer and use it in GitHub Desktop.
live_loop :name do
use_real_time
note, velocity = sync "/midi/usb_keystation_49e/0/1/note_on"
if note == 65 && velocity != 0
sample "~/Desktop/1-flute-loop-9.wav"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment