[Nexus 5X Themes and Apps] Jose-MXL:
UPDATE

Made a V2.1 update due PMs for excessive gain in main speaker, reduced digital volume in main speaker from 84 to 82. Please try V2.1 if your main speaker oversaturated at 90% (it shouldn't, 84 is the stock value). See next post.

End of update

Guys, testers needed, please help :)

[MENTION=4640470]peikojose[/MENTION] [MENTION=1164565]CerB[/MENTION] [MENTION=4144597]suku_patel_22[/MENTION] [MENTION=2280111]aaamador[/MENTION] [MENTION=909149]parthabhatta[/MENTION] [MENTION=4379011]poondog[/MENTION] [MENTION=7330402]coololly[/MENTION] [MENTION=4783761]szucsgf[/MENTION]

TweetmodV2 changes/comments:

-	Removed filters to Right channel added inadvertently (they were applied to both Left and Right channels instead of Left only).

-	Acknowledge unintended increase in main speaker gain with some clipping due to mixing of Left and Right channel.

-	Re-designed a set of more aggressive Left filters with a -0.5dB filter on top to reduce clipping to and to reduce distortion when cranking up volume (chdloc recommended this and it worked for me).

-	Designed a subtle -1dB filter to Right channel to reduce clipping on main speaker, also attenuated frequencies that the main speaker can't reproduce anyways to reduce distortion present even on stock mixer file.

-	Added 3 flavors of volume for the earpiece for Testers (volume set at 86, 87 and 88), I prefer the volume at 88 since this is the whole purpose of the filters, so cranking up to 88 has been a good trade. I never listen media past 90% anyways so it gives me a good cranked up volume right where I need it.

After hours and hours of media testing, filter design and testing, etc. etc., I got a few more conclusions here:

-	As chdloc pointed, there is some volume gain and minimal (to what I could hear) clipping introduction due mixing Left/Right channels to be played on main speaker.

It is impossible to avoid distortion and clipping when increasing volume, it can only be reduced

-	There has to be a better way to mix the Right/Left channels, I did a crossfeed test following [MENTION=2760454]chdloc[/MENTION] tutorial but didn't hear a difference. I think I'm doing it wrong so that would have to be in V3.

-	I designed a set of filters to both Left/Right to help with this clipping and I was able to tame it down but not kill it, I definitely think that I can do a better job with far more time needed for V3. I also need feedback to know what I'm looking for, if you guys let me know a clear example I can dig into it, testing at 100% volume looking for clipping, reverting to stock to compare and going back and forth, isn't a good way to spend time.

-	The interesting thing to do here now, is to think if we should pursue an enhanced Stereo mod (or surround) as the OP intended but with Left filters to crank the volume on it with less distortion, or to accept the gains of a cranked up speaker with minimal (if not unnoticeable) clipping. Hang in there for one second and I'll explain the pros/cons.

-	The reason behind pursuing a V3 is simple, even when we are filtering Left channel, we are still retaining most of its value.

The earpiece is so weak, noisy and fragile, that it can't reproduce most frequencies. In a very long story short, relaying on the earpiece to reproduce the Left channel alone, still results in loss of audible media. I still think we need to play Left channel (altogether with Right) on the main speaker, so we can hear most of the full story that our media has to tell us.

Let me know your feedback and what you guys think we should do next!