Skip to content

Commit d0e24be

Browse files
authored
Add files via upload
Lowered the cut-off freq. a little bit more to tune for recent custom and stock ROM's
1 parent 9345203 commit d0e24be

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Finally, this module is designed to override re-sampling parameters set by my ot
1010

1111

1212
Notes:
13-
* If you feel your LDAC earphones or "cheapie" DAC wouldn't become to sound good at all, try editting "service.sh" script in the installed place or its ZIP archive so as to replace "85" in it with "86" or "87" for appropriately cutting off ultrasonic noise causing intermodulation.
13+
* If you feel your LDAC earphones or "cheapie" DAC wouldn't become to sound good at all, try editting "service.sh" script in the installed place or its ZIP archive so as to replace "83" in it with "84" or "85" for appropriately cutting off ultrasonic noise causing intermodulation.
1414
* This module doesn't have the effect for Hires. tracks (greater than 48 kHz sample rate) which not having large pre-echo and ringing, and high frequency dithering noise, except ultrasonic noise added on purpose for mellowness. Anyhow, if you want to improve the quality of only Hires. tracks on "cheapie" devices, edit "service.sh" script in the installed place or its ZIP archive as described in the script.
1515
* LDAC earphones and DAC's deteriorate the quality more or less by their internal over-sampling filtering when receiving low sample rate data.
16-
* Don't forget disabling "A2DP hardware offload" on Snapdragon devices (if you can), because it forces post re-sampling (48 kHz to 96 kHz) and it is so much worse that this re-sampling.
17-
* Also don't forget disabling "Absolute Volume" of Bluetooth devices in developer settings and setting a volume at the device side to be maximum for the best audio quality by avoiding analog low pass filtering on portable devices having very large input parasitic capacitance.
16+
* Don't forget disabling "A2DP hardware offload" on Snapdragon devices (if you can), because it forces post re-sampling (48 kHz to 96 kHz) and it is so much worse than this re-sampling.
17+
* Also don't forget disabling "Absolute Volume" of Bluetooth devices in developer settings and setting a volume at the device side to be maximum for the best audio quality by avoiding analog low-pass filtering on portable devices having very large input parasitic capacitance.
1818

1919
<br/>
2020
<br/>

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Change logs
22

3+
# v2.0.2
4+
* Lowered the cut-off freq. a little bit more to tune for recent custom and stock ROM's
5+
36
# v2.0.1
47
* Lowered the cut-off freq. a little bit more to tune for recent custom ROM's
58

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
id=resampling-for-cheapies
22
name=Resampling for cheapies
3-
version=v2.0.1
4-
versionCode=2001
3+
version=v2.0.2
4+
versionCode=2002
55
author=zyhk
66
description=For avoiding "cheapie sound" distortion like a thin veiling smokescreen specific to LDAC Bluetooth earphones and DAC's under $30 (probably), this module sets near ideal re-sampling which involves special digital filtering at the system-wide mixer.

service.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ function setResamplingParameters()
5858
resetprop ro.audio.resampler.psd.halflength 520
5959

6060
# If you feel your LDAC earphones or "cheapie" DAC wouldn't become to sound well or loses mellowness at all,
61-
# try replacing "84" (below) with "83", "85" or "86" for appropriately cutting off ultrasonic noise causing intermodulation
61+
# try replacing "83" (below) with "84", "85" or "86" for appropriately cutting off ultrasonic noise causing intermodulation
6262
#
63-
resetprop ro.audio.resampler.psd.cutoff_percent 84
63+
resetprop ro.audio.resampler.psd.cutoff_percent 83
6464

6565
# Uncomment the following resetprop lines if you intend to replay only 44.1 kHz & 16 and 24 bit tracks;
6666
# If you feel your LDAC earphones or "cheapie" DAC wouldn't become to sound well or loses mellowness at all,
67-
# try replacing "92" (below) with "91", "93" or "94" for appropriately cutting off ultrasonic noise causing intermodulation
67+
# try replacing "91" (below) with "92", "93" or "94" for appropriately cutting off ultrasonic noise causing intermodulation
6868
#
6969
#resetprop ro.audio.resampler.psd.stopband 179
70-
#resetprop ro.audio.resampler.psd.cutoff_percent 92
70+
#resetprop ro.audio.resampler.psd.cutoff_percent 91
7171

7272
# Uncomment the following resetprop lines if you intend to replay only 96 kHz & 24 bit Hires. tracks.
7373
# If you feel your LDAC earphones or "cheapie" DAC wouldn't become to sound well,

0 commit comments

Comments
 (0)