[CM] tap fixed - patch to tankrev.scm

bil at ccrma.Stanford.EDU bil at ccrma.Stanford.EDU
Tue Nov 1 07:24:58 PDT 2016


After the expansion, you have
     (let ((FS 29761)) (round (* (/ *clm-srate* FS) smpl)))
at a dozen or more places.  The optimizer can probably get rid of the 
let,
but it is unhappy about *clm-srate*.  It can't be certain it's 
compatible
with round, or that it's constant during the loop (the latter is doable
in the best-of-all-worlds, and the former perhaps by wrapping the loop
in (when (real? *clm-srate*) (do...))).  (complex *clm-srate* would mean
at least complex phase increments and output, so you'd generate a 
4-dimensional
output -- 2-dimensional time makes me smile, but I can't immediately
think of a musical application.  And, sadly, dumb generators like
oscil and delay currently assume their inputs are "real" = floats).

The new version of tankrev is in the cvs area, and, unless I messed
up the script, also in the daily tarball, snd-17.tar.gz at ccrma-ftp.



More information about the Cmdist mailing list