soundscape icon indicating copy to clipboard operation
soundscape copied to clipboard

Auditory speedometer

Open steinbro opened this issue 1 year ago • 2 comments

How difficult would it be to enhance the callout "Traveling southwest along Main Street" to e.g. "Traveling southwest along Main Street at approximately 20 miles per hour?" How accurate would this number be? I know that Soundscape already has some mechanism for detecting when the user is in a moving vehicle, possibly based on moving speed, to determine how many points of interest it tries to announce.

steinbro avatar Jul 30 '23 09:07 steinbro

See AlongRoadLocationCallout.sounds.

You can access the speed from CLLocation.speed. speedAccuracy is available on the same struct.

You'll have to add localized strings to handle the new utterances.

kpozin avatar Aug 04 '23 02:08 kpozin

Thanks, Konstantin! That will be very handy knowledge when we get around to this feature.

steinbro avatar Aug 09 '23 14:08 steinbro