I built PhoneEar
说明与用途
PhoneEar 通过 Wi‑Fi 将 Mac 声音路由到 iPhone 耳机,自动静音 Mac 扬声器。
问题
Need to listen to audio from a Mac on phone headphones without using Mac speakers
结果
Audio from Mac now plays through iPhone headphones, Mac speakers mute automatically, works over home Wi‑Fi, free and open source
工作流
- Run PhoneEar on Mac
- Scan QR code with iPhone Safari
- Tap "listen" on iPhone
证据
Ever wanted to watch something on your Mac but hear it in your phone's headphones?
So I built PhoneEar 🎧
▶️ Run it on your Mac 📱 Scan the QR code with your iPhone 👆 Tap "listen"
✅ No iPhone app. It runs in Safari
✅ Mac speakers mute automatically
✅ Works over your home Wi‑Fi
✅ Free and open source (MIT)
✅ The whole thing is one Swift file
The most fun bug along the way: the audio sounded about 9% too fast and kept stuttering. It turned out macOS reported the audio as 48,000 Hz, but the MacBook speakers actually run at 44,100 Hz.
- 记录日期: 2026-10-22T00:26:33.335Z