Created
August 20, 2020 19:56
-
-
Save Kyoku57/a71f53234ce7590e43e04e2b79b4debe 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
#main live loop | |
live_loop :mainloop do | |
# use autotune fx | |
with_fx :autotuner, formant_ratio:1 do |a| | |
#use real time mode | |
use_real_time | |
# get note and velocity from my MIDI interface | |
note, velocity = sync "/midi:clavinova:0:1/note_on" | |
# play sample | |
sample "/Users/sebastien/Documents/samples/sushi.wav" | |
# use the note from MIDI keyboard to control autotune FX for the sample | |
control a, note: note | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment