Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
A class representing an Ogg Vorbis audio stream.
The AudioStreamOggVorbis class is a specialized AudioStream for handling Ogg Vorbis file formats. It offers functionality for loading and playing back Ogg Vorbis files, as well as managing looping and other playback properties. This class is part of the audio stream system, which also supports WAV files through the AudioStreamWAV class.
int bar_beats =
int beat_count =
float bpm =
bool loop =
true, the audio will play again from the specified loop_offset once it is done playing. Useful for ambient sounds and background music.
float loop_offset =
Time in seconds at which the stream starts after being looped.
Contains the raw Ogg data for this stream.
Creates a new AudioStreamOggVorbis instance from the given buffer. The buffer must contain Ogg Vorbis data.
Creates a new AudioStreamOggVorbis instance from the given file path. The file must be in Ogg Vorbis format.