SetMusicHasGlobalPitch

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
Jeb (Talk | contribs)
(Created page with '{{AudioMethod | audio.setMusicHasGlobalPitch(onOff) | Toggles whether music is affected by the global pitch setting or not. Defaults to false. Available from DaisyMoon v1.0.1 | ...')

Latest revision as of 18:08, 21 January 2010

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