Indigo Rose Software
  #1  
Old 10-03-2003
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Grin 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.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
  #2  
Old 11-20-2006
Ed Stanley Ed Stanley is offline
Forum Member
 
Join Date: Feb 2006
Location: Greenville, TX
Posts: 39
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
  #3  
Old 12-05-2006
longedge longedge is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Posts: 1,847
Quote:
Audio.Load(CHANNEL_BACKGROUND, "your_audio_here.ogg", true, true);
Quote:
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 at 01:16 AM.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -6. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software