Last updated: 2023-10-22 Sun 19:29

Schiit Magni 3 headphone Amp, Modi 3 DAC with Apple Lightning Dock
With iOS Neutron Music Player

Table of Contents

The setup

This is a tutorial on how to setup a bit-perfect headhphone stand that is both cost effective and performant.

Philosophy

  • Write article how you setup your offline music collection.
  • Hardware, player software, tagging, streaming… Similar to this.
  • Start with theory: why self-hosted
  • Stack as per this.
  • You need separate powersource for apple dock.
  • Then, download your flac tunes in iphone and install Onkyo player pro, 10€ (see if there's a free try out before).
  • Inspect with the player your file sample rate: "original sample rate of the audio file and the actual rate being played." Source.
  • But having 192-kHz/24-bit FLAC files doesn't really matter: "Unfortunately, there is no point to distributing music in 24-bit/192kHz format. Its playback fidelity is slightly inferior to 16/44.1 or 16/48, and it takes up 6 times the space." Source.
  • Document to schiit article, and mention hardware cahnges first under philosophy. Reason? Formulate it as in here under philosophy.

Hardware

If you want to play hi-res music you are currently limited by the DACs inside iPhones.

iPhone DACs can at maximum play music files of 24-bit/48 kHz and if you try to play anything higher resolution, say, flac files you've downloaded from various streaming services, your 24-bit/96 kHz and 24-bit/192 kHz tunes (or what have you), iPhone will just downsample them to 24-bit/48 kHz.

If you want to listen to anything higher than 24-bit/48 kHz, you'd need to connect your iPhone to an external DAC.

DACs are built into Apple devices like the iPhone, but they are only mid-range DACs that max out at 24 bit at 48 kHz. Apple's Lightning to 3.5 mm Headphone Jack Adapter has a DAC, but it likely maxes out at the same bit depth and sample rate. Some Lightning and USB headphones have DACs, but again, they likely won't get you Hi-Res compatibility. That's why a higher-quality DAC is needed.1

Software

Music is stored on an external HDDs operated by OMV and accessed by Neutron over Wireguard. See omv.html and pihole.html for more info.

NEXT Setup OMV HDDs over non-usb connection to avoid Neutron timing output

It seems to be connectivity through USB may cause problems.

Music

I have music in multiple samplerates which I want to listen to as they are. So do have any files higher than 24-bit/48 Khz?

I ran a query against my music library in Beets to see:

$ beet list -f '${samplerate}' > samplerate.txt

44100
48000
88200
96000
176400
192000

Yes, I do.

44kHz and 48kHz are what every other samplerate builds on, so 44100, 88200, 176400, 352800 are all multiples of 44100hz, so if you have music in these samplerates (or its multiples), it is basically 44100. Same thing with 48000: 96000, 192000, 384000, 768000… it is basically 48000.

What about bitdepth?

$ beet list -f '${bitdepth}' > bitdepth.txt

16
24

As everything I have is in flacs, those are the two bitdepths returned. No 128, 192, 256, 320 kbps mp3s, or 1 bit DSDs. Just flacs.

I picked one of each above 49kHz to test with if I can get them to play with iPhone and via external DAC.

$ beet list -p 'samplerate:88000..' (so basically 44 kHz)

Anubis - 2020 Homeless
media: CD
bitdepth: 24
samplerate: 88200

$ beet list -p 'samplerate:96000..' (so basically 48 kHz)

Cosmograf - 2021 Mind Over Depth
media: Digital Media
bitdepth: 24
samplerate: 96000

$ beet list -p 'samplerate:176400..' (so basically 44 kHz)

Procol Harum - 2017 Novum
media: CD
bitdepth: 24
samplerate: 176400

$ beet list -p 'samplerate:192000..' (so basically 48 kHz)

MONO - 2006 You Are There
media: CD
bitdepth: 24
samplerate: 192000

Order from

Magni 3+ headphone AMP and PREAMP (SKU: ARTMGN3+-Silver)

Modi 3 - AFFORDABLE DO-ALL DACS (SKU: ARTNMD3-Silver)

NEXT iPhone 13 Mini not charging nor connecting

I get the following error popup with Camera Adapter (Model A1619) and Lightning Dock (Model A1717) combo:

Accessory not supported

This accessory is not supported by this device

The problematic component seems to be the Lightning Dock stand as solely with Camera Adapter both connectivity and charging works.

Do I pass enough power?

Tested so far with these Apple chargers:

  • [X] Model A1400 (5W power unit): Input 100-240V ~ 50-60Hz 0.15A, Output 5V 1A (tested)
  • [X] Model A1357 (10W power unit): Input 100-240V ~ 50-60Hz 0.45A, Output 5.1V 2.1A (tested)
  • [-] Model A1401 (12W power unit): Input 100-240V ~ 50-60Hz 0.5A, Output 5.2V 2.4A
  • [-] Model A1720 (18W power unit): Input 100-240V ~ 50-60Hz 0.5A, Output 5V 3A OR 9V 2A (supports iPhone 8 and newer fast charging)
  • [-] Model A2305 (20W power unit): Input 100-240V ~ 50-60Hz 0.5A, Output 5V 3A tai 9V 2.22A

Test next with 12W power unit, and see if tricks here work: https://discussions.apple.com/thread/253014702

Otherwise test if passing signal solely through camera adapter is enough for high res sound (confirm with Onkyo, Hibymusic or Neutron) and compare results to iPhone 8, which does work & charges with camera adapter/lightning dock combo.

Neutron player

Settings in Neutron

Settings - Playback - DS Effect - Frequency Response Correction (On) - Sennheiser HD 650 (Crinacle, Ears-711). See: https://neutroncode.com/forum/viewtopic.php?f=3&t=6134&sid=741112d452f86455a3143e214d3b051e#p16249 Settings - Playback - Equalizer Presets - 4-Band Parametric (Default) - Device - "USB: Schiit Modi 3": On (The "4-Band Parametric (Default)" can't be disabled, so leaving it on with "USB: Schiit Modi 3" selected). Settings - Playback - Replay Gain: 'Album' If Whole Album (Replay gain is applied, only if this is defined in tags. If set, Neutron displays on top of main screen the +-db change, usually by lowering it). Settings - Playback: 64-Bit Processing (After setting this, Settings - Audio Hardware: Bits changes from 32 to 64). Settings - Playback - Resampling: Audiophile (After setting this, Yes - Owner of the Lonely Heart over NFS starts cracking on iPhone 14 at 0:00. At 1:14 the cracking is over, and starting over the song, cracking has disappeared. Could be buffering issue. Edit: on exiting Neutron, unhooking the usb, waiting 30 min, rehooking usb, and relaunching Neutron, the playback is choppy again. Pressing pause and waiting 30 min resolves the issue. This is definetely network issue. Play around with network settings next to experiment how to cut down the choppiness.). Settings - Profile - Bit-perfect (Device, Digital USB, Digital: UPnp/DLNA, Chromecast) - Device: "USB: Schiit Modi 3" Settings - Profile - Bit-perfect - "Digital: USB:" On Settings - Profile - Bit-perfect - "UPnp/DLNA, Chromecast:" On (this is dubious if needed, but needed for bit-perfect on iOS, according to this: https://neutroncode.com/forum/viewtopic.php?f=3&t=6435&hilit=usb+lightning&sid=92e881431fa443af28fb27590ac7f64c&start=10#p17499 Settings - Audio Hardware - Follow Source Frequency: On

Set up streaming to outside with mpd and snapcast

and it has multiple compliant iOS clients to choose from: play:sub, amperfy and substreamer.

Pre-installation tasks

DONE Download "Intermod Tests" samples from this page on iphone and listen.

Footnotes:

1

Gadgethacks article that elaborates on this.

Tuomas Pyyhtiä / Validate Vim 8.2 (vim-orgmode 0.6.0)