Scottish-Tech-Army / Soundscape-Android

This is the source for an Android version of the original iOS Soundscape app
https://scottish-tech-army.github.io/Soundscape-Android/
Other
2 stars 2 forks source link

Audio icons #148

Open davecraig opened 3 days ago

davecraig commented 3 days ago

iOS has a selection of sounds to indicate various events e.g. moving offline due to lack of network connection. We don't currently support the playback of those in the audio engine, so we need to add them and hook the playback into the events which drive them.

davecraig commented 11 hours ago

Android TextToSpeech has various ways of adding sounds and I was hoping that addSpeech would allow me to get the TTS engine to do all of the work. However, it looks like that only works with speak and not with synthesizeToFile which is what we have to use. I'll have to figure out another way, likely a new kind of PositionedAudio which is like a non-repeating beacon that can be queued with the speech.