Hi all. Long-time reader. I built a small macOS app to fix a problem that has annoyed me for a while, and I'd like this crowd to poke holes in it.
The problem. Apple Music on the Mac sends everything through the system mixer. The mixer resamples each track to whatever rate the output device is set to. So a 96 kHz track goes to your DAC at 48 kHz (or whatever Audio MIDI Setup says), and system alerts get mixed into the same stream. LosslessSwitcher fixes the rate part by reading Music's logs and changing the device rate, but the switch happens after the track starts, so the first moment can play at the wrong rate.
What Nativerate does. It started as a fork of LosslessSwitcher and keeps its rate switching. It adds an Exclusive Mode:
Tested on: Neumann MT 48, RME Babyface Pro, AudioQuest DragonFly Black, MacBook Pro speakers. macOS 26 and 27, Apple Silicon.
Caveats. It's ad-hoc signed, not notarized (right-click > Open the first time). Installing the driver needs an admin password. It asks for Microphone access (that's how the engine reads the virtual device) and Automation for Music.
Links
The problem. Apple Music on the Mac sends everything through the system mixer. The mixer resamples each track to whatever rate the output device is set to. So a 96 kHz track goes to your DAC at 48 kHz (or whatever Audio MIDI Setup says), and system alerts get mixed into the same stream. LosslessSwitcher fixes the rate part by reading Music's logs and changing the device rate, but the switch happens after the track starts, so the first moment can play at the wrong rate.
What Nativerate does. It started as a fork of LosslessSwitcher and keeps its rate switching. It adds an Exclusive Mode:
- Music plays to a virtual output device (a HAL plug-in). The engine reads it and passes the samples unchanged to your DAC. It hogs the DAC and uses the DAC's integer (non-mixable) format when available. The virtual device's clock follows the DAC's, so nothing gets resampled.
- At a sample-rate change, it catches the end of the old track, pauses Music, switches the DAC, rewinds, and plays. No track starts at the wrong rate. Same-rate and gapless transitions pass through untouched. Works with local files and Apple Music streams.
- Other apps and alert sounds go to a different device (built-in speakers by default), so they never mix into the DAC's stream.
- Volume keys drive the DAC's own hardware volume; the digital stream stays at unity.
- A Bit-Perfect Check menu item tells you whether the current path is bit-perfect, and if not, why (Sound Check, EQ, crossfade, Music volume below 100, etc.).
- macOS 27.0.1 (Music 1.7): Music's samples matched the files exactly, 16 and 24 bit, and Nativerate's output matched them.
- macOS 26.6.2 (Music 1.6.6): Music itself does notdeliver bit-exact samples, even with every sample-altering setting off. Its output arrives scaled by about 0.99999997 (about -0.0000003 dB). A 16-bit track lands within 0.006 of an LSB; 24-bit within 1.5 LSB. Inaudible, but not bit-exact, and that happens before Nativerate sees it. The Bit-Perfect Check reports it as "16 bit, but not bit-exact" rather than pretending otherwise.
Tested on: Neumann MT 48, RME Babyface Pro, AudioQuest DragonFly Black, MacBook Pro speakers. macOS 26 and 27, Apple Silicon.
Caveats. It's ad-hoc signed, not notarized (right-click > Open the first time). Installing the driver needs an admin password. It asks for Microphone access (that's how the engine reads the virtual device) and Automation for Music.
Links
- Source and README: https://github.com/dizzysound/Nativerate
- Download: https://github.com/dizzysound/Nativerate/releases
- Hardware report form (takes a minute, helps the next person with your DAC): https://github.com/dizzysound/Nativerate/issues/new?template=hardware_report.yml