Andrew4096 wrote:I'm running Ubuntu Linux 10.04 LTS "Lucid Lynx". The Lucid Lynx repository offers only Audacity 1.3.12-2. I recall seeing on the Audacity site that the 1.x series is no longer supported, and since I was seeing various issues with it went looking for a 2.x release in .deb format that I could install. Not being able to readily find a .deb installer backport for Ubuntu 10.04, I decided to try compiling in place from source code, which I succeeded in doing. At the moment I'm not quite sure how I ended up with Audacity 2.0.3-alpha-Sep 12 2012, except that it came from the Audacity site.
As a binary, it did not come from
http://audacityteam.org/ .
There is a bug open that alleges the reverse case (records too slow, but the difference is again explained by the ratio between 44100 Hz and 48000 Hz):
http://bugzilla.audacityteam.org/show_bug.cgi?id=585 .
I'm quite sceptical at the moment because another audio recording application on his machine has the same fault (and I cannot reproduce the problem yet on an Ubuntu 12.04 netbook but I have not tried hard as I use Windows for actual work).
Have you tried Ardour or some other recording app? If the sound device is recording (or playing) at the wrong clock speed, then Audacity will do so. Retest in Audacity after quitting Audacity and deleting audacity.cfg as Steve suggests.
Can you also post the information from Help > Audio Device Info as that may show some light on the rates PortAudio thinks your device supports.
Now, the bug reporter's apparent workaround to record at the correct length is:
1) Set Project Rate to 48000
2) Tracks -> Add New -> Stereo Track
3) Set Project Rate to 44100
4) Record
He says simply launching Audacity, setting the project rate to 48000 Hz rather than 44100 Hz then recording does not help (nor should it with a correctly functioning device that supports both rates).
But if the workaround works, that worries me a little (making the same assumption about the device). 48000 Hz project rate should record at 48000 Hz and the same length into a new track, whether a track is present at another rate or not.
I wonder if he means he is append-recording into the same track (SHIFT + R)? And what should happen in that case? In current HEAD (Windows or Linux), if the project rate exceeds the track rate, append recording sees the cursor move at the correct speed, but the recorded waveform gets in advance of the cursor so records an excessive length. The reverse is true (recording too short) if the project rate is less than the track rate being recorded into. This isn't new - it exists in 1.3.6 too.
This is not an issue for me on Windows or Linux if I record into a new track at a project rate different to that of an existing track on the screen.
Leaving that to one side for now, can you please test what happens if you try the workaround suggested in the bug report, but in reverse:
1) Set Project Rate to 44100
2) Tracks > Add New > Stereo Track
3) Set Project Rate to 48000
4) Record
Do you record at the correct speed?
Gale