Announcement

Collapse
No announcement yet.

Adjusting Volume Levels

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adjusting Volume Levels

    AutoPlay Media Studio 5.0 Knowledge Base

    Adjusting Volume Levels

    Document ID: IR10096
    The information in this article applies to:
    • AutoPlay Media Studio 5.0 Standard Edition
    • AutoPlay Media Studio 5.0 Professional Edition

    SUMMARY

    This article describes how to adjust the volume level in your application.

    DISCUSSION

    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.

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

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

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

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

    MORE INFORMATION

    For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

    • Program Reference | Actions | Audio | Audio.Load
    • Program Reference | Actions | Audio | Audio.SetVolume

    KEYWORDS: AutoPlay Media Studio 5.0, Audio, Sound, Volume


    Last reviewed: October 3, 2003
    Copyright © 2003 Indigo Rose Corporation. All rights reserved.

  • #2
    Adjusting Audio Levels in AMPS 6

    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

    Comment


    • #3
      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
      Last edited by longedge; 12-05-2006, 12:16 AM.

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