Audacity recording input level control

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: MattKingUSA, khz

Post Reply
zeelog
Established Member
Posts: 7
Joined: Sun Dec 14, 2008 2:17 am

Audacity recording input level control

Post by zeelog »

Most of my recording needs are quite simple, so I normally use Audacity.
But in Lubuntu, Audacity 2.0.0 I have a recording volume problem.
Audacity can't control it's own recording volume anymore and requires a
"system mixer" to do it. I use an M Audio Audiophile 24/96 PCI card
that uses envy24control. Lubuntu does not have pulseaudio unless
you put it in and I do NOT want anything to do with pulseaudio. So this
is an alsa or oss issue. Audacity doesn't show up in Jack's connection section
so I assume Audacity 2.0.0 is not Jack aware.
I can't figure out how to control Audacity recording
input levels using envy24control or the alsa mixer. Nothing seems to make
any difference. I must be missing something obvious.
Can anyone tell me where I can find the answer or what I'm doing wrong ?
varpa
Established Member
Posts: 509
Joined: Fri Feb 25, 2011 6:40 pm
Been thanked: 13 times

Re: Audacity recording input level control

Post by varpa »

Audacity has lousy Jack support using PortAudio which makes Jack connects dynamically, ie. when you hit record or playback. There are no static connections like other Jack applications. However, this is a compile-time option, so your version of Audacity may or may not have this feature. It would also be possible to create Alsa loopback devices which will have static Jack ports. You can read about that here: http://jackaudio.org/routing_alsa and here: http://www.penguinproducer.com/2011/11/ ... ridge-kit/ But in principle you should be able to use Audacity directly with Alsa and not use Jack. Does the command "aplay -l" list your M Audio Audiophile card? If so, I would think you could select this card in the Audacity preferences (Edit->Preferences then select playback and recording device from drop down list).
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: Audacity recording input level control

Post by Pablo »

To let us see if there is something wrong in your envy24control settings you might want to post the terminal output of

amixer -cx

where x is the card number corresponding to the m-audio (See "cat /proc/asound/cards")
zeelog
Established Member
Posts: 7
Joined: Sun Dec 14, 2008 2:17 am

Re: Audacity recording input level control

Post by zeelog »

I am using card 0, the PCI ICE1712 - M Audio Audiophile 24/96
sound card. I have deactivated in the BIOS the motherboard
sound circuit, which is card 1.
This is more information than I think anyone would want.
But if you want it, here it is.

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.61
!!################################

!!Script ran on: Wed Oct 10 13:34:41 UTC 2012


!!Linux Distribution
!!------------------

Ubuntu 12.04.1 LTS \n \l DISTRIB_ID=Ubuntu
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"


!!DMI Information
!!---------------

Manufacturer: System manufacturer
Product Name: System Product Name
Product Version: System Version
Firmware Version: 0405


!!Kernel Information
!!------------------

Kernel release: 3.2.0-31-generic
Operating System: GNU/Linux
Architecture: x86_64
Processor: x86_64
SMP Enabled: Yes



!!ALSA Version
!!------------

Driver version: 1.0.24
Library version: 1.0.25
Utilities version: 1.0.25


!!Loaded ALSA modules
!!-------------------

snd_ice1712
snd_hda_intel


!!Sound Servers on this system
!!----------------------------

ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - No

Jack:
Installed - Yes (/usr/bin/jackd)
Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
M Audio Audiophile 24/96 at 0xec00, irq 17
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfe8fc000 irq 46


!!PCI Soundcards installed in the system
!!--------------------------------------

01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI
Audio [Radeon HD 4000 series]
05:01.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24]
PCI Multi-Channel I/O Controller (rev 02)


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

01:00.1 0403: 1002:aa38
Subsystem: 174b:aa38
--
05:01.0 0401: 1412:1712 (rev 02)
Subsystem: 1412:d634


!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-caiaq: index=-2
snd-usb-caiaq: index=-2
snd-usb-ua101: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-usb-audio: index=-2


!!Loaded sound module options
!!---------------------------

