I have two systems, both are SC 3.12.2 on Windows 10 latest update. As far as I can tell they have the same set of extensions and quarks installed.
When I try this example from VarGui help files, one of them works fine, the other throws a “isNaN not understood” error. If I remove stream:p
from VarGui, then it works. What could be causing this?
SynthDef(\synth_1a, { |freq = 400, preAmp = 5, amp = 0.1|
var src = SinOsc.ar(freq, 0, mul: preAmp).tanh ! 2;
OffsetOut.ar(0, src * amp * EnvGen.ar(Env.perc, doneAction: 2))
}).add;
)
(
p = Pbind(
\instrument, \synth_1a,
\preAmp, PL(\preAmp), // or Pfunc { ~preAmp }
\amp, PL(\amp), // or Pfunc { ~amp }
\midinote, PLseq(\seq) + PL(\seqAdd),
\dur, 0.2
);
)
(
~specPairs = [\seq, [36, 60, \lin, 1, 36] ! 5,
\seqAdd, [0, 12, \lin, 1, 0],
\amp, [0, 0.3, \lin, 0.01, 0.1],
\preAmp, [5, 50, \lin, 0.01, 20]];
v = VarGui(~specPairs, stream: p).gui;
)