Re: [Audacity-nyquist] snd-average does not work
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Faisal ... <fmo...@gm...> - 2006-01-10 20:26:15
|
Hello Listers Thanks for your feedback so far but I am still having problems. I am using Audacity 1.2.3 build 17-Nov-2004, forgot to mention in previous email. When I type the following in the Nyquist Prompt: snd-avg s 213 213 OP-AVERAGE This is what I get: *error: unbound variable - SND-AVG if continued: try evaluating symbol again 1> #(#<Sound: #27523a0> #<Sound: #2752628>) 1> 213 1> 213 1> 1 1> [ gc: total 18640, 3675 free; samples 1KB, 0KB free ]* And I could not debug my plugin so I modified it slightly so that I can do so. Here is the code: *;nyquist plug-in ;version 1 ;type process ;name "sound averager" ;action "sound averager" ;info "By Faisal Mooraby" ;control blk "Block Size" real "" 100.0 0.0 10000.0 ;; Note: this effect will use up memory proportional to ;; delay * count, since that many samples must be buffered ;; before the first block is freed.* *snd-avg s blk blk OP-AVERAGE * and that's what I get from the debuging output: *error: bad argument type - #(#<Sound: #27523a0> #<Sound: #2752628>) Function: #<Subr-SND-AVG: #f11970> Arguments: #(#<Sound: #27523a0> #<Sound: #2752628>) 213 213 1 1> [ gc: total 18640, 3674 free; samples 1KB, 0KB free ] * Again, I appreciate your help. Faisal Mooraby On 1/10/06, David R. Sky <dav...@sh...> wrote: > > I had completely missed Faisal's three examples. > > A simpler way to get error messages to the list is with copy and > paste. control+a control+c doesn't work in the Nyquist results box > in Windows however, so open the context menu shift+f10, click on > 'select all', then re-open the context menu and click on 'copy'. > Then you can open Notepad or your email program and use control+v > to paste the clipboard into your document. This is assuming of > course that you are using Windows. > > David > > Alex wrote: Focus on your first try; it should work. If it fails, > be sure to try clicking the "Debug" button and writing down what > you see. If there are any error messages, they might help you. If > you post them here, we may be able to help you, too! > > --Alex > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Audacity-nyquist mailing list > Aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-nyquist > -- Faisal Mooraby |