Hello,
This is my first attempt at building a Flow. It basically works but needs a few tweaks to meet my requirements.
Basically, I'd like the flow to play an mp3 file every morning. The mp3 itself is several hours long. Also, I always mute my phone when I go to bed, so I'd like this file to play even though the phone is on mute.
Here is the flow I've created:
(Note, it's activated from a desktop shortcut and the first Play Sound box is simply there to provide audible feedback that the button has been pressed).
It does work but only if the phone is unmuted. I did wonder if I could solve this by changing the Audio Stream to Alarm but this didn't help.
For this flow, what Audio Stream would be the most appropriate? I did try and find documentation on this topic but couldn't find anything.
The other 'issue' I noticed was the volume level. I've set the playback to 60% but whilst playing the mp3, a notification came in to my phone and this caused the playback volume to increase sharply. How can I prevent this?
I'd also like any views you may have on making this flow as efficient as possible from a battery consumption POV? I've set the Proceed value to Inexact (as the start trigger doesn't need to be too precise). Is there anything else I should be mindful of?
Currently, once this flow has done it's job for the day, it ends. I then manually enable it for the next day. I assume if I wanted to make this a perpetual flow then I'd loop back the last box (Stop Sound) to the Await Time box, right?
So, in summary, I want this mp3 to play even though my p[hone is muted (similar to the action of a normal alarm). Also, I don't want the specific volume level I set for playback (60%) to be affected by incoming notifications/calls etc. Finally, from a battery efficiency POV, is there anything I need to do to make this flow more efficient
Sorry, lots of questions however any help/feedback would be much appreciated - thanks.