Debugging output when using (send compression-env :answer :next '() ...)

1 message Options
Embed this post
Permalink
Chris Capel

Debugging output when using (send compression-env :answer :next '() ...)

Reply Threaded More More options
Print post
Permalink
When you are using the form (send my-class :answer :next '() ...) in
order to make a new sound sample by sample, you may sometimes not get
the print or format statements you put into the method in your
debugging output. This was vexing me quite a bit today, until I
figured out how to get those messages. What you do is force the entire
sound to be evaluated before returning back to audacity using
SND-LENGTH. Of course, take that out before you publish your plugin;
otherwise, it will fail on large inputs by trying to keep the entire
output in memory.

There you go.

Chris Capel
--
"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)

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist