*** Disclamer I made this mod for myself and I'm willing to share it with you. Install this at your own risk.
This mod activates the earpeace speaker for playback of multimedia audio, to create a stereo sound.
Using Qualcomms biquads, which is a hardware filter (doesn't interfere with software equalizers) in the audio codec that isn't used by default, I have been able to increase the volume and bass of the audio without harming the speakers. For this, I designed the biquads like this:
Let's be clear about it: the earpiece speaker isn't physically designed to produce loud and rich music and doing so may be harmfull for it.
I filtered out the low-frequency tones for the earpiece speaker because these are the most harmfull for it. Doing so, I was also able to turn up the volume a tad without sacrificing on the quality of the audio.
This is the frequency response of the earpiece speaker:
Here I made 2 versions: 'balanced' and 'volume boosted'.
On this one I lowered the volume of the main speaker to match the volume of the earpiece speaker. But because the low-frequency tones are quite weak on the oneplus one, I decided to keep the basses on stock level. This way, the sound is nice balanced while basses are a bit boosted. This leads to a very nice audio experience while watching video's, however the max volume is quite low.
The frequency response of the main speaker for this case is like this:
This is actually the same as the balanced, but the total volume is about the same as stock.
I lowered the main speaker volume until the point where the earpiece and main speaker together produce about the same volume as stock. The low-frequency tones of the main speaker are kept at max volume. This leads to music with about the same volume, but better bass than stock. The nice stereo effect of the music is still present, but not balanced anymore.
This is the frequency response of the main speaker:
- Based on the latest mixer_paths.xml from sultanXDA's LineageOS 14.1
- Stereo audio
- Biquad filters
- earpiece is louder by filtering out the basses (main speaker also louder)
- A lot more bass out of main speaker
- Perfect balance between left and right channel
- Added some missing ULL cases and output paths
1) Download the balanced or the volume boosted stereo mod above
2) Flash the zip-file through a custom recovery
(The mod will check if my 'balanced' or 'volume boosted' mod has already been installed. In case it hasn't, it'll make a back-up of the original mixer_paths.xml)
I use (and thus developed) this mod together with a dolby atmos port to get a great audio experience while watching movies and listening music. Therefore it is also optimal in combination with dolby atmos.
This mod was a lot of work, give a "thanks" or consider a small donation if you like it please.
@abhi08638 for teaching me about the stereo part of this mod. @chdloc for teaching me about biQuads.
Audio Mod, Tool/Utility for the OnePlus One
Last Updated 2018-03-21