[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] bug in SynthDesc.makeWindow?



Hi,

here:

+SynthDesc {
makeWindow {


we have

var synthDesc; // --> delete me

But no value assigned, so the stop in the button.value here raises an error:


startButton.action = "">|view|
if (view.value == 1) {
// start sound
s.sendBundle(s.latency, ["/s_new", name, id, 0, 0] ++ getSliderValues.value);
};
if (view.value == 0) {
if (synthDesc.hasGate) { // --> should be this.hasGate
// set gate to zero to cause envelope to release
s.sendMsg("/n_set", id, "gate", 0);
}{
s.sendMsg("/n_free", id);
};
};
};



Best

-a-

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)