Re: [Audacity-devel] PC/Linux sanity check for OD loading
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Gale A. <ga...@au...> - 2009-10-07 04:34:46
|
| From Al Dimond <bus...@gm...> | Tue, 6 Oct 2009 17:46:41 -0600 | Subject: [Audacity-devel] PC/Linux sanity check for OD loading > On Tuesday 06 October 2009 17:24:03 Michael Chinen wrote: > > Sorry, I forgot to mention the files should be at least 30 seconds > > @44.1kHz long, otherwise the old method of aliased block files is > > used. Sorry you had to wait for 30 minutes. If Audacity hangs for > > more than 30 seconds when you load files this way, you should force > > quit and let me know. Thanks, > > > > > Thanks for checking Al. If you or anyone else would like to give it > > > another test, I've just checked in something that might fix it. > > > The problem seems to be that the wait behavior for condition variables > > > seems to be quite different for wx and pthread. I'm waiting for > > > feedback on the wx-users list right now to figure out what the best > > > solution is. > > > Sorry all for the break, and if its not fixed soon (a day and a half,) > > > I'll revert it back to the old code. > > > > > > Michael > > > > This time it worked perfectly, with three stereo .wavs, each a little more > than a minute long. Hi Michael I tested it just now on Win XP, after updating to the latest 1.31 version of ODManager.cpp. I tried with three 5-minute 44100 Hz WAVs, dragged in together, then closed the project and dragged them in individually instead. There is no real hang or excessive CPU use in terms of Audacity being unresponsive, but the waveform calculation never completes after import. At best (when importing a single file), I got the first minute calculated. To view the waveform, I had to amplify it. Note this always shows the required "Amplification (dB)" as 0.0 irrespective of the actual volume of the track, and doesn't actually apply any amplification. Amplification seems correct if redone (I assume this is all expected given no calculation was done). It isn't possible here to quit Audacity without force-quitting, once an OD file has been imported. I *can* clear to an empty project by unchecking "Closing last window quits... " in Preferences. The Status Bar message correctly reflects the % of waveform that has been calculated (disappearing after Amplify has completed the calculation). The quoted number of on-demand waveform calculations seems to be more than one per track after your change. One five-minute track reported 7 calculations when I imported it on its own. After clearing to an new project and importing a similar file, there were only 2 calculations going on for that file. Can you explain a bit more about that, because the Manual would be affected by this. NB I have built into an empty directory, so am confident of the result. Gale |