[LAU] Calculating absolute played(!) volume

Jeanette C. julien at mail.upb.de
Fri Oct 16 18:24:23 CEST 2020

Hello Fons!
Oct 16 2020, Fons Adriaensen has written:
> 1. The sensitivity of your headphone, that is the SPL for some 
> given voltage. This may be in the specs of your headphone.
I think it is.
> 2. The 'gain' of your sound card at a particular DAC gain setting.
> This could be measured (using an RMS voltmeter) with a know software
> generated signal.
I know someone with all kinds of meters like that. :)
> 3. How (2) depends on the volume settings (if any) of your sound card.
> If these are in dB and accurate (I wouldn't trust ALSA for this) that
> is easy.
I might start out by trusting ALSA. :)
> 4. The RMS level (in dB FS) of the signal you are playing. Zita-mu1
> provides this but is probably of little use to you. What do you normally
> use for metering ?
Csound has lufs metering implemented now. I think it will do. At any
rate, I'm looking at a constant signal, so that should be easy.

Best wishes and many thanks,

> Ciao,
> -- 
> FA
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> https://lists.linuxaudio.org/listinfo/linux-audio-user

  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Just call out my name, and I will be there... <3
(Britney Spears)

More information about the Linux-audio-user mailing list