PDA

View Full Version : Adjusting Volume Levels


Desmond
10-03-2003, 04:14 PM
<HTML> <HEAD> <TITLE>AutoPlay Media Studio 5.0 Knowledge Base</TITLE> </HEAD> <BODY> <h3>Adjusting Volume Levels</h3> <b>Document ID: IR10096</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Standard Edition</li> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to adjust the volume level in your application.</p> <h3>DISCUSSION</h3> <p>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 5.0, use the Audio.SetVolume action.<br> <br> As an example, we will play a soundtrack in the background, and set the volume to be 25% of maximum:<br> <br> Insert the following code into the On Show event of your page:<br> <br> <code>Audio.Load(CHANNEL_BACKGROUND, "your_audio_here.ogg", true, true);<br> <br> -- set the volume level to 25% of 255:<br> Audio.SetVolume(CHANNEL_BACKGROUND, 63); <br></code> </p> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Actions | Audio | Audio.Load</b></li> <li><b>Program Reference | Actions | Audio | Audio.SetVolume</b></li> </ul> <p>KEYWORDS: AutoPlay Media Studio 5.0, Audio, Sound, Volume </p> <hr> <FONT SIZE=1> Last reviewed: October 3, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>

Ed Stanley
11-20-2006, 12:36 PM
I am using mp3 tracks in an autorun cd. When the cd is opened on the pc, the audio levels, even after increasing the volume setting on the pc to max., the sound level is still low. This was called to my attention by a laptop user.
So I went back to the original AMS6 program to try to adjust the playback levels. But when I use Audio.SetVolume(CHANNEL_NARRATION, 0); no matter where I set the volume no.; from 0 to 255, there seems to be little difference in the pb sound volume. How noticable is the difference supposed to be? The original tracks were produced in ProTools LE6 and levels "normalized", prior to converting to mp3 files.
Also, I have noticed a difference in the sound level between "Page Preview" and "Publish Preview." Is that normal?

Thanks for advice/input.

Ed Stanley

longedge
12-05-2006, 01:13 AM
Audio.Load(CHANNEL_BACKGROUND, "your_audio_here.ogg", true, true);

But when I use Audio.SetVolume(CHANNEL_NARRATION, 0)

If you are using this example, then you won't be able to control volume using the narration channel. Whichever channel you are using to load/play sound is the one where the volume should be set. Just a thought :)