Terrific, thanks leland! - since I hadn't worked with setting Nyquist labels before, I interpreted Alex Brown's silencemarker plug-in as using samples. I'll change it to use milliseconds instead and hear how that works.
No, I didn't realize that Nyquist functions remained active after a single use in a plug-in. In the stand-alone version of Nyquist this is normal behavior, but I would consider it unreliable to count on it for Audacity users.
And that's weird behavior about the s3 function somehow becoming unbound - when that happens for any function the plug-in stops working, gives a Nyquist error message, and doesn't return audio (for a generator), or doesn't
process the loaded audio (for an effect plug). Thanks again! David -- David R. Sky http://www.shellworld.net/~davidsky/ On Sat, 23 Jun 2007, Leland wrote:
Hi David, Well, I learned way more lisp than I ever wanted to. :-) The problem was that you were dealing with samples and the labels wanted milliseconds. I changed the plug-in, but you may want to go over it well since this is the first time I've actually tried doing anything with lisp. Well...almost the first time. I did take a look at your morse2 problem and I'm at a complete loss there. I have the same behavior as you with the first run failing after processing the first 2 characters and the second completing normally. What I did find was that the s3 function was getting unbound somehow after it was used the second time. I spent most of last night thing it was garbage collection, but I simply couldn't find where the problem was occurring. I compared our version of nyquist (2.29) with the latest and there's not many changes to the lisp interpreter and none that looked like it would cause the problem. I'll bring it up on the devlers list here pretty soon. BTW: Did you know you could define a function in one plug-in and use that function in a completely different plug-in? The environment isn't cleaned up complete between runs and leaves functions and the like defined. Leland
The audacity4blind website is at http://users.northlc.com/sberry/ Subscribe and unsubscribe information, message archives, Audacity keyboard commands, and more... To unsubscribe from audacity4blind, send an email to audacity4blind-request@xxxxxxxxxxxxx with subject line unsubscribe