!!Module: snd_ice1712
cs8427_timeout : 500,500,500,500,500,500,500,500,500,500,500,500,500,500
,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500
dxr_enable : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
,-1,-1,-1,-1,-1,-1,-1,-1,-1

!!Module: snd_hda_intel
align_buffer_size : Y
bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
beep_mode : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : -1
id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
,(null),(null),(null),(null),(null),(null),(null),(null),(null)
index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1
model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
,(null),(null),(null),(null),(null),(null),(null),(null),(null)
position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1
probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
single_cmd : N
snoop : Y


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
rates [0x70]: 32000 44100 48000
bits [0x2]: 16
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="ELD", index=0, device=3
Pincap 0x00000094: OUT Detect HDMI
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x00:
Unsolicited: tag=01, enabled=1
Connection: 1
0x02
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw---T+ 1 root audio 116, 5 Oct 10 08:30 /dev/snd/controlC0
crw-rw---T+ 1 root audio 116, 8 Oct 10 08:30 /dev/snd/controlC1
crw-rw---T+ 1 root audio 116, 7 Oct 10 08:30 /dev/snd/hwC1D0
crw-rw---T+ 1 root audio 116, 2 Oct 10 08:30 /dev/snd/midiC0D0
crw-rw---T+ 1 root audio 116, 4 Oct 10 08:30 /dev/snd/pcmC0D0c
crw-rw---T+ 1 root audio 116, 3 Oct 10 08:30 /dev/snd/pcmC0D0p
crw-rw---T+ 1 root audio 116, 6 Oct 10 08:30 /dev/snd/pcmC1D3p
crw-rw---T+ 1 root audio 116, 1 Oct 10 08:30 /dev/snd/seq

crw-rw---T+ 1 root audio 116, 33 Oct 10 08:30 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 80 Oct 10 08:30 .
drwxr-xr-x 3 root root 240 Oct 10 08:30 ..
lrwxrwxrwx 1 root root 12 Oct 10 08:30 pci-0000:01:00.1 -> ../controlC1
lrwxrwxrwx 1 root root 12 Oct 10 08:30 pci-0000:05:01.0 -> ../controlC0


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: M2496 [M Audio Audiophile 24/96], device 0: ICE1712 multi [ICE1712 multi]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: M2496 [M Audio Audiophile 24/96], device 0: ICE1712 multi [ICE1712 multi]
Subdevices: 1/1
Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [M2496]

Card hw:0 'M2496'/'M Audio Audiophile 24/96 at 0xec00, irq 17'
Mixer name : 'ICE1712 - multitrack'
Components : ''
Controls : 48
Simple ctrls : 26
Simple mixer control 'IEC958',0
Capabilities: penum
Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'H/W In 2' 'H/W In 3' 'H/W In 4'
'H/W In 5' 'H/W In 6' 'H/W In 7' 'IEC958 In L' 'IEC958 In R' 'Digital Mixer'
Item0: 'PCM Out'
Simple mixer control 'IEC958 Multi',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 96
Front Left: Capture 0 [0%] [off]
Front Right: Capture 0 [0%] [off]
Simple mixer control 'IEC958 Multi',1
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 96
Front Left: Capture 0 [0%] [off]
Front Right: Capture 0 [0%] [off]
Simple mixer control 'IEC958',1
Capabilities: penum
Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'H/W In 2' 'H/W In 3' 'H/W In 4'
'H/W In 5' 'H/W In 6' 'H/W In 7' 'IEC958 In L' 'IEC958 In R' 'Digital Mixer'
Item0: 'PCM Out'
Simple mixer control 'DAC',0

