logo       

n_mapn out of range: msg#00224

audio.supercollider.devel

Subject: n_mapn out of range

using mapn with a named control, it might cause accidental overriding
of other controls:

a = { arg freq=#[200, 300, 400, 500], amp=0.1; Formant.ar(freq, 1020, 100).sum * amp }.play;
b = { Out.kr(72, LFNoise1.kr(1 ! 4) * 500 + 1700) }.play;

s.sendMsg("/n_mapn", a.nodeID, "freq", 72, 4); // fine
s.sendMsg("/n_mapn", a.nodeID, "freq", 72, 5); // not fine

maybe the server could catch that?
--








.


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

News | FAQ | advertise