AutoPlay Media Studio 9

How do I...?

How do I...?

Previous topic Next topic  

How do I...?

Previous topic Next topic  

AnswerList of Questions

Adjust Volume Levels

Adjusting the volume of an audio channel is useful when you want to, for example, have non-intrusive music playing in your project. To accomplish this in AutoPlay Media Studio, use the Audio.SetVolume action.

As an example, we will play a soundtrack in the background, and set the volume to be 25% of maximum:

1.Insert the following code into the On Show event of your page:

Audio.Load(CHANNEL_BACKGROUND, "your_audio_here.ogg", true, true);

Audio.SetVolume(CHANNEL_BACKGROUND, 63); -- sets the volume level to 25% of 255


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us