hmm...<div><br></div><div>now i am getting this message:</div><meta charset="utf-8"><p class="p1"><font class="Apple-style-span" color="#FF6600">ERROR: Message &#39;map&#39; not understood.</font></p><p class="p1"><font class="Apple-style-span" color="#FF6600">RECEIVER:</font></p>
<p class="p1"><font class="Apple-style-span" color="#FF6600">   nil</font></p><p class="p1"><font class="Apple-style-span" color="#FF6600">ARGS:</font></p><p class="p1"><font class="Apple-style-span" color="#FF6600">   Float 0.5984251968503937   3FE3264C 993264CA</font></p>
<p class="p1"><font class="Apple-style-span" color="#FF6600">CALL STACK:</font></p><p class="p1"><font class="Apple-style-span" color="#FF6600"><span class="Apple-tab-span"></span>DoesNotUnderstandError-reportError   163FC0D0</font></p>
<p class="p1"><font class="Apple-style-span" color="#FF6600"><span class="Apple-tab-span"></span><span class="Apple-tab-span"></span>arg this = &lt;instance of DoesNotUnderstandError&gt;</font></p><p class="p1"><font class="Apple-style-span" color="#FF6600"><span class="Apple-tab-span"></span>Nil-handleError   1765A070</font></p>
<p class="p1">etc...<span class="Apple-tab-span"></span></p><div> (which i usually get if i forget to initiate the MIDIClient), ONLY on controller 1, the controller which is phantom-style mapping itself to my synths... and DESPITE the error message, it is still actually controlling the parameter!</div>
<div><br></div><div>any ideas??</div><div><br></div><div>thanks peeps... </div><div><br></div><div><br></div><div><br></div><div>
<p class="p1"><br></p><br><div class="gmail_quote">On Wed, Sep 8, 2010 at 5:04 PM, mileece <span dir="ltr">&lt;<a href="mailto:milalea@gmail.com">milalea@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
you are probably going to hate this- but since i have been using CCresponders AND freeing them everything i command., i have reset the pram and even reinstalled SC, i just can&#39;t think of what the issue is - my only thought is that it might be a node problem? please see below- and thanks in advance for your help and patience! this is driving my nutty!! hi scott,<div>
<div></div><div class="h5"><br>
<br>thanks so much for getting back to me...<br>       <br>it&#39;s quite a complicated (or rather lengthy) patch so i have been trying to simplify it so i can get the whole issue across...<br>but briefly (or not so briefly) i am using messaging style (for pan as an example) like this from my routines:<br>

