mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
D-Modem-RE's ITU table (dsp/tones.cpp, 192 countries after E.180) in the shared Kotlin (tones/: generated by tools/country_tones.py, checked against the submodule by CountryTonesSourceTest), with a synthesizer for its tones (two frequencies, or one modulated; the cadence, its edges ramped). Android: - Settings: the country picked from the list (searched, each with its tones, a button to hear them), for the modem (its line settings, how it hears busy) and the tones; "Call progress tones" on or off - dialling a directory entry plays a second of the country's dial tone before ATD - CallProgress plays the busy tone on BUSY, the congestion tone for a dial that ends (NO CARRIER, NO DIALTONE) before the far end answered, and the ringing tone while the other phone rings on the phone-to-phone line (no network there to play one); a handshake stops them - CallTones plays them on the phone's speaker, in their own stream iOS: the country picker in Settings (it had the setting, not the UI). Tests: CountryTonesTest (the table, each tone's frequencies and cadence, on the JVM and natively), CallTonesTest (when each plays; a second of the UK's dial tone, stopping, the preview). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs