Forum Discussion

DavidBrown-71c8's avatar
DavidBrown-71c8
Community Member
16 days ago
Solved

Background Audio On/Off Toggle

I use Background Audio playlists as I like the rise in music volume as an audio cue to the user to advance to the next slide.  However, some users prefer a divine silence and I was having to build in instructions on how to access the Settings menu of the player to turn Background Audio off.  It's not difficult to do so, but it's inelegant and clunky.

Surely there must be a better way, and indeed there is.  If you'd like a simple toggle for users please see the below attachment.

  • Hi David!

    Yes, it's possible to build your own toggle switch 'in slide'. You can add a trigger to Pause/Stop/Play the Background Audio like any other media, or adjust the built-in BackgroundAudioVolume variable to change its volume (as a percentage).

    Here's an example where I used a standard trigger to Play/Pause the Background Audio.

    https://bit.ly/elhc484

    And here's a more recent example where I have linked the BackgroundAudioVolume variable to the position of a dial.

    https://bit.ly/elhc491 

    Whatever name you give to your playlist, this will show in the media list when you build a standard trigger.

    You'll find the BackgroundAudioVariable variable in the Built-in Variables trigger list.

    Ashley Chiasson covers this method in one of her brilliant tutorial videos:

    https://youtu.be/hD9JId1EqZU?si=kr777WAUOldv3aBt 

     

  • Hi David!

    Yes, it's possible to build your own toggle switch 'in slide'. You can add a trigger to Pause/Stop/Play the Background Audio like any other media, or adjust the built-in BackgroundAudioVolume variable to change its volume (as a percentage).

    Here's an example where I used a standard trigger to Play/Pause the Background Audio.

    https://bit.ly/elhc484

    And here's a more recent example where I have linked the BackgroundAudioVolume variable to the position of a dial.

    https://bit.ly/elhc491 

    Whatever name you give to your playlist, this will show in the media list when you build a standard trigger.

    You'll find the BackgroundAudioVariable variable in the Built-in Variables trigger list.

    Ashley Chiasson covers this method in one of her brilliant tutorial videos:

    https://youtu.be/hD9JId1EqZU?si=kr777WAUOldv3aBt 

     

    • DavidBrown-71c8's avatar
      DavidBrown-71c8
      Community Member

      Thank you, that's a far more efficient solution.  My trigger now looks like:

      Assuming I have an object named BG Audio On/Off "♪" with states Normal and Off.

      • DavidBrown-71c8's avatar
        DavidBrown-71c8
        Community Member

        Upon testing, I find the above trigger does not persist between slides, so turning the Background Audio playlist off on one slide still has it play on the next.  Thus, I return to my original solution that accounted for this problem.

  • Apologies DavidBrown-71c8 if I've misinterpreted your original post.. I thought you were seeking help to find a solution, and elements of my method overlap with your own.

    • DavidBrown-71c8's avatar
      DavidBrown-71c8
      Community Member

      Apology? No, no. Criticism is always welcome and sought after.  As a DISC type C personality, I'm always trying to find a more perfect solution, not just one that does the job inelegantly.  Your input is much appreciated!