Sound
(NOTE) Changes the volume of audio generated by its input SoundNodes.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
InterpolateDecibels | Decibels | soundnode | |
InterpolateVolume | Volume |
Properties
Decibels : real
The volume adjustment, in decibels, that will be applied to the node's input. A value of 0 does not affect the sound; 6 will double the sound's volume, -6 will halve it, and -100 is effectively the same as a Volume of 0.
var Decibels : Real
Volume : real
The volume adjustment that will be applied to the node's input. A value of 1 does not affect the sound; 2 will double the sound's volume, 0.5 will halve it, and 0 will make the sound inaudible.
var Volume : Real
Methods
InterpolateDecibels : Void
Interpolates the Decibels property from its current value to the value passed in as the first parameter, over the number of seconds passed in as the second parameter. |Name|Type|Description| |---|---|---| |volumeDB|real| | |interpolationTime|real| |
function InterpolateDecibels(volumeDB : Real, interpolationTime : Real)
InterpolateVolume : Void
Interpolates the Volume property from its current value to the value passed in as the first parameter, over the number of seconds passed in as the second parameter. |Name|Type|Description| |---|---|---| |volume|real| | |interpolationTime|real| |
function InterpolateVolume(volume : Real, interpolationTime : Real)