Skip to content

Instantly share code, notes, and snippets.

#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"
@Kyoku57
Kyoku57 / monster.rb
Created March 14, 2020 17:27
SonicPi : autotuner test
live_loop :beat do
8.times do
sample :bd_fat
sleep 0.5
sample :drum_heavy_kick
sleep 0.5
end
end
live_loop :ambiance do