Show HN: Dial Tone – an iOS rhythm game inspired by Slide to Unlock
Category: library
Tags: ios, swift, audio-detection, hardware-state
Score: 4.3/10 (Innovation: 3, Technical: 4, Documentation: 7, Utility: 3)
Mute is a Swift library that detects the state of the iOS hardware mute switch by playing a short sound and measuring its playback duration, filling a gap left by the lack of a native iOS API. It's interesting as a technical workaround for a specific platform limitation, though it's essentially a Swift port of an existing Objective-C library.
Target audience: ios-devs
Repository: https://fidgetwinner.com/making-dialtone · Swift · MIT · 189 stars
View on Hacker News