How os6/nospeaker works
NO SPEAKER is a single-file macOS Swift application that turns speech and tones into audible vibration through a Force Touch trackpad, with a terminal-based interactive show. The principal workflow synthesizes speech with macOS, analyzes its audio into formants and pitch, then actuates the trackpad motor; the show also offers a sweep, beat, and touch-play instrument with live terminal visuals. README and excerpts establish these product stages, but omitted portions of the Swift file prevent confirming detailed internal call relationships, so uncertain links are dashed.
Main entry points: nospeaker.swift Show controller
Components 15
Speech and sound
- Speech synthesis
nospeaker.swift - Audio buffer
nospeaker.swift - Formant analysis
nospeaker.swift - Tone and sweep
nospeaker.swift - macOS say
Trackpad output
- Haptic actuator
nospeaker.swift - Force Touch trackpad
- MultitouchSupport
Interactive show
- Command options
nospeaker.swift - Show controller
nospeaker.swift - Captions and prompts
nospeaker.swift - Terminal renderer
nospeaker.swift - Touch instrument
nospeaker.swift - Beat sequencer
nospeaker.swift
Other components
- User
Connections 16
- User → Command options: runs
README.md - Command options → Show controller: starts show
nospeaker.swift - Command options → Speech synthesis: requests speech
nospeaker.swift - Command options → Tone and sweep: selects sweep
nospeaker.swift - Speech synthesis → macOS say: synthesizes with
nospeaker.swift - Speech synthesis → Audio buffer: writes audio
nospeaker.swift - Audio buffer → Formant analysis: provides samples
nospeaker.swift - Formant analysis → Haptic actuator: drives formants
nospeaker.swift - Tone and sweep → Haptic actuator: plays tones
nospeaker.swift - Haptic actuator → MultitouchSupport: uses API
- MultitouchSupport → Force Touch trackpad: actuates
- Show controller → Captions and prompts: updates prompts
nospeaker.swift - Show controller → Terminal renderer: renders show
nospeaker.swift - Show controller → Beat sequencer: runs beat
nospeaker.swift - Show controller → Touch instrument: offers instrument
nospeaker.swift - Touch instrument → Haptic actuator: plays notes
nospeaker.swift