[CM] Simple oscillator?

Jeff Sandys jpsandys at gmail.com
Mon May 17 19:58:49 PDT 2010

Thanks for all of your replies.

So for CM and SND, when you use with-sound you are creating a wave file to
be later played,
the sound generated can not be directed to a real time output with JACK.

In the reich.sal example one version says: this plays the example in real
time out your midi port,
and the other says: this generates the example to a file called reich.mid in
your home directory.
Is the first version really real time, sending each note on one at a time,
or does it just send the
whole midi sequence all at once?

I see that some of the Perry Cook instruments are available in the Grace

Does the stalin based snd-rt connect to JACK and read midi inputs?
If so I'll have to give it a try.

Thanks, Jeff Sandys

On Sat, May 15, 2010 at 4:50 AM, Heinrich Taube <taube at uiuc.edu> wrote:

> Can you show me an example of the CM code to make a one second 440 hertz
>> sine tone?
> its not cm code, its sndlib/clm. here is a 1 second tone
> (with-sound ()
>  (let ((osc (make-oscil 440)))
>    (loop for i below 44100 do (outa i (* .1 (oscil osc))))))
> You have access to tons of CLM instruments that you can try out and learn
> from, just use the menu
> Audio>Instrument Browser  (Command-I)  to open the instrument browser.
> On May 14, 2010, at 9:24 PM, Jeff Sandys wrote:
>  I have used CM and Grace to make MIDI sequences and playing them thru
>> qsynth.
>> But doesn't SND have oscillators?
>> Can you show me an example of the CM code to make a one second 440 hertz
>> sine tone?
>> Is Perry Cook's Synthesis Toolkit (STK) programmable with SND or CM?
>> Thanks,
>> Jeff Sandys
>> _______________________________________________
>> Cmdist mailing list
>> Cmdist at ccrma.stanford.edu
>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20100517/4ae1346f/attachment.html 

More information about the Cmdist mailing list