AudioStreamRandomizer

Inherits: AudioStream < Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

PlaybackMode

playback_mode

0

float

random_pitch

1.0

float

random_volume_offset_db

0.0

int

streams_count

0

Methods

void

add_stream ( int index, AudioStream stream, float weight=1.0 )

AudioStream

get_stream ( int index ) const

float

get_stream_probability_weight ( int index ) const

void

move_stream ( int index_from, int index_to )

void

remove_stream ( int index )

void

set_stream ( int index, AudioStream stream )

void

set_stream_probability_weight ( int index, float weight )


Enumerations

enum PlaybackMode:

PlaybackMode PLAYBACK_RANDOM_NO_REPEATS = 0

There is currently no description for this enum. Please help us by contributing one!

PlaybackMode PLAYBACK_RANDOM = 1

There is currently no description for this enum. Please help us by contributing one!

PlaybackMode PLAYBACK_SEQUENTIAL = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

PlaybackMode playback_mode = 0

There is currently no description for this property. Please help us by contributing one!


float random_pitch = 1.0

  • void set_random_pitch ( float value )

  • float get_random_pitch ( )

There is currently no description for this property. Please help us by contributing one!


float random_volume_offset_db = 0.0

  • void set_random_volume_offset_db ( float value )

  • float get_random_volume_offset_db ( )

There is currently no description for this property. Please help us by contributing one!


int streams_count = 0

  • void set_streams_count ( int value )

  • int get_streams_count ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_stream ( int index, AudioStream stream, float weight=1.0 )

There is currently no description for this method. Please help us by contributing one!


AudioStream get_stream ( int index ) const

There is currently no description for this method. Please help us by contributing one!


float get_stream_probability_weight ( int index ) const

There is currently no description for this method. Please help us by contributing one!


void move_stream ( int index_from, int index_to )

There is currently no description for this method. Please help us by contributing one!


void remove_stream ( int index )

There is currently no description for this method. Please help us by contributing one!


void set_stream ( int index, AudioStream stream )

There is currently no description for this method. Please help us by contributing one!


void set_stream_probability_weight ( int index, float weight )

There is currently no description for this method. Please help us by contributing one!