<div dir="ltr">mike;<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">What I mean by that is my conception of a class library<br>

comes from the Smalltalk-style library where everything builds on<br>
everything else. &nbsp;This is great in purely object-oriented languages,<br>
but not so much in Chuck.<br>
</blockquote><div><br>I see what you mean. Still; I feel that things like musicians, instruments, notes, phrases, modular-synth modules all have some &quot;object&quot; properties and it can make a lot of sense to think about them in that way. I also feel these concepts can have varying relations to each other, that it can make sense to group them, order them, sort them, etc, and that we may well like to do those kinds of things to those kinds of objects on the fly.<br>
<br>To me this seems like a natural idea musically and on a structural level. Right now it&#39;s not all that clear how we should do some of this (some of it on the other hand is quite clear... other things are simply hard). I don&#39;t think this is a dead end. Right now your choice to focus on a different perspective is probably a good one but I very much like the idea of &quot;everything building on everything&quot; and we could use more of that. Not to &quot;write Smalltalk in ChucK&quot; as that makes little sense, but if we have a running &quot;musician&quot; object that&#39;s in some way connected to a &quot;instrument&quot; object I want to be able to take it&#39;s instrument away and hand it a new one, I want to be able to hand it a new phrase, to group several such &quot;musicians&quot; into a new &quot;band&quot; datatype...<br>
<br>Currently I can do basically all of that using things like public classes with static members, having VM-wide events through which a &quot;musician&quot; controls his/her &quot;instrument&quot;, that way I can have a lot of OTF control... as long as I know ahead of time what kind of control I will want in the future. If I have created this whole structure and ChucKed a band to a &quot;stage&quot; object and I decide I want musicians to be able to tickle each other I have a problem. Right now the more we create a framework for future freedom the more we define what kind of change is possible due to the nature of classes and public ones not being changeable.<br>
<br><br>Smalltalk aside I think many of the underlying desires behind your attempts here can and do make musical sense; why shouldn&#39;t we have the ability to easily make a list that contains notes, phrases and instrument changes (maybe tickles as well)?&nbsp; Speaking purely for myself I feel that anything that makes musical sense should be expressible in ChucK, preferably in terms that aren&#39;t much more complicated then the intended effect.... Admittedly this is dreaming about a perfect future bound to arrive somewhere after flying cars, true artificial intelligence and Duke Nukem Forever but in the meantime I don&#39;t think we should content ourselves with describing ChucK&#39;s nature as not being capable of some of&nbsp; these structures, more like we haven&#39;t yet found a way to include that kind of functionality into the rest.<br>
<br>Ok, that became quite general and philosophical but I felt compelled to reply to that side to your post. I&#39;ll have a more practical and focussed look at your code in the morning.<br><br>Cheers,<br>Kas.<br></div></div>
<br></div>