Re: audio recording levels

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jacob Meuser
Date: Sunday, June 13, 2010 - 5:49 pm

On Mon, Jun 14, 2010 at 11:37:52AM +1200, Paul M wrote:

varies depending on hardware, but often there is a gain
at the input and a gain at the ADC.


generically speaking, yes.


no.  record.volume is essenially an alias.  on your hardware with the
configuration you've posted, it's a shortcut for setting both
record.adc and record.adc2.  this is explained in azalia(4) (though
maybe that info didn't make it into 4.6, the info in -current azalia(4)
is mostly relevant even for 4.6).


no.  unfortunately, the mixer interface, like a lot of audio(4)
related stuff, is designed for "consumer usage".  so, we just have
a range that is essentially 0-100% - it has no relevance to anything
except the knob.  truly the  worst kind of knobs are those that
have no outside meaning, but apparently people like this.  *shrug*

http://marc.info/?l=openbsd-tech&m=123101323408867&w=2


if you really want to know how to do this right, your best bet is to
find the datasheet for your codec.

now, your codec is a Realtek, which is common for azalia(4), and
I happen to know them pretty well ...

this is a 0 (0), 10 (85), 20 (170), 30 (255) dB gain on the line-in
jack.  values in () are the corresponding mixerctl values.

this is the ADC input gain.  0 dB should be around '88'.
0..255 here represents the hardware's -16.5 to 30 dB
in 1.5 dB steps.

these are the only gains on the recording path of your device.

-- 
jakemsr@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Consideration before installling on SSD hard drive, jean-francois, (Sat May 22, 8:03 am)
Re: Consideration before installling on SSD hard drive, Marco Peereboom, (Sat May 22, 9:21 am)
Re: Consideration before installling on SSD hard drive, Brad Tilley, (Sat May 22, 12:17 pm)
audio recording levels, Paul M, (Sun Jun 13, 4:37 pm)
Re: audio recording levels, Martin Pelikán, (Sun Jun 13, 5:03 pm)
Re: audio recording levels, Jacob Meuser, (Sun Jun 13, 5:49 pm)
Re: audio recording levels, Jacob Meuser, (Sun Jun 13, 6:09 pm)
Re: audio recording levels, Jan Stary, (Sun Jun 13, 11:54 pm)
Re: audio recording levels, Paul M, (Mon Jun 14, 1:24 am)
Re: audio recording levels, Paul M, (Mon Jun 14, 1:29 am)
Re: audio recording levels, Ted Roby, (Mon Jun 14, 7:20 am)
Re: audio recording levels, Paul M, (Mon Jun 14, 3:12 pm)
Re: audio recording levels, Alexandre Ratchov, (Tue Jun 15, 1:25 am)
Re: audio recording levels, Jan Stary, (Tue Jun 15, 1:46 am)
Re: audio recording levels, Paul M, (Tue Jun 15, 4:18 am)
Re: audio recording levels, Paul M, (Tue Jun 15, 5:06 am)
Re: audio recording levels, Alexandre Ratchov, (Tue Jun 15, 11:07 pm)
Re: audio recording levels, Alexandre Ratchov, (Tue Jun 15, 11:45 pm)
Re: audio recording levels, Paul M, (Wed Jun 16, 6:05 am)
Re: audio recording levels, Daniel Gracia, (Wed Jun 16, 9:14 am)