Fwd: ruby-clm

From: David L.
Sent on: Tuesday, January 29, 2008 11:48 AM
looks like this message didn't come through the first time, so I'm  
sending it again.

seems like my intended work with ruby-clm is basically already done! :)
I'll report back when I have generated some audio examples.

-David

Begin forwarded message:

> From: Michael Scholz <[address removed]>
> Date: January 25, 2008 5:35:18 AM PST
> To: David Lowenfels <[address removed]>
> Subject: Re: ruby-clm
>
> Hi, David!  Thanks for your interest in Snd/Ruby.
>
>> I'm excited to see that I could generate audio with ruby. How does
>> this fit in with Snd?
>
> If you configure Snd with ./configure --with-ruby, you will end up
> with a new Snd program using extension language Ruby.  You can type in
> Ruby/CLM/Snd commands in the Snd listener, eg:
>
>   x = 1 + 2
>   os = make_oscil
>   os.call(0, 0)
>   os.frequency = 330
>
> etc.  There exists a bunch of *.rb files which are mainly translations
> of the corresponding Scheme files.  Snd's documentation tries to show
> the similarities between Scheme and Ruby Snd/CLM code.
>
>> Is it possible to run ruby-clm outside of snd?
>
> Get the file ftp://ccrma-ftp.stan­ford.edu/pub/Lisp/sn­dlib.tar.gz and
> configure it with ./configure --with-ruby.  If you install sndlib.so
> in ${RUBY_SITE_ARCHLIB}­ you will be able to require it like all other
> libraries with 'require "sndlib"'.  The contents of sndlib is nearly
> the same like Lisp CLM which is described in snd/sndclm.html.  A few
> *.rb files are included in sndlib.tar.gz which may help a little.
>
> If you have more question please don't hesitate to ask them by email,
> or even through the clm mailing list.
>
> Mike

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy