SetGlobalPitch

From OxeyeWiki

Revision as of 13:10, 18 January 2010 by Thewreck (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox