I built PhoneEar
Описание и применение
PhoneEar позволяет воспроизводить звук с Mac на наушниках iPhone через Wi‑Fi, автоматически отключая громкоговорители 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