[codex] v3.31 add optional proximity sonification#18
Draft
Anthonyiswhy wants to merge 2 commits into
Draft
Conversation
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-on PR stacked on #17. This adds an optional non-speech proximity tone layer inspired by the IJHCS sonification guidance study.
This should be tested only after #17 behaves acceptably in the hallway.
What changed
ProximityTonePlayerfor local stereo pulses.BLINDNAV_AUDIO_MODE=quiet|balanced|trainingBLINDNAV_PROXIMITY_TONES=1BLINDNAV_TONE_VOLUME=0.0..1.0tools/run_tts_clips_tones.shfor later field testing.Why
The study suggests a useful split: use short verbal instructions for requested actions, and non-speech sonification for quantities like distance/remaining correction. For BlindNav, that maps well to:
Stop,person left,obstacle aheadValidation
python3 -m pytest tests/test_blindnav_v326.py::TestProximityTonePlayer -q5 passedpython3 -m pytest tests/test_blindnav.py tests/test_blindnav_v326.py -q211 passed in 12.74sField test order
Listen for whether the pulses improve nearby side/ahead awareness without masking hallway sounds or making speech harder to catch.