Hi there, I was wondering if I’m doing something wrong (SC 3.10.3 Windows). I have Ndefs whose sources are Pdefs, but the quantization is not working as expected.
// Get rid of old stuff Ndef.clear; Pdef.removeAll; // Create a "ping" metronome so we know where every 8th beat falls Pdef(\ping, Pbind(\degree, Pseq([14, Pn(7,7)], inf), \dur, 1, \amp, 0.02)).quant_(8).play; // Now create a quantized Ndef with a quantized Pdef as its source Ndef(\test).quant_(8).play; Ndef(\test).source = Pdef(\pat).quant_(8); // Play a minimal pattern that *should* start on a multiple-of-eight beat Pdef(\pat).source = Pbind(\dur, Pn(1, 1)); // (it doesn't, it seems to start right away, on the next beat) // In contrast, this works (not using Pdef but Pbind as Ndef source directly) -- the source changes at the quantization point: Ndef(\test, Pbind(\dur, Pn(1, 1)));
Any suggestions on how to do this properly? Should I just log a bug, or am I missing some step?