I’m new here. i have a question how can i use my sample. I like done in tutorial but it doesn’t work
@Morris - in order to understand exactly what’s going on for you, it would be super helpful to have a few more details. Such as: when you say ‘it doesn’t work’ - how?
what does it say/do instead? a small example of the code you have tried to run might also be useful
I see, thanks!
Have a peek at the tutorial (in chapter 3.6, it describes how to load local samples). The syntax for path separators is the same across macOS, Windows and Linux, instead of using forward slashes for one, and backwards slashes for another
After editing your code to match, it should work fine. Another alternative is to drag and drop your samples from somewhere like your file browser into Sonic Pi’s window - the correct path will be inserted into the editor for you
Hope that helps!
As an addition to Ethan’s answer, an easy way to get the sample path into Sonic Pi is to drag and drop the icon of the sample from your folder onto the Sonic Pi editor window. It will then automatically add the string you want, and you can add the command sample
before it.