<br><b class="gmail_sendername">Martin;<br><br></b><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>No, I don&#39;t think you&#39;re just whining! Right now, chuck is built around
<br>the idea of having multiple programs synced together in time. It would<br>be awesome if you could share more things between the programs. Public<br>ugens, public variables, public events, and - as you said - busses.</blockquote>
<div><br><br>Exactly. Public events for straightforward sequencing (in any sense of the word) would be great as well. We do have public classes and they are great for what they do but I dislike them for impulsive sessions as you only get to define them once so you can&#39;t extend them.
<br><br>Because the DAC already also works as a internal bus, in a way (dac =&gt; LiSa l =&gt; dac; //is fine) I imagine adding something called &quot;bus&quot; that operates exactly like a dac aside from not sending data to the soundcard should be a more or less straightforward addition. The one issue (difference) I see right now is that for the DAC we need to set the max amount of channels at startup but that might mainly be a matter of communicating with the soundcard.
<br><br>If we would have public Ugens the whole issue would become moot as you could simply go;<br><br>public Gain bus1 =&gt; blackhole;<br><br>But I wonder how hard that would be to implement. If it were easy we probably wouldn&#39;t have the current situation with static members of public classes....
<br></div><br><br>Yours,<br>Kas.<br></div>