Hi
If I add some extra samples to a folder within:
C:\Program Files (x86)\Sonic Pi\etc\samples
… is it then possible to call these directly?
E.g if I add:
\test\samp1.wav
\test\samp2.wav
then in Sonic Pi:
sample :test\samp1
Hi
If I add some extra samples to a folder within:
C:\Program Files (x86)\Sonic Pi\etc\samples
… is it then possible to call these directly?
E.g if I add:
\test\samp1.wav
\test\samp2.wav
then in Sonic Pi:
sample :test\samp1
Adding reply from atrip:
hi, is not possible to reply on your post. you can do it with DEFINE, theres my example
define :prueba do
“D:/Emanuel/Atrip/Set/Loops/resost/RE SOSTENIDO Project/Samples/Imported”
end
live_loop :loop do
sample 8
sleep 1
end
Thanks for the advise atrip
I tried the following but I could not get it to work. I did not quite get the SOSTENIDO part?
define :prueba do
“C:/AUDIO_SAMPLES/808 SOSTENIDO Project/Samples/Imported”
end
live_loop :loop do
sample 8
sleep 1
end
What about this?
a = C:\Program Files (x86)\Sonic Pi\etc\samples\thefolderIjustAdded\
and then play your samples like this
sample a, 1, amp: 2 # a represents the path, 1 the file number in the folder.
It should be working doing so. Try to read the documentation included in Sonic-Pi. Everything is explained about samples and using custom samples.
EDIT : I just realised that you are trying to achieve something different but I don’t quite get what you are looking for.