Capabilities: volume volume-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 127
Mono: 89 [70%] [-19.00dB]
Simple mixer control 'DAC',1
Capabilities: volume volume-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 127
Mono: 93 [73%] [-17.00dB]
Simple mixer control 'Deemphasis',0
Capabilities: enum
Items: '44.1kHz' 'Off' '48kHz' '32kHz'
Item0: 'Off'
Simple mixer control 'H/W',0
Capabilities: penum
Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'H/W In 2' 'H/W In 3' 'H/W In 4'
'H/W In 5' 'H/W In 6' 'H/W In 7' 'IEC958 In L' 'IEC958 In R' 'Digital Mixer'
Item0: 'PCM Out'
Simple mixer control 'H/W',1
Capabilities: penum
Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'H/W In 2' 'H/W In 3' 'H/W In 4'
'H/W In 5' 'H/W In 6' 'H/W In 7' 'IEC958 In L' 'IEC958 In R' 'Digital Mixer'
Item0: 'PCM Out'
Simple mixer control 'H/W Multi',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 96
Front Left: Capture 71 [74%] [-37.50dB] [off]
Front Right: Capture 69 [72%] [-40.50dB] [off]
Simple mixer control 'H/W Multi',1
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 96
Front Left: Capture 73 [76%] [-34.50dB] [off]
Front Right: Capture 74 [77%] [-33.00dB] [off]
Simple mixer control 'Multi',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:

Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',1
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',2
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',3
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',4
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',5
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',6
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',7
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',8
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi',9
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 96
Mono:
Front Left: Playback 0 [0%] [-144.00dB] [off]
Front Right: Playback 0 [0%] [-144.00dB] [off]
Simple mixer control 'Multi Track Internal Clock',0
Capabilities: enum
Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000' '44100'
'48000' '64000' '88200' '96000' 'IEC958 Input'
Item0: '44100'
Simple mixer control 'Multi Track Internal Clock Default',0
Capabilities: enum
Items: '8000' '9600' '11025' '12000' '16000' '22050' '24000' '32000' '44100'
'48000' '64000' '88200' '96000'
Item0: '44100'
Simple mixer control 'Multi Track Rate Locking',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Multi Track Rate Reset',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Multi Track Volume Rate',0
Capabilities: volume volume-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 255
Mono: 186 [73%]

!!-------Mixer controls for card 1 [HDMI]

Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe8fc000 irq 46'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,00aa0100,00100100'
Controls : 6
Simple ctrls : 1
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]


!!Alsactl output
And if you want the rest just say so, but isn't this enough ?
I don't understand hardly any of it. I amazed anyone does.
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: Audacity recording input level control

Post by Pablo »

I can't figure out how to control Audacity recording
input levels using envy24control or the alsa mixer
envy24control is a specific alsamixer for cards that use the snd_ice1712 module, like your (and my) m-audio 2496. amixer gives the same info in plain text.

No, there are no accesible ADC levels (they are missing in the analog volume tab, if you look there).. There used to be there in previous linux/alsa versions. However, this shouldn't mean that capture levels are too low but that they are OK and don't need adjusting. Are you using an external mixer?
zeelog
Established Member
Posts: 7
Joined: Sun Dec 14, 2008 2:17 am

Re: Audacity recording input level control

Post by zeelog »

I usually use an old Berringer low priced mixer that does the job.
It seems strange that an older version of envy4control would have
ADC controls when a newer one does not. The sound card has not
changed. It's the same as it was years ago. Why would they downgrade
the envy24control ? Do you think if I found an old copy of envy24control
It would work with Lubuntu 12 ? I could dig around on my old computers
and maybe find one.
I have been considering going back to Ubuntu 8.10. The Audacity on it can
control its own recording level. Again, why did they dumb down Audacity ?
Just because my recording input levels on Audacity seen Ok now, that's no
reason to take my control over them away.
Looks like maybe I should have just stuck with the old stuff.
Plug&Play
Established Member
Posts: 49
Joined: Sat Jan 14, 2017 2:09 am

Re: Audacity recording input level control

Post by Plug&Play »

This is an old thread. Advice was given by Pablo to use the envy24control. A replacement is available that is compatible with the M Audio Audiophile 24/96 PCI card and other ICE1712 cards.
https://code.google.com/archive/p/mudita24/
viewtopic.php?f=6&t=14866&p=66348&hilit=Mudita#p66348

It was given the interesting name to make it clear that it is different then envy24control, and was last updated in 2010.

Rob

Music Music Music !
Post Reply