[CM] moving-autocorrelation
James Hearon
j_hearon at hotmail.com
Thu Dec 4 09:28:30 PST 2025
Hi,
I'm struggling with trying to view data returned from make-moving-autocorrelation. The manual indicates data is available from mus-data, but I'm only seeing zeros if I'm doing that correctly. Moving-pitch, etc. work fine. Just can't seem to see anything from moving-autocorrelation.
Regards,
Jim
(let* ((n 512)
(hop 128)
(ac (make-moving-autocorrelation (make-readin "/oboe.snd") n hop ))
(mydata (make-float-vector hop))
)
(format #t "mus-data:\n")
(let* ((data (mus-data ac))
(len (length data)))
(format #t "length data: ~A\n " len )
(set! mydata (mus-data ac))
(do ((i 0 (+ i 1)))
((= i hop))
(format #t "~A ~0,12F\n " i (mydata i) ) )))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20251204/0a17fd86/attachment.html>
More information about the Cmdist
mailing list