They are in the repo here: https://github.com/sonic-pi-net/sonic-pi/tree/dev/etc/samples
If you click on one, on the right of the page you should see a button labelled “Raw”, if you click on it, that will link to the file - or if you right click it and “Copy link address” that will copy the url of the sample.
Thanks! I’m gonna review the loop samples, and note which are more/less/equal 4beats, but noticed whilst testing recently that whilst rate or density will affect the playback rate, increasing the bpm won’t make samples play faster… Perhaps it’s that they’re triggered more frequently.
I’m starting to wonder if sonicpi doesn’t really care much about BPM!
Previously i assumed it’s best to half and double stuff, instead of more complex calculations, but maybe the magic of the timing system makes ‘original’ or ‘intended’ bpm a little academic/unimportant, providing the figures add up (eg the relative amounts, for syncing multiple loops of differing length, for example…
The sample command simply starts playing at the time it is called, regardless of the sample BPM.
You can make the samples loop precisely with the beat_stretch parameter.
loop do
sample :loop_amen, beat_stretch: 4
sleep 4
end