r/strudel • u/Fast_Current_3280 • 18d ago
Struggling to pattern/sequence my own samples
I'm fairly familiar with playing samples in Strudel, but am unable to sequence my own drum patterns when using variable names - I suspect I'm unclear about the usage of singe/double quotes. Please help tx
// I have imported a folder from my HD, called 'spi-kits'
s("spi-kits:0 spi-kits:5, spi-kits:3")// plays drum hits as expected
const kik = "spi-kits:0"
s(kik)// also works as expected
const foo = "spi-kits:0"
const bar = "spi-kits:5"
$:
s("foo bar")// does not work
1
Upvotes
1
u/Fast_Current_3280 18d ago
Of course, this is one way:
n("0 5 0 2").s('spi-kits')
1
u/scottish_beekeeper 18d ago
If you want to use names in mini-notation the best option is to use the various pick functions - e.g.: