Page 1 of 2

Audacity without Pulseaudio Ubuntu 14.04

Posted: Wed Feb 17, 2016 8:14 pm
by RAaudacity
Pulseaudio stopped working and I would just as soon let it stay that way for all its quirks.

Is there a way to get Audacity working with just ALSA?
The audio on the mobo is Realtek 662 6 channel high def - I can't find any reference as to whether it's full duplex or not.

I use Audacity a lot for recording and editing and this is causing a problem for me.

Thanks

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Wed Feb 17, 2016 8:25 pm
by steve
Which version of Audacity?
How did you install it?
Which version of Linux?
RAaudacity wrote: Pulseaudio stopped working
What does that mean precisely? Is PulseAudio running?

Please post the output from the Audacity "Help menu > Audio device info"

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Wed Feb 17, 2016 8:57 pm
by RAaudacity
>Which version of Audacity?< 2.0.5

I've tried various combinations of Playback and Recording Devices w/ no luck.

>How did you install it?< via Ubuntu software center

>Which version of Linux?< Ubuntu 14.04 - that's all I know.

>Pulseaudio stopped working What does that mean precisely? Is PulseAudio running?<

It worked ok for weeks, then I got the attached dialog, and have tried reinstalls, purges etc. w/ no cure:

Please post the output from the Audacity "Help menu > Audio device info"

Code: Select all

==============================
Default capture device number: 7
Default playback device number: 7
==============================
Device ID: 0
Device name: HDA ATI SB: ALC662 rev3 Analog (hw:0,0)
Host name: ALSA
Input channels: 2
Output channels: 0
Low Input Latency: 0.005805
Low Output Latency: -1.000000
High Input Latency: 0.034830
High Output Latency: -1.000000
Supported Rates:
==============================
Device ID: 1
Device name: HDA ATI SB: ALC662 rev3 Alt Analog (hw:0,2)
Host name: ALSA
Input channels: 2
Output channels: 0
Low Input Latency: 0.005805
Low Output Latency: -1.000000
High Input Latency: 0.034830
High Output Latency: -1.000000
Supported Rates:
==============================
Device ID: 2
Device name: HDA NVidia: HDMI 0 (hw:1,3)
Host name: ALSA
Input channels: 0
Output channels: 8
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 3
Device name: HDA NVidia: HDMI 0 (hw:1,7)
Host name: ALSA
Input channels: 0
Output channels: 8
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 4
Device name: HDA NVidia: HDMI 0 (hw:1,8)
Host name: ALSA
Input channels: 0
Output channels: 8
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 5
Device name: HDA NVidia: HDMI 0 (hw:1,9)
Host name: ALSA
Input channels: 0
Output channels: 8
Low Input Latency: -1.000000
Low Output Latency: 0.005805
High Input Latency: -1.000000
High Output Latency: 0.034830
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    176400
    192000
==============================
Device ID: 6
Device name: sysdefault
Host name: ALSA
Input channels: 128
Output channels: 128
Low Input Latency: 0.021333
Low Output Latency: 0.021333
High Input Latency: 0.021333
High Output Latency: 0.021333
Supported Rates:
    8000
    9600
    11025
    16000
    22050
    32000
    44100
    48000
    88200
    176400
    352800
==============================
Device ID: 7
Device name: default
Host name: ALSA
Input channels: 128
Output channels: 128
Low Input Latency: 0.021333
Low Output Latency: 0.021333
High Input Latency: 0.021333
High Output Latency: 0.021333
Supported Rates:
    8000
    9600
    11025
    16000
    22050
    32000
    44100
    48000
    88200
    176400
    352800
==============================
Device ID: 8
Device name: dmix
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.021333
High Input Latency: -1.000000
High Output Latency: 0.021333
Supported Rates:
    48000
==============================
Selected capture device: 0 - HDA ATI SB: ALC662 rev3 Analog (hw:0,0)
Selected playback device: 8 - dmix
Supported Rates:
    48000
==============================
Available mixers:
==============================
Available capture sources:
0 - Front Mic:0
1 - Rear Mic:0
2 - Line:0
3 - Front Mic:1
4 - Rear Mic:1
5 - Line:1
==============================
Available playback volumes:
0 - Master:0
1 - PCM:0
2 - Front:0
3 - Front Mic:0
4 - Front Mic Boost:0
5 - Surround:0
6 - Center:0
7 - LFE:0
8 - Line:0
9 - Line Boost:0
10 - Rear Mic:0
11 - Rear Mic Boost:0
==============================
Capture volume is native
Playback volume is native

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Thu Feb 18, 2016 12:19 am
by steve
Have you tried this? (read down to the final post) http://ubuntuforums.org/showthread.php?t=1881366

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Thu Feb 18, 2016 3:35 am
by RAaudacity
>Have you tried this? (read down to the final post) http://ubuntuforums.org/showthread.php?t=1881366<

It does no good. Can't Audacity be set up to record stream with just ALSA?

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Thu Feb 18, 2016 9:52 am
by steve
RAaudacity wrote:Can't Audacity be set up to record stream with just ALSA?
Yes. The "hw" options use ALSA.
However, it appears that there is some underlying problem with your computer sound system. If the sound system does not work properly, then Audacity may not work properly.

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Thu Feb 18, 2016 4:13 pm
by RAaudacity
>Yes. The "hw" options use ALSA. <

You mean "Devices"? I've tried a lot of combinations w/ no success.

>However, it appears that there is some underlying problem with your computer sound system. If the sound system does not work properly, then Audacity may not work properly.<

I think the hardware sound system is not the problem. I think Audacity is unable to use it without PulseAudio, and PulseAudio has a lot of problems of its own.

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Thu Feb 18, 2016 4:40 pm
by steve
Audacity does not depend on PulseAudio, but it does depend on a properly working sound system.

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Thu Feb 18, 2016 4:51 pm
by cyrano
If you don't need it, could you try uninstalling Pulse audio?

Re: Audacity without Pulseaudio Ubuntu 14.04

Posted: Thu Feb 18, 2016 5:21 pm
by RAaudacity
>If you don't need it, could you try uninstalling Pulse audio?<

It's already uninstalled, and purged.