Forum Discussion
JimOwen-f418d1f
10 months agoCommunity Member
Volume slider thing
I'm wondering if this is possible.
I want to play two pieces of audio simultaneously. I want the user to be able to drag a slider back and forth to change the volumes of the audio clips. If they a...
JimOwen-f418d1f
10 months agoCommunity Member
I have found from a previous thread this Javascript:
var $volume = (GetPlayer().GetVar('volume') / 10);
DS.appState.currentVolume($volume);
But that is setting the volume for the entire project, not individual audio objects. Is there any way to control the volume of objects independently?
If I insert the 5 audio files as described above, with different relative volume levels, would it perhaap be possible to mute all but one of them but keep them running so that when I switch they are still synced up?