FLMusicLib for Godot 3.1.1

An asset by FabianLC
The page banner background of a mountain and forest
FLMusicLib for Godot 3.1.1 hero image

Quick Information

0 ratings
FLMusicLib for Godot 3.1.1 icon image
FabianLC
FLMusicLib for Godot 3.1.1

GDNative library that plays mp3, .mod,.it,.s3m,.xm and chiptune music files.Demo: https://github.com/MightyPrinny/godot-FLMusicLib/tree/demoThe project uses GameMuseEmu, Minimp3, libopenmpt and the new Audio features from Godot 3.1.1This project is statically linked to GME 0.6.2 which is licensed under the LGPLv2.1. GME Source Code: https://bitbucket.org/mpyne/game-music-emu/src/0.6.2/Check the licenses folder for more information on the libraries used in this project.Notes-mp3 files must have a constant bitrate.Methods-bool play_music(String path,int trackNum,bool loop = true,int loopStart = -1,int loopEnd = -1,int startMsec = 0)-void stop_music()-bool is_playing()-void set_volume(float vol)-void store_music_state()-void restore_music_state()-int get_track_position_msec()-void toggle_pause()Signals-track_ended: emitted when the music is not looping and a music track ends, timing might not be accurate for chiptune music since the music length is unknown in most cases.

Supported Engine Version
3.1
Version String
0.5.1
License Version
CC0
Support Level
community
Modified Date
5 years ago
Git URL
Issue URL

GDNative library that plays mp3 and chiptune music files. The project uses GameMuseEmu, Minimp3, libopenmpt and the new Audio features from Godot 3.1.1

This project is statically linked to GME 0.6.2 which is licensed under the LGPLv2.1. GME Source Code: https://bitbucket.org/mpyne/game-music-emu/src/0.6.2/

Check the licenses folder for more information on the libraries used in this project.

Notes

-mp3 files must have a constant bitrate.

-after exporting a windows game you have to copy some of the dlls to the game folder manually

Methods

-bool play_music(String path,int trackNum,bool loop = true,int loopStart = -1,int loopEnd = -1,int startMsec = 0)

-void stop_music()

-bool is_playing()

-void set_volume(float vol)

-void store_music_state()

-void restore_music_state()

-int get_track_position_msec()

-void toggle_pause()

Signals

-track_ended: emited when the music is not looping and a music track ends, timing might not be accurate for chiptune music since the music length is unknown in most cases.

GDNative library that plays mp3, .mod,.it,.s3m,.xm and chiptune music files.

Demo: https://github.com/MightyPrinny/godot-FLMusicLib/tree/demo

The project uses GameMuseEmu, Minimp3, libopenmpt and the new Audio features from Godot 3.1.1

This project is statically linked to GME 0.6.2 which is licensed under the LGPLv2.1. GME Source Code: https://bitbucket.org/mpyne/game-music-emu/src/0.6.2/

Check the licenses folder for more information on the libraries used in this project.

Notes

-mp3 files must have a constant bitrate.


Methods

-bool play_music(String path,int trackNum,bool loop = true,int loopStart = -1,int loopEnd = -1,int startMsec = 0)

-void stop_music()

-bool is_playing()

-void set_volume(float vol)

-void store_music_state()

-void restore_music_state()

-int get_track_position_msec()

-void toggle_pause()

Signals

-track_ended: emitted when the music is not looping and a music track ends, timing might not be accurate for chiptune music since the music length is unknown in most cases.

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
FLMusicLib for Godot 3.1.1 icon image
FabianLC
FLMusicLib for Godot 3.1.1

GDNative library that plays mp3, .mod,.it,.s3m,.xm and chiptune music files.Demo: https://github.com/MightyPrinny/godot-FLMusicLib/tree/demoThe project uses GameMuseEmu, Minimp3, libopenmpt and the new Audio features from Godot 3.1.1This project is statically linked to GME 0.6.2 which is licensed under the LGPLv2.1. GME Source Code: https://bitbucket.org/mpyne/game-music-emu/src/0.6.2/Check the licenses folder for more information on the libraries used in this project.Notes-mp3 files must have a constant bitrate.Methods-bool play_music(String path,int trackNum,bool loop = true,int loopStart = -1,int loopEnd = -1,int startMsec = 0)-void stop_music()-bool is_playing()-void set_volume(float vol)-void store_music_state()-void restore_music_state()-int get_track_position_msec()-void toggle_pause()Signals-track_ended: emitted when the music is not looping and a music track ends, timing might not be accurate for chiptune music since the music length is unknown in most cases.

Supported Engine Version
3.1
Version String
0.5.1
License Version
CC0
Support Level
community
Modified Date
5 years 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