Skip to content

Releases: yzyhk904/USB_SampleRate_Changer

v3.0.3

02 Jan 07:47
5ab2aaf
Compare
Choose a tag to compare
  • Added a "Usage_Samples" script which enables "DRC" with max samplerate detection

Use the above script if your phone inverts the effect of the DRC switch, e.g., Poco F3 & F6 crDroid, Pixel3 LineageOS 22.1, etc.

v3.0.2

15 Dec 12:13
11ebf60
Compare
Choose a tag to compare
  • Added an exception for Asus Zenfone 9 to change its Bluetooth HAL form "bluetooth" to "bluetooth_qti"
  • Added a cheapies-48kHz-cheapest resampler

The cheapies-48kHz-cheapest resampler is for very cheap LDAC earphones or people who don't like mellow sound (intermodulation distortion caused by ultra sound noise) anyway.

v3.0.1

13 Nov 13:59
cb1bb9d
Compare
Choose a tag to compare
  • Added "--safest-auto" mode for automatic max. USB samplerate detection for old devices
  • Fixed to adjust volume curve table links in an audio policy configuration template dynamically for avoiding miss-linking (e.g., Asus Zenfone9)

v3.0.0

23 Oct 11:20
beb0e80
Compare
Choose a tag to compare

Major upgrade (v3.0.0):

  • Added 7.0 audio policy configuration supports
  • Added automatic max. sample rate detection (for USB devices) supports

Note:

v2.8.7

28 Aug 15:42
ff1c220
Compare
Choose a tag to compare

Optimized for POCO F6 custom ROMs

  • I/O scheduler tunables
  • to use "bluetooth_qti" module instead of AOSP "bluetooth" one when using bypass modes (excluding offload modes) as a workaround

v2.8.6

28 Jul 06:19
7fc42a6
Compare
Choose a tag to compare
  • Changed the default Bluetooth sample rate of "safer" templates from 44.1 kHz to 48 kHz for Am@zon music SD (Opus 48 kHz & 192 kbps vbr stereo) tracks
  • Adjusted jitter optimizations and others for YTM's format change from AAC (141; 44.1 kHz & 256 kbps cbr stereo) to Opus (774; 48 kHz & 256 kbps vbr stereo)

v2.8.5

07 Jun 07:55
b2d2bca
Compare
Choose a tag to compare
  • Changed dirty_ratio and dirty_background_ration to be 100 to reduce jitter
  • Changed adjustSoC_mq for A14 and later clover not to round I/O parameters
  • Adjusted cfq I/O parameters for SDM69x devices
  • Added a new re-sampler script specially tuned for DAC's under $30 and LDAC BT devices both having large non-linear amp. distortion in "Usage Samples/Resampling"

New cheapies re-sampler script could improve audio quality significantly for both DAC's under $30 and LDAC BT devices, especially when replaying 44.1kHz tracks up-sampled over 96kHz & 24bits by AudioFlinger (the system-wide mixer), but also for internal speakers receiving 48kHz & 24bits audio data (except 48kHz & 16bits).

Because its re-sampling near ideally cuts a freq. zone just above 20kHz (ultrasonic noise) made by high freq. dithering and deteriorating audible sound by intermodulation amplified by large amp. non-linearity of cheap DAC's and BT devices.

Edit: Added cheapies-hires re-sampler script for Hires. tracks through LDAC bluetooth earphones without ultrasonic noise to improve audio quality.

Edit2: Adjusted I/O scheduler parameters of Clover (A14)

v2.8.4

04 May 10:56
99dc2e2
Compare
Choose a tag to compare
  • Changed read ahead buffer sizes from 16960 kB to 17000 kB to reduce I/O jitter
  • Adjusted NrRequests of I/O scheduling
  • Adjusted "extras/jitter-reducer.sh" for Galaxy S4 (A12)
  • Added mock equipment filters (in-DAC over-sampling filters and a mastering tool re-sampler) in "Usage Samples/Resampling"

Note: Those who are curious about in-DAC over-sampling filter distortion, please try mock series shell scripts in "Usage_samples/Resampling" folder after setting the input sample rate of your USB DAC to be 353kHz (8x over-sampling) or 705 kHz (16x over-sampling). You could know pre-echo, ringing, and intermodulation (an ultrasonic frequency effect) in USB DAC's by comparing to a mastering quality re-sampling. Don't forget to use "Audio Misc. Settings", "audio-jitter-silencer", and "extras/jitter-reducer.sh" for reducing audio jitter ultimately.

Edit:

  • Adjusted mock DAC-C filter shell script for better spaciousness

Edit2:

  • Recommended music streaming services (under ultimately reduced jitter circumstances): "Youtube Music" and "Spotify",
    because of both not using a much worse internal re-sampler in their player and not adding considerable "post-echo" (ringing) into HD and AAC tracks by some production process, unlike other services

v2.8.3

30 Mar 08:20
5337a76
Compare
Choose a tag to compare
  • Fixed io-scheduler reverting (++io option) for Galaxy S4 (A12)
  • Fixed thermal-jitter-reducer in "extras/jitter-reducer.sh" (killing vendor.thermal-engine)
  • Fixed Pixel7's default USB sample rate limiter (96kHz -> 192kHz) for adapting to a recent change
  • Added a workaround for recent Pixel Firmwares (not to reboot when superuser resetprop'ing over props modified through system.prop of a magisk module)
  • Reorganized "Usage Samples"

v2.8.2

31 Dec 11:06
1f671f8
Compare
Choose a tag to compare
  • Fixed for Pixel 8's

Edit: Fixed Usage samples for executing on KernelSU ("exec su" to "su" for correct expansion of shell variables)