[CM] ring-modulate

James Hearon j_hearon at hotmail.com
Tue Jun 4 11:15:26 PDT 2024


Hi,
I'm getting confused over ring-modulate ex. in manual vs. ring-modulate code in new-effects.scm.

Manual: ring-modulate in1 in2    ; returns (* in1 in2)

And new-effects.scm seems to show map-channel using frequency and radians:
(rm-effect rm-frequency #f)) ;(list 0 0 1 (hz->radians rm-radians))

I'm trying to use a reader and apply ring-modulate to the snd.

(with-sound (:play #t)
  (let ((reader (make-readin "mywave.wav")))
    (do ((i 0 (+ i 1)))
        ((= i 602866))
        (let* ((mysnd (readin reader)))
      (outa i (* 0.5 (ring-modulate xxx xxx)))))) ;not sure what it wants here?

But whatever I use as input to ring-modulate I'm not getting close to the new-effects.scm application of Ring modulation which uses frequency and radians.

Wondering where I'm getting confused.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20240604/21930b34/attachment.html>


More information about the Cmdist mailing list