<br><div class="gmail_quote">On Fri, Aug 27, 2010 at 4:23 AM, Arnold Krille <span dir="ltr">&lt;<a href="mailto:arnold@arnoldarts.de">arnold@arnoldarts.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
<br>
puredata is not able to do this. While it is easy to connect ctlin with ctlout<br>
and switch ctrl and value, it sometimes uses the value from the event before<br>
and I couldn&#39;t get that to work either... (If some pd crack can give me a<br>
hint, I am very open to that, the problem seems to be that the events are<br>
passed/handled in the wrong order.)<br></blockquote><div><br>I&#39;m by no means a pd crack, but I believe there are a number of ways to get this done in pd. I&#39;d be inclined to use a a pack object  to ensure all event values are coupled with their controller number. You can then use a route object to split the toggle states of your nanokontrol button presses into ctlout 104 or ctlout 105 triggers, with the appropriate values assigned. The attached patch seems to work for me, assuming your hi/low toggle values for your buttons are set to 127/0.<br>
<br>-mjn<br></div></div>