Sound
(NOTE) Changes the pitch and speed of audio generated by its input SoundNodes.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
InterpolatePitch | Pitch | soundnode | |
InterpolateSemitones | Semitones |
Properties
Pitch : real
The pitch adjustment applied to the node's input. A value of 0 will not affect the sound's pitch; 1 will raise the pitch by an octave and speed up the sound, and -1 will lower the sound by an octave and slow it down. Large pitch changes will likely affect the quality of the sound.
var Pitch : Real
Semitones : real
The pitch adjustment, in semitones (or half-steps), applied to the node's input. A value of 0 will not affect the sound's pitch; 12 will raise the pitch by an octave and speed up the sound, and -12 will lower the sound by an octave and slow it down. Large pitch changes will likely affect the quality of the sound.
var Semitones : Real
Methods
InterpolatePitch : Void
Interpolates the Pitch 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| |---|---|---| |pitchRatio|real| | |interpolationTime|real| |
function InterpolatePitch(pitchRatio : Real, interpolationTime : Real)
InterpolateSemitones : Void
Interpolates the Semitones 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| |---|---|---| |pitchSemitones|real| | |interpolationTime|real| |
function InterpolateSemitones(pitchSemitones : Real, interpolationTime : Real)