Different RandSeed for the same SynthDef

Publish the tests and benchmarks results (just for curiosity)

Probably could, over the weekend.

Highly unlikely I would have time for that. You’re welcome to run some tests.

hjh

Sure, when I have time. If this part of the project is already part of some king of unit/property test, I can try to write along those lines.

Informal test based on this thread:

(
{
	var a, b;
	RandID.kr(0, 1);
	RandSeed.ir(1, 88372);
	a = LFDNoise0.ar(440);
	RandID.kr(1, 1);
	RandSeed.ir(1, 88372);
	b = LFDNoise0.ar(440);
	[a, b, a - b]
}.plot;
)

hjh

2 Likes

I am happy that a question turned into a bug fix! Thank you all!!!

Remind me what happens when you extend the binary interface of UGens - does this work with SynthDefs produced for the previous version (i.e. where RandID has one instead of two arguments), or does this potentially crash scsynth? Is there a default value of 0 when force is not given in the SynthDef?

Edit: I added my comments to the PR, to avoid that the discussion spreads to different places.

I could not reproduce a crash here.

hjh