I tested the code below (which is presented in the documentation), but it does not run on the editor:
live_loop :rhythm do
sample knit(:bd_haus, 3, :sn_dolf, 1).tick
sleep 0.25
end
There’s an error message:
unknown sample :
I tried to edit the code but the same error kept appearing:
use_bpm 123
live_loop :rhythm do
sample knit(:ambi_piano, 3, :elec_beep, 1).tick
sleep 0.25
end