SetGlobalPitch
From OxeyeWiki
audio.setGlobalPitch(modulation) | ||
Globally pitch shifts the entire sound buffer. | ||
Parameter | Expected Type | Description |
modulation | A number | How pitch shifted the sound buffer sound should be. Original pitch is 1. |
Returns | ||
Returns nothing. |
Daisymoon Audio Lib |
---|
Example
--high pitched sounds! audio.setGlobalPitch(1.5) --restore again audio.setGlobalPitch(1.0)