SetMusicHasGlobalPitch

From OxeyeWiki

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

audio.setMusicHasGlobalPitch(onOff)

Toggles whether music is affected by the global pitch setting or not. Defaults to false.

Available from DaisyMoon v1.0.1

Parameter Expected Type Description
onOff A boolean Set this to true to enable global pitching for music.
Returns

Returns nothing.

Daisymoon Audio Lib

Example

   --high pitched music!
   audio.setMusicHasGlobalPitch(true)
   audio.setGlobalPitch(1.5)

   --restore again
   audio.setGlobalPitch(1.0)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox