Why is Audacity not taking input from this device?

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.
ebisumartin
Posts: 36
Joined: Mon Feb 11, 2013 7:08 am
Operating System: Please select

Why is Audacity not taking input from this device?

Post by ebisumartin » Mon Feb 11, 2013 7:30 am

This is a cross posting of this question I posted on Stack Exchange. An answer there implied that my issue might be specific to Audacity, so I am bringing it here in hopes of expert Audacity help.

The issue is that I have a USB device that is recognized in Ubuntu 12.10, but Audacity does pick up any input. The device is an Alesis iO4, 4 microphone input, with universal plug and play USB. In the attached screenshot you can see the device appearing in the Ubuntu sound settings interface, and also I can speak into a microphone and see a response in that interface as well.

However, in Audacity, when I hit the record button while speaking into one of the 4 mikes, it registers no sound at all.

I looked into Audacity's preferences, in the "Devices" screen, and under Host in the Interface section, the only option is ALSA. Under Device in the Recording section, there are four options. HDA:Intel is my on-board sound card. I'm not sure what the difference between pulse, default, and sysdefault is, but in any case, selecting any of them does not seem to change anything.

Under the "Recording" screen there doesn't seem to be any device related setting that I can imagine having any impact.

How do I get Audacity to accept input from this device?

Thank you for any assistance.

Image

Image

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

Re: Why is Audacity not taking input from this device?

Post by steve » Mon Feb 11, 2013 1:09 pm

Ensure that your USB device is connected and working before you open Audacity.
Ensure that there are no other audio applications open when you launch Audacity (other audio applications could confuse the issue if they grab exclusive control of your sound card).
Ensure that you have no web pages open that have FLASH (The FLASH plug-in may grab exclusive control of the sound card, depending on how it is configured).

When you have checked the above, open Audacity and look in the Recording Input box of the Device Toolbar. There should be a USB option in there which will access the USB device directly through ALSA (bypassing PulseAudio).
If there is no USB option, try selecting "Transport Menu > Rescan Audio Devices" and then see if there is a USB recording option.
If still no luck, go to "Help > Audio Device Info", wait for the screen to appear, then copy and paste the full contents of that window in your reply.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ebisumartin
Posts: 36
Joined: Mon Feb 11, 2013 7:08 am
Operating System: Please select

Re: Why is Audacity not taking input from this device?

Post by ebisumartin » Mon Feb 11, 2013 3:01 pm

Thank you for responding.

I have ensured that the Alesis iO4 is connected and working before opening Audacity.
There are no other applications open. There are no web pages with Flash open.

In the Recording Input box of the Device Toolbar, there is no USB option in the Recording menu. There is only HDA:intel, default, sysdefault, and pulse. (There is a USB option in the playback menu, though.)

I rescanned the audio devices using the option in the Transport menu, but that did not change anything.

I got the following information from the Audio Device Info screen:

Code: Select all

==============================
Default capture device number: 11
Default playback device number: 11
==============================
Device ID: 0
Device name: HDA Intel PCH: ALC269VB Analog (hw:0,0)
Host name: ALSA
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
    44100
    48000
    96000
    192000
==============================
Device ID: 1
Device name: HDA Intel PCH: HDMI 0 (hw:0,3)
Host name: ALSA
Input channels: 0
Output channels: 8
Low Input Latency: -1.000000
Low Output Latency: 0.011610
High Input Latency: -1.000000
High Output Latency: 0.046440
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 2
Device name: iO4: USB Audio (hw:1,0)
Host name: ALSA
Input channels: 0
Output channels: 4
Low Input Latency: -1.000000
Low Output Latency: 0.011610
High Input Latency: -1.000000
High Output Latency: 0.046440
Supported Rates:
    44100
==============================
Device ID: 3
Device name: sysdefault
Host name: ALSA
Input channels: 128
Output channels: 128
Low Input Latency: 0.042653
Low Output Latency: 0.042653
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
    8000
    9600
    11025
    16000
    22050
    32000
    44100
    48000
    88200
==============================
Device ID: 4
Device name: front
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.011610
High Input Latency: -1.000000
High Output Latency: 0.046440
Supported Rates:
    44100
    48000
    96000
    192000
==============================
Device ID: 5
Device name: surround40
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.011610
High Input Latency: -1.000000
High Output Latency: 0.046440
Supported Rates:
    44100
    48000
    96000
    192000
==============================
Device ID: 6
Device name: surround51
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.011610
High Input Latency: -1.000000
High Output Latency: 0.046440
Supported Rates:
    44100
    48000
    96000
    192000
==============================
Device ID: 7
Device name: surround71
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.011610
High Input Latency: -1.000000
High Output Latency: 0.046440
Supported Rates:
    44100
    48000
    96000
    192000
==============================
Device ID: 8
Device name: hdmi
Host name: ALSA
Input channels: 0
Output channels: 8
Low Input Latency: -1.000000
Low Output Latency: 0.011610
High Input Latency: -1.000000
High Output Latency: 0.046440
Supported Rates:
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 9
Device name: pulse
Host name: ALSA
Input channels: 32
Output channels: 32
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 10
Device name: dmix
Host name: ALSA
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.042667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
    48000
==============================
Device ID: 11
Device name: default
Host name: ALSA
Input channels: 32
Output channels: 32
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Selected capture device: 11 - default
Selected playback device: 0 - HDA Intel PCH: ALC269VB Analog (hw:0,0)
Supported Rates:
    44100
    48000
    96000
    192000
==============================
Available mixers:
==============================
Available capture sources:
==============================
Available playback volumes:
0 - Master:0
1 - Headphone:0
2 - Speaker:0
3 - PCM:0
4 - Mic Boost:0
==============================
Capture volume is emulated
Playback volume is native

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

Re: Why is Audacity not taking input from this device?

Post by steve » Mon Feb 11, 2013 3:31 pm

Install PulseAudio Volume Control (pavucontrol).

Set the recording input in Audacity to "Pulse".
Press the record button and then the pause button.

Assuming there are no errors at this point, open PulseAudio Volume Control and go to the recording tab.
Select the IO4 USB as the input device.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ebisumartin
Posts: 36
Joined: Mon Feb 11, 2013 7:08 am
Operating System: Please select

Re: Why is Audacity not taking input from this device?

Post by ebisumartin » Mon Feb 11, 2013 4:41 pm

Thank you for your continued help. I installed Pulse Audio Volume Control, and I followed your instructions. In the Pulse Audio Volume Control interface, I can see the iO4 audio device, and it has four channels as hoped. However, despite all indications that the system is accepting the device,Audacity still does not record any input.

I don't know if this is relevant, but the the level indicator in Sound settings and Pulse Audio Volume control seems kind of low. The orange bar only goes about a quater to a third of the way despite me yelling into any one of the microphones.

I have attached screenshots of what I am seeing.

Image
Image
Image

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

Re: Why is Audacity not taking input from this device?

Post by steve » Mon Feb 11, 2013 5:19 pm

From the look of pavucontrol it appears that Audacity is recording, albeit at a low level. Try using the Amplify effect on the recording to see if it really is silence or just a very low volume recording.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ebisumartin
Posts: 36
Joined: Mon Feb 11, 2013 7:08 am
Operating System: Please select

Re: Why is Audacity not taking input from this device?

Post by ebisumartin » Tue Feb 12, 2013 1:11 am

Thank you for your suggestion.

I tried applying the amplify effect at the maximum, but the recording was as dead silent after the effect was applied as it was before.

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

Re: Why is Audacity not taking input from this device?

Post by steve » Tue Feb 12, 2013 2:29 am

I was afraid that might happen.
It is very strange that Pulse Audio apparently sees the device but Audacity doesn't.

Are you able to record from the built-in sound card (the Intel) using "Pulse" as the recording input and selecting the internal sound card in pavucontrol?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ebisumartin
Posts: 36
Joined: Mon Feb 11, 2013 7:08 am
Operating System: Please select

Re: Why is Audacity not taking input from this device?

Post by ebisumartin » Tue Feb 12, 2013 4:17 pm

Thank you for your continued help.
Are you able to record from the built-in sound card (the Intel) using "Pulse" as the recording input and selecting the internal sound card in pavucontrol
Yes. In the first two attached screenshots, you can see I am recording through the built in sound card using the laptops attached microphone, with the input device in Audacity set to use pulse.

I also have a Creative Labs, Sound Blaster Play, USB audio connector. With that, I can record in Audacity using both pulse or default set as the input. I have attached screen shots of that as well.

It seems that I don't generally have any trouble recording in Audacity in general, it's just this one device mysteriously not passing through from the Ubuntu and Pulse sound settings to Audacity.

Pulse Volume Control settings for built in microphone and on board sound:
Image

Audacity recording from built in microphone using pulse as input:
Image

Sound Blaster USB input in Pulse Volume Control:
Image

Recording in Audacity with Sound Blaster USB input, with default as input:
Image

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

Re: Why is Audacity not taking input from this device?

Post by steve » Tue Feb 12, 2013 5:03 pm

Thanks, that's all useful, though there is some good and some bad ;)

The good news: Both PulseAudio and Audacity appear to be working correctly.
The bad news: The iO4 isn't working correctly. We need to try and find out why. It appears to be "nearly" right (but still "wrong").

With the iO4 connected and the SB not connected. open a terminal window and type:

Code: Select all

alsamixer
This will open up the ALSA mixer.

Press F6 to open the "Select sound card" options.
Is the iO4 listed in the options?
If it is, scroll down with the cursor keys and press Enter to select it,
then press the F4 key to display the recording (capture) settings. You may need to scroll left or right (cursor keys) to see all of the options.
Is recording enabled for the iO4 in alsamixer?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply