Wow, thanks a lot again, Kas! I dub thee <font size="6"><br>Kassen the Benevolent!</font><br><br>I&#39;m glad the days of RTFM are over, and... as a friend of mine suggested<br>the days of ATFM have begun (Ask The F=&gt;* Mastah) 
<br><br>:D<br><br><br><div><span class="gmail_quote">On 10/10/07, <b class="gmail_sendername">Kassen</b> &lt;<a href="mailto:signal.automatique@gmail.com">signal.automatique@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div><span class="q"><span class="gmail_quote">On 10/10/07, <b class="gmail_sendername">AlgoMantra</b> &lt;<a href="mailto:algomantra@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
algomantra@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Okay, I beg your pardon in advance again......</blockquote></span><div><br><br>Why? That&#39;s what the list is for!<br>:¬)<br>&nbsp;<br></div><span class="q"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

1. Are the MAUI modules available only for miniAudicle, and not Audicle? That<br>would mean that one can only do this on Mac. I&#39;m a dodo using XP.</blockquote></span><div><br>Yeah, at least so far.<br>&nbsp;</div><span class="q">
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2. Can two ChucK shreds throw data at each other in the same VM, like two Python sockets?
<br>So I could read Microphone data in RMS off one shred and throw it towards a Python<br>GUI using another shred which is using OSC? Can two shreds talk? </blockquote></span><div><br><br>Yes, you can. The easiest way to go about this is to make sure both shreds come from&nbsp; the same .ck file. If they do they share the name space of that file so any event or variable defined in there should be open to both. The exception is things defined inside of functions (and in this case all but one of those shreds will be sporked functions). Something defined inside of a function will only be accessible to that function.
<br><br>If the above is all you need I&#39;d keep it in a single file and use a event, the first shred would analyze the sound and broadcast the event whenever something interesting happens, the second would wait for the event and send the OSC. The sections in the manual and the /examples/ dir on events contain everything you&#39;ll need.
<br><br>It gets slightly harder if the two shreds come from different files, if that is the case the trick is to make a public class containing a static event and have both shreds use a instance of that. This is a bit of a work-around but it does work. The one thing to mind is that non-primitive static objects in public classes have a issue with instantiation, to get around this you need to define the class, then define a event outside of it and asign this to it. Fortunately you only need to do that once and it&#39;ll be fine, there has been quite a bit of discussion about this on the list that you might want to look up (mainly on static arrays). If that&#39;s the route you take and you run into trouble get back to it and I or somebody else will talk you through it.
<br></div><br><br>Hope that helps,<br>Kas.<br></div>
<br>_______________________________________________<br>chuck-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>-------&nbsp;&nbsp;&nbsp;&nbsp;-.-<br>1/f&nbsp;&nbsp; )))&nbsp;&nbsp;--.<br>-------&nbsp;&nbsp;&nbsp;&nbsp;...<br><a href="http://www.algomantra.com">http://www.algomantra.com</a>