Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
hi jpennell
I know exactly what you want, and I know why.
I tried to convince our eminent developer jmarshall that it's needed, but I haven't succeeded in my quest yet.
The dilemma:
Yes, we have DRC, it's not a 'boost'. Boost is something that amplifies everything. Our DRC could be paired with a boost, this would be the perfect solution IMO.
Posts: 104
Joined: Jul 2005
Reputation:
0
Yes, DRC is useful for some things - like increasing the dialog's volume without bursting eardrums during special effects.
And... it's not my imagination is it, Pike? Such a facility DID exist in earlier releases of xbmc - I'm sure the setting was "audio amplification"?
J
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
if you want to rape your audio, get the proper gear (an amplifier) so you atleast can apply it at the end of the chain. the software filter we used earlier simply doesnt cut it (amping that early in the output chain is the big bad).
anyway, you can still enable it using mplayer.conf af=volume:gain iirc (see the mplayer man page / documentation).
Posts: 26,215
Joined: Oct 2003
Reputation:
187
DRC simply applies a logarithmic curve to the audio levels. You can easily alter the curve so it boosts more before it curves (you can't go above 0dB ofcourse).
It's simply a matter of generating a different function to do it.
The old amplification was a simple multiplicative thing (out = clamp(in * factor)) so even that can be done with the new system. It involves modding the code ofcourse - see CAsyncDirectSound.cpp or whatever it is under xbmc/cores.
Any of these methods kinda suck though, given that you have a finite range, so clipping will almost certainly occur.
Cheers,
Jonathan
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
games and music have about 1/10th the dynamic range a typical movie track is encoded at.
apply linear amping to that, you will clip your explosions. cause those are obv at the peak range already. no, its not "easily" fixable. unless you have non-linear filters (like those in a good amplifier), which would suck the cpu out of your xbox faster than a fluffer girl would suck stuff out of a 14 year old.
Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
Problem is, some audio is just recorded lower, this audio you can amplify without clipping or getting any issues, this case isn't covered with our now existing DRC
Posts: 2
Joined: May 2007
Reputation:
0
Please add a "simple audio boost" feature again! I really miss it, DRC is not what we need, that's a different feature.