Plays audio with random pitch shifting.
    public class AudioStreamRandomPitch : AudioStream

Randomly varies pitch on each start.

Inheritance Chain

Constructors

    public AudioStreamRandomPitch()

Properties

    public AudioStream AudioStream { get; set; }

The current AudioStream.

    public float RandomPitch { get; set; }

The intensity of random pitch variation.

Methods

    [Obsolete("GetAudioStream is deprecated. Use the AudioStream property instead.")]
    public AudioStream GetAudioStream()

Getter for AudioStream

    [Obsolete("GetRandomPitch is deprecated. Use the RandomPitch property instead.")]
    public float GetRandomPitch()

Getter for RandomPitch

    [Obsolete("SetAudioStream is deprecated. Use the AudioStream property instead.")]
    public void SetAudioStream(AudioStream stream)

Setter for AudioStream

    [Obsolete("SetRandomPitch is deprecated. Use the RandomPitch property instead.")]
    public void SetRandomPitch(float scale)

Setter for RandomPitch

Tags: