Re: [Audacity-nyquist] Where does division by zero occur in this code?
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: David R. S. <dav...@sh...> - 2006-08-05 05:57:46
|
There wasn't a problem with my code Steve - it was the way I created a stereo track in audacity! *groan* I thought that first creating a stereo track under project menu, then generating a tone would create a stereo track. (The screen did indicate "stereo"). However, when applying the plug to that signal, I did get the 'division by zero' msg. I needed to do a 'quick mix' after the above - i.e., there was indeed one channel with a signal, the other channel had none, which seems to have created the zero x value. The code works, it just needs numeric tweaking... Thanks! David On Fri, 4 Aug 2006, Steven Jones wrote: > I'm Sorry, I should have been more explicit. What I meant was could x > be zero? If the selected audio has zero amplitude normalize will > fail. |