Re: [Audacity-nyquist] gate function - error in manual?
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Roger D. <rb...@cs...> - 2009-05-31 21:36:44
|
It looks to me like noise-gate is incorrectly implemented, but the documentation, snd-gate, and gate are all correct. Note that snd-gate and gate do not have the same parameter order. I'm guessing that I thought the order of parameters in gate was more logical than in snd-gate and ony "fixed it" in the dspprims.lsp code, but neither seems especially natural or logical to me now. Steve, when you said "it looks to me like," is that because you read snd-gate or gate.alg instead of gate, or is there something I'm missing? My conclusion is that noise-gate has a bug (parameter order in the call to gate), but gate and snd-gate are correctly implemented and documented. -Roger Leland wrote: > Steve wrote: > >> There appears to be an error in the Nyquist manual regarding the syntax >> for the gate (and snd-gate) functions, or is this just a peculiarity of >> Audacity? >> >> The manual states (v.2.37 and 3.02): >> "(gate sound floor risetime falltime lookahead threshold)" >> >> but it looks to me like the correct syntax should be: >> (gate sound lookahead risetime falltime floor threshold) >> >> Can anyone confirm this? >> > > You are correct...from the nyquist source: > > (GATE-ALG > > (NAME "gate") > > (ARGUMENTS ("sound_type" "signal") ("time_type" "lookahead") ("double" > "risetime") > ("double" "falltime") ("double" "floor") ("double" > "threshold")) > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Audacity-nyquist mailing list > Aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-nyquist > > |