On 5/11/06, Alex S. Brown <alexsbrown@...> wrote:
> > On 5/11/06, Chris Capel <pdf23ds@...> wrote:
> > > The distributed nyquist core library seems to be missing many of the
> > > snd-* functions, (specifically, the ones under "signal operations" in
> > > the documentation). This causes included functions that use them, lik=
> > > S-ABS for instance, to be non-functional.
> > >
> > > This appears to still be the case in 1.2.4b.
> > On further inspection, it appears the snd-* functions aren't meant to
> > be included in the lisp files. So it might behoove me to include a bit
> > more detail:
> > S-ABS doesn't work, returning an error saying that SND-ABS is not
> > defined. (Unbound function.) I've confirmed this in 1.2.4b.
> Then it complained that the ROUND function was undefined. I went into
> Nyquist and found that it was in the base LSP files for Nyquist but not
> Audacity. I then pasted the definition of the ROUND function into my code=
> before including the compression library, and everything ran without a
Actually, I've had the same problem with ROUND when using some other
function, and I ended up doing something similar--defining ROUND as
TRUNCATE. Close enough.
But SND-ABS is actually defined as ALG and C under
lib-src/libnyquist/tran/abs.c. It's supposed to be a lisp function
with C implementation, but it isn't getting compiled and included. It
wasn't in the Makefile for some reason. I added it.
Also, SND-SQRT and two of the three variants for alpass. ALPASSVV
wouldn't compile because it referenced a function MIN that I couldn't
find defined anywhere. So I left it out.
"What is it like to be a bat? What is it like to bat a bee? What is it
like to be a bee being batted? What is it like to be a batted bee?"
-- The Mind's I (Hofstadter, Dennet)