SetGlobalPitch
From OxeyeWiki
(Difference between revisions)
Thewreck (Talk | contribs)
(Created page with '{{AudioMethod | audio.setGlobalPitch(modulation) | Globally pitch shifts the entire sound buffer. | {{MethodParam|modulation|A number|How pitch shifted the sound buffer sound sho...')
(Created page with '{{AudioMethod | audio.setGlobalPitch(modulation) | Globally pitch shifts the entire sound buffer. | {{MethodParam|modulation|A number|How pitch shifted the sound buffer sound sho...')
Latest revision as of 13:10, 18 January 2010
|
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)