<html><body bgcolor="#FFFFFF"><div><div></div><div><span class="Apple-style-span" style="font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><span>Found the performance thief!</span><br><span>Removed a debugging [print].</span><br><span>Now it performs as wanted!</span><br><span></span><br><span>Thank you cyrille!</span><br><span></span><br><span></span><br><span></span><br><span>Am 04.08.2010 um 15:07 schrieb cyrille henry &lt;<a href="mailto:ch@chnry.net" x-apple-data-detectors="true"></a><a href="mailto:ch@chnry.net"><a href="mailto:ch@chnry.net">ch@chnry.net</a></a>&gt;:</span><br><span></span><br><blockquote type="cite"><span>anyway, i think i found a problem.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>in your MIDIctlin abstraction :</span><br></blockquote><blockquote type="cite"><span>whatever midi message received, this abstraction did output the CC value if port and canal is the good one, but it did output 0 otherwise.</span><br></blockquote><blockquote type="cite"><span>so a single midi message generate 81 send for each sendOSCChannelstrip. and you have 8 of them.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>this 648 UDP message are send to both localhost and over the network (192.168.0.30)</span><br></blockquote><blockquote type="cite"><span>this still did not explain the 20 min wait, but if you use this version of MIDIctlin, it will greatly reduce problem.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>c</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Le 04/08/2010 14:44, Christoph Kuhr a écrit :</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>well,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>i have a main patch (MOD_8) including all the numberboxes and only</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>recieving via udp.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>works fine.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>it also calls an abstraction (sendOSCMod_8), which manages all the</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>sending: 8 channelstrip (sendOSCChannelstrip) abstractions are called</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>with 33 FILTERED(MIDIctlin) [ctlin].</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>calling the sending abstraction alone without the main patch causes the</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>same problem, and there are no numberboxes in it.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>attached the patches</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>bye</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>chris</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Am 04.08.2010 14:26, schrieb cyrille henry:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>hello,</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>what you describe should use a negligible % of CPU.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>i think there is a problem somewhere. something like a loop with send</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>and receive by example.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>send your patch to the list so we can have a look.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>c</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Le 04/08/2010 14:06, Christoph Kuhr a écrit :</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Hi there,</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>im working on a digital mixing desk,</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>any channel is build of 33 MIDI CCs one CPU has to manage 8 channels</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>for using ctlin with dynamic arguments, i put it in an abstraction, did</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>two multiplications and two compersisons.</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>when i change a CC value the pd-gui is getting REALLY busy, computing</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>about 20 minutes for that one value.</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>do you have any ideas, on how to do that more CPU saving?</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>greets</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>chris</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>_______________________________________________</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span><a href="mailto:Pd-list@iem.at" x-apple-data-detectors="true"></a><a href="mailto:Pd-list@iem.at"><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a></a>&nbsp;mailing list</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>UNSUBSCRIBE and account-management -&gt;</span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span><a href="http://lists.puredata.info/listinfo/pd-list" x-apple-data-detectors="true"></a><a href="http://lists.puredata.info/listinfo/pd-list"><a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></a></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><span>&lt;MIDIctlin.pd&gt;</span></blockquote></span><br><br></div></div><div></div></body></html>