[chuck-users] Music created from a chuck example

Graham Coleman gc at gehennom.net
Sat Mar 3 03:14:34 EST 2007

On Tue, 27 Feb 2007, Scott Wheeler wrote:

> garton at columbia.edu wrote:
>> I also added a few additional functions (and renamed "main()" to 
>> "chuck-main()" or something like that) [...]
> I also did the same in a project that I'm currently hacking on.  This
> might be something that would make sense in the authors might consider
> for a future version:  installing ChucK as a shared library with the
> executable as a very thin wrapper around the lib.  That would make
> things easier on those of us that are messing around with integrating
> ChucK into other environments and might make sense for miniAudicle as well.

Yes yes yes yes yes yes.

In my case, I had to comment out the main vm->run() loop in favor of
spawning a new thread of vm_cb. And getting rid of the "exit" calls.

What is the best way to incorporate our lib-friendly changes into
the main chuck sources?


More information about the chuck-users mailing list