Asset Volume Control


If possible, it would be very helpful to have an asset setting to control sound or control it in the timeline. In my Interactive Book, I use lots of sounds based on clicks or page load. It would be nice to easily be able to control that sound so that I don’t have to edit the volume first before bringing it into the app. Thanks!


1 Like

How are you embedding the sound. I ask because there is Javascript solution for this.

if you using something like

<audio id="myAudio1" width="200" preload="auto">
    <source src="${resourcesFolderName}/ContBeat.mp3" type="audio/mpeg">  

In a rectangle element’s innerHTML.

You can set a listener up for it when it is in a ready state to be able to play. ( fully loaded )

The listener can then be set to set the volume level.

	var aud1 = hypeDocument.getElementById("myAudio1");
aud1.oncanplay = function() {
    aud1.volume =0.1

Now when the mp3 plays it will play at the set level.

1 Like