Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

AudioStreamOggVorbis

Inherits: AudioStream < Resource < RefCounted < Object

A class representing an Ogg Vorbis audio stream.

Description

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.

Tutorials

Properties

int

bar_beats

4

int

beat_count

0

float

bpm

0.0

bool

loop

false

float

loop_offset

0.0

OggPacketSequence

packet_sequence

Methods

AudioStreamOggVorbis

load_from_buffer ( PackedByteArray buffer ) static

AudioStreamOggVorbis

load_from_file ( String path ) static


Property Descriptions

int bar_beats = 4

  • void set_bar_beats ( int value )

  • int get_bar_beats