[CM] Working with channels in Snd

Bill Schottstaedt bil@ccrma.Stanford.EDU
Tue, 16 Mar 2004 04:23:29 -0800


 > How would I go about
 > creating a single sound with two different channels - right and left - each
 > with the same (or maybe even different) waveforms?

This is most easily handled via "outb" -- the "outa"
call in your instrument sends its data to channel 0.
Then, make sure your output has 2 channels:

(with-sound (:channels 2) ...)

 > BTW, I've actually been looking for answers to my questions in the
 > documentation and .scm files, but I don't see the relevant sections.

see clm.html#ina-outa and various Snd-related examples
in clm-ins.scm.