AudioStreamPlaylist ​
Inherits: AudioStream < Resource < RefCounted < Object
AudioStream that includes sub-streams and plays them back like a playlist.
Properties
0.3 | ||
true | ||
false | ||
0 |
Methods
get_bpm() const | |
get_list_stream(stream_index: int) const | |
void | set_list_stream(stream_index: int, audio_stream: AudioStream) |
Constants
MAX_STREAMS = 64 🔗
Maximum amount of streams supported in the playlist.
Property Descriptions
Fade time used when a stream ends, when going to the next one. Streams are expected to have an extra bit of audio after the end to help with fading.
If true
, the playlist will loop, otherwise the playlist will end when the last stream is finished.
If true
, the playlist will shuffle each time playback starts and each time it loops.
Amount of streams in the playlist.
Method Descriptions
Returns the BPM of the playlist, which can vary depending on the clip being played.
AudioStream get_list_stream(stream_index: int) const 🔗
Returns the stream at playback position index.
void set_list_stream(stream_index: int, audio_stream: AudioStream) 🔗
Sets the stream at playback position index.