<br><font color="#FF0000"><br><font color="#FF9900">var pos1Spec, pos1=0;<br><br>~cc1 = CCResponder({|src, chan, num, val|<br>pos1 = pos1Spec.map(val/127.0);<br>}, nil, 0, 1);<br>
<br>~chord_rout1 = Routine({<br>var chordNotesArray = (#[ 34, 46, 53, 64]), nv2;nv2 = [</font><span><font color="#FF9900">~adsr</font></span><font color="#FF9900">,</font><span><font color="#FF9900">~adsr</font></span><font color="#FF9900">];</font></font><div>

<font color="#FF9900"><br>inf.do({|i|<br>var index;<br>index = 2.rand;        <br>s.sendBundle(0.02,<br>[&quot;/s_new&quot;, &quot;OneDeepOnce&quot;, chordNode1ID=s.nextNodeID, 0, tone_grpID, \outDry, 0, \outWet,44, \i_freq, (4 + (chordNotesArray @@ i)).midicps, \pos, pos1]<br>

,[\n_setn,  chordNode1ID, \env, nv2[index].size]++nv2[index]        <br>).yield;        });        });<br></font><br><br>as well as a direct MIDIControl from inside my synth for other parameters:<br><br><font color="#FF6600">(<br>
SynthDef(&quot;OneDeepOnce&quot;, { arg outDry=0, outWet=42, i_freq=500, pos=0, chord_allBuf=40000;<br>var klank, harm, amp, ring, env2, env2_cntrl, wetMix, dryMix, offSet, noise, output, gate, tone, winde;<br><br>harm = Control.names([\harm]).ir([2, 6, 8]);<br>

amp = Control.names([\amp]).ir([0.7, 0.6, 0.5]);<br>ring = Control.names([\ring]).ir(Array.fill(3,6));<br>env2 = Env.newClear(10);<br>env2_cntrl = Control.names([\env]).kr(env2.asArray);<br><br>offSet = MIDIControl.kr(0, 1, \lin, lag: 0.02, channel:0, control:7, id:~port);<br>

output = MIDIControl.kr(0.1, 1,  \lin, lag: 0.02, channel:0, control:8, id:~port);<br>gate = MIDIControl.kr(0, 1,  \lin, lag: 0.02, channel:0, control:9, id:~port);<br><br>noise = {GrayNoise.ar(Crackle.ar(1.5, 0.01))};<br>

<br>klank = DynKlank.ar(`[harm,amp,ring], Decay.ar(noise, 1, 0.001).dup, i_freq, offSet, output);<br><br>klank =        Pan2.ar(klank,pos) * EnvGen.kr(env2_cntrl, gate, doneAction:2);<br><br>Out.ar(outWet, klank*output);        <br><br>

}).load(s);<br>)</font>        <br><br></div><div>Now, this:</div><div><span style="color:rgb(255, 102, 0)">gate = MIDIControl.kr(0, 1,  \lin, lag: 0.02, channel:0, control:9, id:~port);</span></div><div>
<br></div><div><span style="color:rgb(255, 102, 0)"></span>is controlling ALL my synths (even one which doesn&#39;t have an env) ! </div><div><br></div><div>this:</div><div><span style="color:rgb(255, 102, 0)">output = MIDIControl.kr(0.1, 1,  \lin, lag: 0.02, channel:0, control:8, id:~port);</span></div>

<div><font color="#FF6600"><br></font></div><div><font color="#FF6600"><font color="#000000">is controlling a couple of synths (it&#39;s not mapped to), but not all- ON CHANNEL 1 AND 8</font></font></div>
<div><font color="#FF6600"><font color="#000000"><br></font></font></div><div><font color="#FF6600"><font color="#000000">I have been using cc.remove in this patch since i wrote it, but it isn&#39;t working!</font></font></div>

<div><font color="#FF6600"><font color="#000000"><br></font></font></div><div><font color="#FF6600"><font color="#000000">i just reset the pram... that hasn&#39;t helped either- i have even reinstalled SC...</font></font></div>

<div><font color="#FF6600"><font color="#000000"><br></font></font></div><div>Do you think it might be my Node allocations?</div><div><br></div><div>The synth that cuts off from the gate which doesn&#39;t have an env is in the first group and the two which are both responding to the the output change on CC1 are in the second and third respectively...</div>

<div><br></div><div><p><font color="#FF6600">tone_grp = s.sendMsg(&quot;/g_new&quot;, tone_grpID=s.nextNodeID, 0, 0); //head of node 0</font></p><p><font color="#FF6600">popp_grp = s.sendMsg(&quot;/g_new&quot;, popp_grpID=s.nextNodeID, 3, tone_grpID); //after pieces_grpI</font></p>

<p><font color="#FF6600">drone_grp = s.sendMsg(&quot;/g_new&quot;, drone_grpID=s.nextNodeID, 3, popp_grpID); //afterpopp_grppieces_grpID</font></p><p><br></p><p><font color="#FF6600"></font>the other thing is that i am triggering my routines with a CCresponder so i the synthdef with all the triggers assigned as so:</p>

</div><div><span style="color:rgb(255, 102, 0)"><br></span></div><div><span style="color:rgb(255, 102, 0)">s.sendMsg(&quot;/s_new&quot;, &quot;trig2&quot;, trig2_ID=s.nextNodeID, 0, 0, \id, 100);</span></div>
<div><p><font color="#FF6600">s.sendMsg(&quot;/s_new&quot;, &quot;trigger&quot;, trigger_ID=s.nextNodeID, 3, trig2_ID, \id, 120);</font></p></div><div><br></div><div>here is the CCresponder:</div>
<div><br></div><div><p><font color="#CC6600">OSCresponder(s.addr, &#39;/tr&#39;, {|time, responder, msg|</font></p><p><span><font color="#CC6600"></font></span><font color="#CC6600">switch(msg[2]</font></p>
<p><font color="#CC6600">, 120, {space_rout.next}</font></p><p><span><font color="#CC6600"></font></span><span><font color="#CC6600"></font></span><font color="#CC6600">, 4, {chord_rout1.next}</font></p>
<p><span><font color="#CC6600"></font></span><span><font color="#CC6600"></font></span><font color="#CC6600">, 5, {drone_rout.next}</font></p>
<p><br></p><p>and the trigger sythdef:</p><p></p><p><font color="#FF9900">(</font></p><p><font color="#FF9900">SynthDef(&quot;trigger&quot;, {|id=120|</font></p>
<p><span><font color="#FF9900"></font></span><font color="#FF9900">var midi, midi1, midi4, midi5;</font></p><p><font color="#FF9900">midi1 = MIDIControl.kr(0, 127, \lin, channel:0, control:1, id:~port);</font></p>
<p><span><font color="#FF9900"></font></span><font color="#FF9900">midi4 = MIDIControl.kr(0, 127, \lin, channel:0, control:4, id:~port);</font></p>
<p><span><font color="#FF9900"></font></span><font color="#FF9900">midi5 = MIDIControl.kr(0, 100, \lin, channel:0, control:5, id:~port);</font></p>
<p><font color="#FF9900">SendTrig.kr(HPZ1.kr(</font><font color="#FF9900">midi1), id); //space</font></p><p><span><font color="#FF9900"></font></span><font color="#FF9900">SendTrig.kr((midi4&gt;50), 4);//drone</font></p>

<p><span><font color="#FF9900"></font></span><font color="#FF9900">SendTrig.kr((midi5&gt;50), 5);//chord</font></p><p><span><font color="#FF9900"></font></span></p>
<p><font color="#FF9900">}).load(s);</font></p><p><font color="#FF9900">)</font></p><p><font color="#333333">So there it is- if there is a culprit, it&#39;s gotta be here somewhere!!!</font></p>
</div><br></div></div><div><div></div><div class="h5"><div class="gmail_quote">On Wed, Sep 8, 2010 at 11:16 AM, isjtar <span dir="ltr">&lt;<a href="mailto:list@isjtar.org" target="_blank">list@isjtar.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
are you instantiating a lot of new ccresponders without freeing them?<br>
how is the code structured? are your variables in environments, classes??<br>
without code it&#39;s very difficult to tell.<div><div></div><div><br>
<br>
On Sep 8, 2010, at 8:02 PM, mileece wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
hello!<br>
<br>
i&#39;m working on an sc patch that has gone weird...<br>
<br>
i have discovered that there are several cc&#39;s controlling parameters in<br>
several synths they are not mapped to!<br>
<br>
i have created new synths on new nodes in new groups. this has not helped. i<br>
have even tried a new controller source and reprogrammed the cc&#39;s on my MIDI<br>
keyboard to see if it was coming from there.<br>
<br>
Nope!<br>
<br>
anyone have any ideas what could cause cc&#39;s to override all the code i can<br>
see on my patches?<br>
<br>
thanks... i&#39;m stuck and it sucks :/<br></div></div>
_______________________________________________<br>
microsound mailing list<br>
<a href="mailto:microsound@microsound.org" target="_blank">microsound@microsound.org</a><br>
<a href="http://or8.net/mailman/listinfo/microsound" target="_blank">http://or8.net/mailman/listinfo/microsound</a><br>
</blockquote>
<br>
_______________________________________________<br>
microsound mailing list<br>
<a href="mailto:microsound@microsound.org" target="_blank">microsound@microsound.org</a><br>
<a href="http://or8.net/mailman/listinfo/microsound" target="_blank">http://or8.net/mailman/listinfo/microsound</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br></div>