Hi there,
A question of syntax :
sample_loop_01 = "loop_amen"
sample_loop_02 = "loop_garzul"
define :play_sample do | number |
sampleToPlay = "sample_loop_" + number.to_s
sample sampleToPlay.to_s
end
play_sample("01")
and of course it gives this as a result
=> Starting run 82
=> Redefining fn :play_sample
{run: 82, time: 0.0}
├─ 1.5715419501133787
└─ sample ["sample_loop_01"]
- no match found, skipping.
Sure you will know how to resolve this !
cheers