soundscape-community / soundscape

An iOS application/service that aids navigation through spatialized audio
https://soundscape.services
MIT License
21 stars 22 forks source link

Auditory speedometer #40

Open steinbro opened 1 year ago

steinbro commented 1 year ago

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.

kpozin commented 1 year ago

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.

steinbro commented 1 year ago

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