My big project this year is building a button. One of my neighbors has been complaining about the Christmas music being too loud, and so I'm building a big button that will turn up the audio for 3.5 minutes before lower the volume again. So I'll have a sign that says "Press Button for Music." HLS will be playing my sequences as normal, and my button when pressed will turn up the audio volume for about the length of a song before muting the volume. It's been a fun project, but it's got me thinking. It would definitely be cool if I could also control HLS from this button. I think I've asked for something similar in the past, so I'm not holding my breathe...but I thought I'd request it again. Here is what I'd want to do with HLS.
1. My lights are playing my "generic lights sequence" in a loop, over and over. It just twinkles the lights with no audio.
2. HLS has all my other song sequences loaded into memory...so they can start quickly.
3. Someone walks by and presses my button. Audio goes to full and I call a HLS API that kicks off the next song sequence in the HLS playlist.
4. Once the song ends HLS returns to loop "generic lights sequence" again.
So in this new scenario, a button press doesn't just control volume, it also kicks off an HLS sequence. If there is a way to already accomplish this let me know. I think it would be pretty cool to turn my house into a giant jukebox.
-=Steve
1. My lights are playing my "generic lights sequence" in a loop, over and over. It just twinkles the lights with no audio.
2. HLS has all my other song sequences loaded into memory...so they can start quickly.
3. Someone walks by and presses my button. Audio goes to full and I call a HLS API that kicks off the next song sequence in the HLS playlist.
4. Once the song ends HLS returns to loop "generic lights sequence" again.
So in this new scenario, a button press doesn't just control volume, it also kicks off an HLS sequence. If there is a way to already accomplish this let me know. I think it would be pretty cool to turn my house into a giant jukebox.
-=Steve