[Stk] Ruby extensions with STK

David Michael david.michael at gmail.com
Wed Dec 5 12:01:45 PST 2007



> I also figured it might work for sinusoids and the like, but I  
> assumed it wouldn't scale very well to more complex computation.
> Keep us posted on what you're able to do with it!
>

This may well be the case, so yes, I will write back with more as  
soon as I figure out what Im doing.

>> What would be really amazing would be a domain specific language  
>> for the STK built off of Ruby for manipulating audio objects, but  
>> I have yet to figure out how one would manage audio streams  
>> between Ruby objects...

> Heh, well actually I think this is pretty much what Chuck is, minus  
> the Ruby...  :-)

Yes true, but as much as I love Chuck, its not a very complete  
language and lacks some very basic things like string manipulation.  
Plus, strong typing still makes it more tedious to work with than I  
would prefer.

Building an audio engine into an existing dynamic language, like  
Ruby, would give access to all the syntax (and libraries) of the host  
language. I think maybe Jsyn works something like this with Java. In  
any case, Ruby is a very well used language right now with tons of  
nice libraries. I suppose also that SuperCollider is kindof this with  
SmallTalk, but it is not really SmallTalk. I have not done nearly  
enough research on audio extensions to other existing languages other  
than C/C++ to know what I am talking about, but there is this one  
already for Ruby;
http://raa.ruby-lang.org/project/ruby-audio/
but it seems that the intent of this library is somewhat different:  
perhaps just audio files (cuz it relies on libsndfile).

D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/stk/attachments/20071205/b67d83a4/attachment.html>


More information about the Stk mailing list