|
Volume Action |
Declaration |
<AMVOLUME DEVICE="text [options]" VOLUME="text [options]" LEFT="number" RIGHT="number" MUTE="text [options]" TONE="text [options]" BASS="number" TREBLE="number"> |
See Also |
Changes volume and tone settings on the system. Note that the Tone settings are system wide and do not correspond to a selected device.
See description.
Specifies the sound device on the system "mixer" should be acted upon.
The available options are:
main: The master volume control should be adjusted - affects all devices.
wav: The "wav" device volume control should be adjusted.
cd: The CD Player device volume control should be adjusted.
midi: The MIDI device volume control should be adjusted.
Specifies whether the volume should be set to a particular value or increased or decreased by a certain increment.
The available options are:
ignore: The volume will not be adjusted.
set: Sets the volume to a particular position as specified in the RIGHT= and LEFT= parameters. The range is 0-100
increase: Increases the volume by a the increment specified in the LEFT= and RIGHT= parameters.
decrease: Increases the volume by a the increment specified in the LEFT= and RIGHT= parameters.
Specifies the value that the left speaker should be set to. If the VOLUME= parameter is set to SET then the value represents a 0-100 number with 0 being volume all the way down, and 100 being maximum. If the VOLUME= parameter is set to increase or decrease then this number represents the amount of "ticks" that the volume should be incremented or decremented by.
Specifies the value that the right speaker should be set to. If the VOLUME= parameter is set to SET then the value represents a 0-100 number with 0 being volume all the way down, and 100 being maximum. If the VOLUME= parameter is set to increase or decrease then this number represents the amount of "ticks" that the volume should be incremented or decremented by.
Turns mute on or off on the specified device.
The available options are:
ignore: The mute setting will not be changed.
on: The mute setting will be enabled on the specified device.
off: The mute setting will be disabled on the specified device.
Specifies whether the tone should be set to a particular value or increased or decreased by a certain increment. Tone adjustments are not specific to one device.
The available options are:
ignore: The tone will not be adjusted.
set: Sets the volume to a particular position as specified in the RIGHT= and LEFT= parameters. The range is 0-100.
increase: Increases the volume by a the increment specified in the LEFT= and RIGHT= parameters.
decrease: Increases the volume by a the increment specified in the LEFT= and RIGHT= parameters.
Specifies the value that the Treble should be set to. If the TONE= parameter is set to SET then the value represents a 0-100 number with 0 representing the bass all the way down, and 100 being maximum. If the TONE= parameter is set to increase or decrease then this number represents the amount of "ticks" that the bass should be incremented or decremented by.
Specifies the value that the Treble should be set to. If the TONE= parameter is set to SET then the value represents a 0-100 number with 0 representing the treble all the way down, and 100 being maximum. If the TONE= parameter is set to increase or decrease then this number represents the amount of "ticks" that the treble should be incremented or decremented by.
Standard Error Handling Options
This action also includes the standard "Error Causes" and
"On Error" failure handling options/tabs
More on Error Handling Options
Variables and Expressions
All text fields allow the use of expressions by surrounding the
expression in percentage signs (example: %MYVARIABLE%,
%Left('Text',2)%). To help construct these expressions, a popup
expression builder is available in all these fields by pressing F2.
More on variables...
More on expressions...
More on the expression builder...
<AMVOLUME VOLUME="set" LEFT="68" RIGHT="68">
<AMVOLUME VOLUME="set" LEFT="68" RIGHT="68" TONE="increase" BASS="86" TREBLE="100">