Thanks for all of your replies.<br><br>So for CM and SND, when you use with-sound you are creating a wave file to be later played, <br>the sound generated can not be directed to a real time output with JACK.<br><br>In the reich.sal example one version says: this plays the example in real time out your midi port,<br>
and the other says: this generates the example to a file called reich.mid in your home directory.<br>Is the first version really real time, sending each note on one at a time, or does it just send the <br>whole midi sequence all at once?<br>
<br>I see that some of the Perry Cook instruments are available in the Grace browser.<br><br>Does the stalin based snd-rt connect to JACK and read midi inputs?<br>If so I&#39;ll have to give it a try.<br><br>Thanks, Jeff Sandys<br>
<br><div class="gmail_quote">On Sat, May 15, 2010 at 4:50 AM, Heinrich Taube <span dir="ltr">&lt;<a href="mailto:taube@uiuc.edu">taube@uiuc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Can you show me an example of the CM code to make a one second 440 hertz sine tone?<br>
</blockquote>
<br></div>
its not cm code, its sndlib/clm. here is a 1 second tone<br>
<br>
(with-sound ()<br>
 (let ((osc (make-oscil 440)))<br>
    (loop for i below 44100 do (outa i (* .1 (oscil osc))))))<br>
<br>
<br>
You have access to tons of CLM instruments that you can try out and learn from, just use the menu  <br>Audio&gt;Instrument Browser  (Command-I)  to open the instrument browser.<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On May 14, 2010, at 9:24 PM, Jeff Sandys wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
I have used CM and Grace to make MIDI sequences and playing them thru qsynth.  <br>But doesn&#39;t SND have oscillators?<br>
Can you show me an example of the CM code to make a one second 440 hertz sine tone?<br>
Is Perry Cook&#39;s Synthesis Toolkit (STK) programmable with SND or CM?<br>
Thanks,<br>
Jeff Sandys<br></div></div>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu" target="_blank">Cmdist@ccrma.stanford.edu</a><br>
<a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist" target="_blank">http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
</blockquote>
<br>
</blockquote></div><br>