Ndef.prime OffsetOut

hey,

when i use .prime on Ndef to prepare it with a SynthDef which is using OffsetOut does this automatically transfer to the Ndef? thanks.

SynthDef(\test, {

	[...]
	
	OffsetOut.ar(\out.kr(0), sig);
}).add;

~test = ~test ? ();
~test[\name] = \test;
Ndef(~test[\name]).prime(\test);

Yes. In this case since the source object is \aSymbol, NodeProxy assumes you have already added the SynthDef, and it uses whichever Out/OffsetOut is in the SynthDef.

On a related note, when the source object is a Function, you can make OffsetOut the default by running ProxySynthDef.sampleAccurate = true

cool, thanks for the help :slight_smile: