logo       

n_map "freq" -1: msg#00223

audio.supercollider.devel

Subject: n_map "freq" -1

it might be good to change the behaviour of

n_map name -1

in a way that it unmaps all channels of a control if the control name
is a string.

// example:

a = { arg freq=#[200, 300, 400, 500]; Formant.ar(freq, 1020, 100).sum * 0.1 }.play;
b = { Out.kr(72, LFNoise1.kr(1 ! 4) * 500 + 1700) }.play;
s.sendMsg("/n_mapn", a.nodeID, "freq", 72, 4);
s.sendMsg("/n_map", a.nodeID, "freq", -1); // this doesn't unmap all.



s.sendMsg("/n_mapn", a.nodeID, "freq", -1, 4); // this does of course..

but I might not want to know how many channels the control has.

--








.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise