Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Runtime Ogg Vorbis GDExtension

An asset by JTE
The page banner background of a mountain and forest
Runtime Ogg Vorbis GDExtension hero image

Quick Information

0 ratings
Runtime Ogg Vorbis GDExtension icon image
JTE
Runtime Ogg Vorbis GDExtension

This lightweight GDExtension adds static functions for loading Ogg Vorbis files into an immediately usable AudioStreamOggVorbis at runtime, without requiring the files to be imported using Godot Editor first. You may load files by path, or directly from a PackedByteArray buffer in memory, which could for example be used with ZIPReader to play music out of a zip package.Binaries for Windows, Mac, and Linux are provided.Please see README.md for usage details.

Supported Engine Version
4.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Runtime Ogg Vorbis

This GDExtension implements libogg at runtime for Godot 4.1.3

Usage

Static methods:

ResourceLoaderOggVorbis.load(path : String) -> AudioStreamOggVorbis
ResourceLoaderOggVorbis.load_buffer(buffer : PackedByteArray) -> AudioStreamOggVorbis

Call one of the load functions on any path to a loose ogg file or ogg memory buffer to decode it into a usable AudioStream.

Returns null on error.

Your app is responsible for cacheing the returned AudioStream and enabling looping as necessary.

License

This GDExtension is released under a permissive MIT license (see LICENSE.md), but makes use of the OggVorbis software codec source code which is Copyright ©️ 1994-2019 by the Xiph.Org Foundation https://www.xiph.org/

This lightweight GDExtension adds static functions for loading Ogg Vorbis files into an immediately usable AudioStreamOggVorbis at runtime, without requiring the files to be imported using Godot Editor first. You may load files by path, or directly from a PackedByteArray buffer in memory, which could for example be used with ZIPReader to play music out of a zip package.

Binaries for Windows, Mac, and Linux are provided.

Please see README.md for usage details.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Runtime Ogg Vorbis GDExtension icon image
JTE
Runtime Ogg Vorbis GDExtension

This lightweight GDExtension adds static functions for loading Ogg Vorbis files into an immediately usable AudioStreamOggVorbis at runtime, without requiring the files to be imported using Godot Editor first. You may load files by path, or directly from a PackedByteArray buffer in memory, which could for example be used with ZIPReader to play music out of a zip package.Binaries for Windows, Mac, and Linux are provided.Please see README.md for usage details.

Supported Engine Version
4.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers