Hey all,
I am currently working on a fitness app and have run into an issue. I want the user to be able to listen to their own music while working out to my app and i have accomplished this with the following bit of code
if audio.supportsSessionProperty then audio.setSessionProperty(audio.MixMode, audio.AmbientMixMode) end
The issue is that I want to play audio cues for the user so they don’t have to look at their phone while doing the exercises. I can play the audio cues over the music currently but it is hard to hear with the music playing loud. My questions is is there a way to fade the external music so I can play the audio cue and then restore the external music to its previous volume after the cue has finished?