Output levels distorted after restarting audacity

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.
BlueRain508
Posts: 12
Joined: Mon Nov 02, 2015 9:47 pm
Operating System: Please select

Output levels distorted after restarting audacity

Post by BlueRain508 » Mon Nov 02, 2015 9:54 pm

Hey everyone, I'm new here so I could be making a newb error lol. Everything had been going relatively smoothly for a few weeks until I restarted my computer and audacity one day only to find that everything that I recorded sounded really distorted. I noticed if I moved the bass all the way down and the trebel all the way up, it would almost sort of fix the disortion, but it would throw the quality of the track completely off. I tried adjusting the sound controls in alsamixer, no luck there. If I move the gain down, it helps somewhat, but it just makes it sound too quiet, and doesn't take the disortion away completely anyway. Even if I open a new project I still get the same distortion. Do any of you have any ideas why this would happen all of a sudden and what I can do about it? I'm using xfce4 if that helps at all.

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

Re: Output levels distorted after restarting audacity

Post by steve » Tue Nov 03, 2015 2:21 am

Does your computer sound system use PulseAudio?
BlueRain508 wrote:I'm using xfce4
Which Linux distribution?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

BlueRain508
Posts: 12
Joined: Mon Nov 02, 2015 9:47 pm
Operating System: Please select

Re: Output levels distorted after restarting audacity

Post by BlueRain508 » Tue Nov 03, 2015 3:55 am

steve wrote:Does your computer sound system use PulseAudio?
Honestly I'm not sure. Is there a way to find out? I'm completely new at this whole Linux thing. I really only downloaded Linux so I could use audacity since it's not compatible with Chromebook.
steve wrote:Which Linux distribution?
Ubuntu I believe.

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

Re: Output levels distorted after restarting audacity

Post by steve » Tue Nov 03, 2015 12:47 pm

So you're running some version of Linux on a Chromebook with XFCE desktop?

Could you enter this command into a terminal window, and tell us what the output is:

Code: Select all

lsb_release -a
and then

Code: Select all

pulseaudio --version
then open Audacity and look in "Help > About Audacity" for the full version number of Audacity.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

BlueRain508
Posts: 12
Joined: Mon Nov 02, 2015 9:47 pm
Operating System: Please select

Re: Output levels distorted after restarting audacity

Post by BlueRain508 » Tue Nov 03, 2015 11:17 pm

steve wrote:So you're running some version of Linux on a Chromebook with XFCE desktop?
Yes.
steve wrote:Could you enter this command into a terminal window, and tell us what the output is:

Code: Select all

lsb_release -a
lsb_release: error: No arguments are permitted
(precise)[email protected]:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
steve wrote:and then

Code: Select all

pulseaudio --version
bash: pulseaudio: command not found
steve wrote:then open Audacity and look in "Help > About Audacity" for the full version number of Audacity.
Audacity 2.1.1-alpha-Apr 8 2015

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

Re: Output levels distorted after restarting audacity

Post by steve » Wed Nov 04, 2015 12:20 pm

Please note that I have never tried running Linux on a Chromebook.
I am trying to work out how the audio system is configured on your machine so that I can try to help.

In Audacity, select "Help > Audio Device Info".
Copy and paste the full output into your reply.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

BlueRain508
Posts: 12
Joined: Mon Nov 02, 2015 9:47 pm
Operating System: Please select

Re: Output levels distorted after restarting audacity

Post by BlueRain508 » Wed Nov 04, 2015 2:08 pm

steve wrote:Please note that I have never tried running Linux on a Chromebook.
I am trying to work out how the audio system is configured on your machine so that I can try to help.

Thank you, I appreciate it!
steve wrote:In Audacity, select "Help > Audio Device Info".
Copy and paste the full output into your reply.

Code: Select all

==============================
Default recording device number: 1
Default playback device number: 1
==============================
Device ID: 0
Device name: cras
Host name: ALSA
Recording channels: 2
Playback channels: 2
Low Recording Latency: 0.011610
Low Playback Latency: 0.011610
High Recording Latency: 0.046440
High Playback Latency: 0.046440
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
==============================
Device ID: 1
Device name: default
Host name: ALSA
Recording channels: 2
Playback channels: 2
Low Recording Latency: 0.011610
Low Playback Latency: 0.011610
High Recording Latency: 0.046440
High Playback Latency: 0.046440
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
==============================
Selected recording device: 1 - default
Selected playback device: 1 - default
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
Unable to open Portmixer
Last edited by Gale Andrews on Thu Nov 05, 2015 5:23 am, edited 1 time in total.
Reason: wrapped audio device info in code tags for readability

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

Re: Output levels distorted after restarting audacity

Post by steve » Wed Nov 04, 2015 2:56 pm

It appears that Chromebooks have a unique audio device setup. https://www.chromium.org/chromium-os/ch ... dio-server

What exactly are you trying to record?
Are you able to adjust the recording level so that you get a signal in Audacity that is about half the track height? If so, please make a short test recording and export a few seconds in WAV format and attach the file to your reply (see here for detailed instructions: http://forum.audacityteam.org/viewtopic ... 49&t=72887)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

BlueRain508
Posts: 12
Joined: Mon Nov 02, 2015 9:47 pm
Operating System: Please select

Re: Output levels distorted after restarting audacity

Post by BlueRain508 » Thu Nov 05, 2015 12:25 am

steve wrote:It appears that Chromebooks have a unique audio device setup. https://www.chromium.org/chromium-os/ch ... dio-server
Haha yeah, Chromebooks are definitely a pain.
steve wrote:What exactly are you trying to record?
I'm trying to record vocals on top of a beat that I imported.
steve wrote:Are you able to adjust the recording level so that you get a signal in Audacity that is about half the track height? If so, please make a short test recording and export a few seconds in WAV format and attach the file to your reply (see here for detailed instructions: http://forum.audacityteam.org/viewtopic ... 49&t=72887)
Ok here it is. I think I did it correctly.
Attachments
ForumSample.wav
(117.04 KiB) Downloaded 26 times

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

Re: Output levels distorted after restarting audacity

Post by steve » Thu Nov 05, 2015 2:08 am

Here's the problem. See how the waveform has a "notch" in it where it briefly goes to the centre line. I've highlighted one, and there is another one visible a little earlier.
firsttrack000.png
firsttrack000.png (9.37 KiB) Viewed 793 times
Those notches should not be there. The strange thing is that they occur at exact intervals of 128 samples.
I doubt that this is an Audacity problem. It looks more like a problem with the audio device drivers.

Try running this command in a terminal window. It will record 6 seconds of audio (starting when you press "Enter") from the default device (should be your mic). By default it will save the file to your home folder:

Code: Select all

arecord -d 6 -f S16_LE -t wav -c 1 test.wav
If for some reason it does not return to the normal terminal prompt after 6 seconds, press Ctrl+C to abort.
Try that and see if the "distortion" problem occurs there.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply