Skip to content

IAudioPlayer.SetMusicPitch(float) Method

Definition

Namespace: Brine2D.Audio

Sets the playback speed (pitch) of the current music track. Does nothing if no music is playing.

void SetMusicPitch(float pitch);

Parameters

pitch System.Single

Playback speed multiplier (0.25 to 4.0). Values are clamped.