problem playing sound

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
gideon425
Posts: 26
Joined: Fri Aug 22, 2014 8:59 pm
Operating System: Please select

problem playing sound

Post by gideon425 » Tue Sep 23, 2014 3:37 pm

I am using Audacity 2.0.5, installed by the Ubuntu package.
I open any mp3 file and then play it using output device HDA Intel: VT2020 Analog (hw: 0,0).
The sound seems to be at the right speed but is a bit distorted.

However, if I play the mp3 with mplayer, it sounds right

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: problem playing sound

Post by Gale Andrews » Thu Sep 25, 2014 12:24 am

gideon425 wrote:I am using Audacity 2.0.5, installed by the Ubuntu package.
I open any mp3 file and then play it using output device HDA Intel: VT2020 Analog (hw: 0,0).
The sound seems to be at the right speed but is a bit distorted.

However, if I play the mp3 with mplayer, it sounds right
Is it the same noise you complain about in recordings http://forum.audacityteam.org/viewtopic ... 41#p252541 ?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

gideon425
Posts: 26
Joined: Fri Aug 22, 2014 8:59 pm
Operating System: Please select

Re: problem playing sound

Post by gideon425 » Sat Sep 27, 2014 1:02 pm

No, this problem occurs even when I play an mp3 produced by someone else

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: problem playing sound

Post by Gale Andrews » Sat Sep 27, 2014 9:25 pm

We can't see or hear your computer, obviously.

So this noise only occurs playing MP3's in Audacity, right? What device is mplayer playing to?

Is it possible to record the playback noise then post an audio sample ?

Are you using too high a project rate? Sometimes 48000 Hz is best on Linux. Are your Audacity tracks at the same rate as the project rate? Are you using too low a buffer setting in Recording Preferences? That setting affects playback too.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

gideon425
Posts: 26
Joined: Fri Aug 22, 2014 8:59 pm
Operating System: Please select

Re: problem playing sound

Post by gideon425 » Sun Sep 28, 2014 1:08 am

okay I changed "Audio to buffer" to 200 and it now plays correctly.

Is that a reasonable approach?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: problem playing sound

Post by Gale Andrews » Sun Sep 28, 2014 1:43 am

gideon425 wrote:okay I changed "Audio to buffer" to 200 and it now plays correctly.

Is that a reasonable approach?
Anything that works is reasonable if it has no bad consequences elsewhere. You don't need to worry about Audio to buffer being higher as long as you are not doing overdub recordings in Audacity or as long as you aren't streaming the Audacity recording to your SIP client for your show.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

gideon425
Posts: 26
Joined: Fri Aug 22, 2014 8:59 pm
Operating System: Please select

Re: problem playing sound

Post by gideon425 » Sun Sep 28, 2014 10:26 am

I am not doing overdubbing or streaming. So this looks like a good solution.
Thank you for the assistance

gideon425
Posts: 26
Joined: Fri Aug 22, 2014 8:59 pm
Operating System: Please select

Re: problem playing sound

Post by gideon425 » Sun Sep 28, 2014 1:32 pm

Is the reason I need to set this to 200 a known bug? Is it worth investigating?

Assuming I keep this setting, is it possible to combine two mp3s using audacity into a single file which has the sound of both combined?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: problem playing sound

Post by Gale Andrews » Mon Sep 29, 2014 1:39 am

gideon425 wrote:Is the reason I need to set this to 200 a known bug?
If you had it set to something unreasonable like 20 before, no it's not a bug. We have not heard the problem for ourselves so we don't know what it is.
gideon425 wrote:Assuming I keep this setting, is it possible to combine two mp3s using audacity into a single file which has the sound of both combined?
The "Audio to buffer" setting is not likely to be relevant to that unless you are importing a large number of tracks stacked on top of each other.

If you mean you want the files to play mixed together, that happens anyway. If you are trying to join the files end-to-end, see http://manual.audacityteam.org/o/man/fa ... .html#join. If you are joining the files and no other editing, you should not even do it in Audacity because you will have the quality loss of re-encoding the file. Use something like Mp3Wrap instead, which joins MP3 files losslessly.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply