2010-12-27, 20:54
I notice that XBMC has its internal audio mixer and I cannot figure out how to remap the volume action "up and down" to the alsa PCM volume instead.
You could ask me why? Because I think that XBMC is cutting some frequencies with volume less than the maximum. I know it's hard to explain in a language not mine, with an example:
CONFIGURATION 1:
- XBMC volume 50%
- ALSA PCM volume 100%
overall volume is then, just for example, 50db.
CONFIGURATION 2:
- XBMC volume 100%
- ALSA PCM volume 50%
then the overall volume decibel is the same in both configuration, 50db.
Well, with the same volume level (50db) with CONFIGURATION 2 I can hear that the sound is fuller (especially at low frequencies) than in CONFIGURATION 1, so I concluded that the XBMC mixer is cutting some frequencies. Another shortcoming is that the volume curve of XBMC seems not to be linear but logarithmic, up to 85% volume decibels grows very slow and then quickly climb in the range between 85% and 100% (so if for example my speakers can go from 0 to 100db until 85% the volume level is 30db). With alsa PCM volume instead the curve is linear.
So my intention was to leave the XBMC mixer volume at 100% and vary the alsa PCM volume instead with volume up and down XBMC actions. I think I can do it by removing the reference to the volume in Lircmap.xml and drive the volume externally with irexec, but in this manner I lose the osd volume feedback. I hope I was clear and sorry for my google translate english
()
You could ask me why? Because I think that XBMC is cutting some frequencies with volume less than the maximum. I know it's hard to explain in a language not mine, with an example:
CONFIGURATION 1:
- XBMC volume 50%
- ALSA PCM volume 100%
overall volume is then, just for example, 50db.
CONFIGURATION 2:
- XBMC volume 100%
- ALSA PCM volume 50%
then the overall volume decibel is the same in both configuration, 50db.
Well, with the same volume level (50db) with CONFIGURATION 2 I can hear that the sound is fuller (especially at low frequencies) than in CONFIGURATION 1, so I concluded that the XBMC mixer is cutting some frequencies. Another shortcoming is that the volume curve of XBMC seems not to be linear but logarithmic, up to 85% volume decibels grows very slow and then quickly climb in the range between 85% and 100% (so if for example my speakers can go from 0 to 100db until 85% the volume level is 30db). With alsa PCM volume instead the curve is linear.
So my intention was to leave the XBMC mixer volume at 100% and vary the alsa PCM volume instead with volume up and down XBMC actions. I think I can do it by removing the reference to the volume in Lircmap.xml and drive the volume externally with irexec, but in this manner I lose the osd volume feedback. I hope I was clear and sorry for my google translate english
()