Sample match error

Hi,

I meet a strange issue using the sample instruction with filter for one file. Sonic Pi can’t find the file from the mentioned name.

An idea ?

Does running sample_free_all help? Sometimes I find that cached sample paths get stale, if you add samples without resettting SP for example.

I tried

sample_free_all
sleep 1

chemin = "~/Desktop/New"
sample chemin,"Midi"
sleep 1
sample chemin,"Next"
sleep 1

which worked

Thanks Robin.

Can’t test right now but indeed I renamed this file without rebooting SP. It seems obvious I should !

1 Like