<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I think I've had a basic misunderstanding re: re stereo and using out such as outa, outb, outc, outd. It seems to sum rather than provide discrete outs?&nbsp; I'm just checking I'm not going bonkers looking at the fft of the output signal.&nbsp; I know locsig works differently<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
ex.1 results in 880 hz on a and b, but would expect 440 on a and 440 on b.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
(with-sound (:play #f :channels 2)
<div>&nbsp; (let ((gen (make-oscil 440.0)))</div>
<div>&nbsp; &nbsp; (do ((i 0 (+ i 1)))</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; ((= i 48000))</div>
<div>&nbsp; &nbsp; &nbsp; (outa i (* 0.5 (oscil gen)))</div>
<div>&nbsp; &nbsp; &nbsp; (outb i (* 0.5 (oscil gen)))</div>
&nbsp; &nbsp; &nbsp; )))</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
ex.2 but to have have the same signal on both channels I need to use 2 gens?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
(with-sound (:play #f :channels 2)
<div>&nbsp; (let ((gen (make-oscil 440.0))</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (gen2 (make-oscil 440.0)))</div>
<div>&nbsp; &nbsp; (do ((i 0 (+ i 1)))</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; ((= i 48000))</div>
<div>&nbsp; &nbsp; &nbsp; (outa i (* 0.5 (oscil gen)))</div>
<div>&nbsp; &nbsp; &nbsp; (outb i (* 0.5 (oscil gen2)))</div>
&nbsp; &nbsp; &nbsp; )))</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Or how do you best do stereo using out? <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
This seems to sum as well.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
(with-sound (:play #f :channels 2)
<div>&nbsp; (let* ((gen (make-oscil 440.0))</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (gen2 gen))</div>
<div>&nbsp; &nbsp; (do ((i 0 (+ i 1)))</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; ((= i 48000))</div>
<div>&nbsp; &nbsp; &nbsp; (outa i (* 0.5 (oscil gen)))</div>
<div>&nbsp; &nbsp; &nbsp; (outb i (* 0.5 (oscil gen2)))</div>
&nbsp; &nbsp; &nbsp; )))<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Jim<br>
</div>
</body>
</html>