Page 1 of 2
Playback of imported/recorded files distorted and fast.
Posted: Tue Jun 18, 2013 10:11 pm
by p4ulr33d
This is a tough one to describe, but I'll do my best.
Say I open an mp3 file with Audacity, it imports just fine -- there are no errors, and the wave forms look as they should. But when I press play, Audacity seems to fast forward through the track (at a rate of approximately six times normal speed), but the sound isn't just fast, it's distorted and sounds muffled. (Unfortunately, I can't provide an audio example as I use audacity to capture system sounds.) The playback speed slider is on normal, so it's not that. Similarly, when I record from my soundcard, it works as it should, but when I playback the recorded audio, again, it's too fast and distorted. However, if I export the recorded sound as .wav, and play it back through VLC, the sound is fine. It's normal speed and clear as a bell. My point is, Audacity seems to be working fine. It's capturing sound correctly, it's exporting sound correctly, it's just not playing sound correctly. During playback, if I faff about with the sliders, it tends to crash, too.
I'm currently using Manjaro Linux 0.8.6, Audacity version 2.0.3-2, and am using pulseaudio. (Correctly chosen in the options.)
Any ideas?
Re: Playback of imported/recorded files distorted and fast.
Posted: Tue Jun 18, 2013 10:16 pm
by kozikowski
Say I open an mp3 file
Let's say you didn't. Let's say you opened a compressed type of file such as an AAC or M4A. Audacity doesn't know how to manage those and so it plays them as if they were normal files giving the chipmunk sound.
You can use the FFMpeg software to make Audacity recognize and play many more different file types.
http://audacityteam.org/download/linux
Koz
Re: Playback of imported/recorded files distorted and fast.
Posted: Tue Jun 18, 2013 10:22 pm
by p4ulr33d
Yes, but the issue isn't that I'm having a problem with mp3 files. I simply mentioned mp3 as an example. The problem is with sound playback. If I capture my system sound -- so this is before I've exported the raw sound into any format, compressed or otherwise -- the sound plays fast and distorted.
Re: Playback of imported/recorded files distorted and fast.
Posted: Tue Jun 18, 2013 10:22 pm
by steve
That sounds very strange - I've not come across this problem.
If you only have one sound card installed, there should be options in the record and playback devices in the
Device Toolbar that include (hw:0,0) in their names. Try selecting those, and ensure that no other application is using sound, then see if that works any better.
Re: Playback of imported/recorded files distorted and fast.
Posted: Wed Jun 19, 2013 12:29 am
by p4ulr33d
Just a quickie before bed: after a bit of fiddling, I seem to have developed a rather clumsy workaround. I can record from my soundcard using the default pulseaudio settings, but to play the recording back I have to switch to the sound on my video card (HDMI). I can then play and edit, but if I try to record with HDMI sound, nothing comes through. A bit rough and ready, but it'll work at a push. I just can't work out why I'm having this problem. Generally Audacity works just fine for me. I did a search on the Manjaro forums in case it was an Arch problem, but I couldn't see anything. Will have a twiddle over the next few days and see whether I can come up with anything else.
Thanks for the help so far....
Re: Playback of imported/recorded files distorted and fast.
Posted: Wed Jun 19, 2013 1:32 am
by steve
p4ulr33d wrote: but to play the recording back I have to switch to the sound on my video card (HDMI)
It makes me shudder whenever I read "HDMI" in the same paragraph as anything to do with audio. I've seen so many problems related to HDMI audio, not only on Linux but on Windows too.
Re: Playback of imported/recorded files distorted and fast.
Posted: Wed Jun 19, 2013 8:14 am
by p4ulr33d
In this instance, it's actually pulse audio causing the problems. It's glitch-free mode. When I disable it Audacity keeps crashing and speeding. When I enable it, my overall sound is a bit dodgy. Oh, the agony of choice.
Thanks for the suggestions, guys. Now I know what's wrong, I can at least work on it. I suspect it's un-solveable, but there we go.
Re: Playback of imported/recorded files distorted and fast.
Posted: Sat Sep 14, 2013 12:25 pm
by gwenlune
Hi
Did you find a solution for this problem? I have same one.
Im' on Achlinux 64
Re: Playback of imported/recorded files distorted and fast.
Posted: Mon Sep 16, 2013 1:26 am
by Gale Andrews
gwenlune wrote:Did you find a solution for this problem? I have same one.
Achlinux 64
Try playing at the same sample rate that you record at.
What are the audio devices in Help > Audio Device Info?
If you have pulse, have you installed pulse audio volume control?
In Help > About Audcity, "Build Information", what is the enabled sample rate conversion library?
In the Quality Preferences, try a lower quality converter for the "Real-time" sample rate converter.
Gale
Re: Playback of imported/recorded files distorted and fast.
Posted: Fri Aug 08, 2014 2:08 pm
by kmaliagkas
The problem is in the pulse audio. From a thread I've found that if you start the Audacity with the following command
env PULSE_LATENCY_MSEC=30 audacity
the playback plays correctly