On 22/04/2008, <b class="gmail_sendername">mike clemow</b> &lt;<a href="mailto:gelfmuse@gmail.com">gelfmuse@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, of course.&nbsp;&nbsp;So, a while back (and I had promised to send video<br> and school took over my life instead) I worked on a project building a<br> trash-sculpture with two bands, who graciously donated audio samples<br> to the project.&nbsp;&nbsp;</blockquote>
<div><br>Did your life take over from making the video or just from sending it? If just the sending then please know I would be very interested in seeing this, this sounds great!<br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> And then, also you can listen to two events at once, so if you wanted<br> to also send &quot;/sndbuf/buf/gain&quot; you&#39;d have to set up a new shred...<br> but that also necessarily means a new receiver, a new port, and a new<br>
 event.&nbsp;&nbsp;The sender will have to know that to send &quot;/sndbuf/buf/gain,&quot;<br> they have to send to a different destination.&nbsp;&nbsp;So, what&#39;s the point in<br> the hierarchy, right?&nbsp;&nbsp;Everything is flat and everything is it&#39;s own<br>
 net address.</blockquote><div><br>Yes, I see, and for large amounts of events this would get quite expensive before anything even gets done at all, not to mention spectacularly ugly and hard to edit, I imagine.<br><br>I should probably confess that I haven&#39;t done that much with OSC yet. I&#39;m greatly in favour of OSC as I find MIDI quite unpleasant but I simply haven&#39;t had a situation yet where I had a OSC sender and receiver that would solve some problem I had... but this doesn&#39;t look that good to me.<br>
<br>Anyway, yes, I agree this is less then clean. Parsing that hierarchy would depend on string parsing though and we can build strings but ATM we can&#39;t pull them apart. I&#39;d also say that this way of dealing with OSC doesn&#39;t alleviate some of the practical issues with the native GUI elements at all.<br>
<br>Illustration1; Example of shreds waiting for events taking up CPU. It&#39;s not *that* bad but they aren&#39;t free either. (see &quot;Taskmanager&quot; or &quot;top&quot; or similar OS tool)<br>--------------------------------------------<br>
Event some_event;<br>&nbsp;&nbsp;&nbsp; <br>for (0 =&gt; int i; i &lt; 1000; i++)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; spork ~my_shred();<br>&nbsp;&nbsp;&nbsp; me.yield();<br>&nbsp;&nbsp;&nbsp; }<br>minute =&gt; now;<br>//clean it all up<br>some_event.broadcast();<br><br>fun void my_shred()<br>
&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; //no functionality at all here<br>&nbsp;&nbsp;&nbsp; some_event =&gt; now;<br>&nbsp;&nbsp;&nbsp; }<br>----------------------------------------------<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> Anyway, I&#39;m done ranting for now.&nbsp;&nbsp;I have to admit that I&#39;m a bit<br> obsessed with OSC in general.</blockquote><div><br>If that&#39;s &quot;ranting&quot; I&#39;d love to hear about your more serious concerns! :¬)<br>
<br>On some level I think your concerns with OSC here are quite similar to&nbsp; some of the concerns about the MAUI. There ought to be a more powerful and compact way of structuring these things. There have been proposals for shreds waiting for multiple events and I agree that could be a good idea but for even just 64 events (I&#39;m thinking about the Monome here) that would already be a lot of boring monotonous code. I feel we need something compact that would have a single event and more elaborate parsing of it&#39;s members. You make it sound like MIDI parsing is more elegant then OSC and considering the MIDI spec I think that means there is a issue... I like MIDI as much as anyone, it&#39;s cheap and generally available, but readability and simplicity don&#39;t seem to have been high on the list there.<br>
</div><br><br>Thanks for &quot;ranting&quot;!<br>Kas.<br></div>