Playback is at uneven rate

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Locked
SaberCat
Posts: 8
Joined: Sat Mar 19, 2011 5:59 pm
Operating System: Please select

Playback is at uneven rate

Post by SaberCat » Thu Mar 24, 2011 5:22 pm

Hi,
I am using a Blue Snowball mic on Ubuntu 10.04 and Windows 7 systems and running Audacity 1.3.12-beta on Dell Inspiron 570 desktop and 1501 laptop machines. I have noticed variation in the playback of recorded audio. It seems to speed up occasionally (without an increase in pitch) and then return to normal. I am recording piano audio so I ran a test in which I played each note on the keyboard at a constant rate starting at the base end. I also played middle C three times to mark it. I have attached a .wav file of the results. Notice that middle C is to the right of the middle of the time line and that the output rate increases as the upper notes are played back (I played them all at the same rate -- as best I could), but the pitches of those notes are correct. I tried this experiment on both machines running Ubuntu and on the Dell 570 running under Windows 7 (using the Audacity beta for that OS) and got the same results. Humm... I wonder what's going on? I looked through the FAQs and didn't see anything that relates to this. I'm new to Audacity so I may not have it set up right...

Thanks...

By the way, as you can tell from the .wav file, this mic has very good fidelity. It is specked at 35Hz to 18kHz. In the low end that's about six keys from the bottom of a piano keyboard, but the recording indicates that it works well all the way down. The upper key is around 4kHz so that's easily covered -- with room to spare for higher pitched instruments.

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: Playback is at uneven rate

Post by bgravato » Thu Mar 24, 2011 11:24 pm

There's not attachments in your post...

How big was the wav? You can only upload up to 1MB I think. Files bigger than that you'll have to upload to somewhere else (megaupload, zshare, mediafire, etc. pick your favourite).

BTW, advertised specs usually don't mean a thing... you can't usually measure the quality of equipment solely by its advertised specs... Even if the claim those freqs it doesn't mean you'll get an accurate response through all the freq range.
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

SaberCat
Posts: 8
Joined: Sat Mar 19, 2011 5:59 pm
Operating System: Please select

Re: Playback is at uneven rate

Post by SaberCat » Fri Mar 25, 2011 5:25 pm

Hi again,
I removed the start of the file. It now runs from middle C up and is now under 687 KB. I will attach it. The playback audio speeds up as it approaches the end. I'm sure I didn't play it that fast (my fingers can't move that fast!).
Attachments
pianoScan.wav
(686.56 KiB) Downloaded 107 times

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: Playback is at uneven rate

Post by bgravato » Fri Mar 25, 2011 10:20 pm

Do you have Sound Activated Recording on? (Transport menu)
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

SaberCat
Posts: 8
Joined: Sat Mar 19, 2011 5:59 pm
Operating System: Please select

Re: Playback is at uneven rate

Post by SaberCat » Sat Mar 26, 2011 3:13 pm

Yes, I have sound activated recording on. I think I will try the ALSA arecord and aplay programs this afternoon to see if I see the same thing. Maybe its the mic -- although that's hard to believe. It shouldn't care about what it is sampling. Anyway, it may be a way to isolate the problem...

SaberCat
Posts: 8
Joined: Sat Mar 19, 2011 5:59 pm
Operating System: Please select

Re: Playback is at uneven rate

Post by SaberCat » Sat Mar 26, 2011 4:48 pm

OK, I tried the same experiment with and without Sound activated Recording (SAR). Without SAR the playback rate was fine; with it, I got the indicated playback rate increase. To avoid the attachment size constraint I will attach the .wav file for the one without SAR (pianoScanWO_SAR.wav) to this post. Then I will send another post with the one with SAR (pianoScanW_SAR.wav). So it looks like the problem has something to do with SAR...
Attachments
pianoScanWO_SAR.wav
(836.08 KiB) Downloaded 96 times

SaberCat
Posts: 8
Joined: Sat Mar 19, 2011 5:59 pm
Operating System: Please select

Re: Playback is at uneven rate

Post by SaberCat » Sat Mar 26, 2011 4:50 pm

I have attached the .wav file for the recording with SAR to this post. Hope this is helpful...
Attachments
pianoScanW_SAR.wav
(660.08 KiB) Downloaded 92 times

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Playback is at uneven rate

Post by steve » Sun Mar 27, 2011 3:23 pm

Sound Activated Recording should be off (not selected).

When SAR is enabled it will automatically pause whenever the audio level drops below the threshold value. This is what is causing some of your notes to be cut short, and so speeding up the playback.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: Playback is at uneven rate

Post by bgravato » Sun Mar 27, 2011 10:08 pm

Sorry for the late reply. Tour problem is that you have sound activated recording. There's no speeding up. Like steve said, what happens is that with SAR the recording pauses when it goes below a certain threshold... High pitched notes have a faster drop in volume, so it stops sooner.

Why do you have SAR on? It should be off.
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

SaberCat
Posts: 8
Joined: Sat Mar 19, 2011 5:59 pm
Operating System: Please select

Re: Playback is at uneven rate

Post by SaberCat » Mon Mar 28, 2011 2:16 pm

Hi again,
Thanks for the reply. I had SAR on so I would have time to get from my computer to the piano. But that's not a big deal. I can always remove the startup interval. Thanks for clarifying all this! I will run from now on with SAR off. It works fine for me that way. This is a fine tool. I appreciate you making it available...

Locked