Using StrudelDirt / Superdirt with Supercollider

I played around with Tidal the last days and found Superdirt / Strudeldirt.
I have Strudeldirt in the Quarks and tried to run this snippet:

SuperDirt.default = ~dirt; // make this instance available in sclang (optional)

(
p = Pbind(
	\type, \dirt,
	\dirt, ~dirt,
	\gain, Pseq([Pseq([0.9, 0.5], inf), 0.3], inf),
	\sound, Pseq(["bd", "sd"], inf),
    \dur, Pseq([0.25, 0.75], inf)
).play)

p.stop;

I get the → SuperDirt prompt, but also this:

-> SuperDirt
-> an EventStreamPlayer
Buffer UGen: no buffer data
Buffer UGen: no buffer data
Buffer UGen: no buffer data
Buffer UGen: no buffer data

Can Superdirt / Strudeldirt not be used with SuperCollider directly?

looks like strudel dirt is doing some initialisation on startup which is not done by scide per default.
from a cursory look at strudeldirt_startup i think you’d need to add something like ~dirt.loadSoundFiles to get some data into your buffers

1 Like

Thanks, yes that was the problem. When using the StrudelDirt startup script, which include this line, it works.