FLMusicLib: Play chiptune music and mp3 in godot.

Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare
@ Godot Asset Library

Platforms: Windows(64 and 32 bits), Linux(64 bits).

Submitted by user FabianLC;
LGPLv2.1;
2019-03-16

Free!

SKU: GDAL326 Categories: , ,

Platforms: Windows(64 and 32 bits), Linux(64 bits).

Readme.md:

GDNative library that plays mp3 and chiptune music files. The project uses GameMuseEmu, Minimp3 and libsoundio

Notes

-Currently a lot of things are hardcoded like the sample rate(44100) and the sound format (S16LE), I think these settings work on any hardware but I might be wrong.

-mp3 files must have a constant bitrate.

Methods

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

-void StopMusic()

-bool IsPlaying()

-void SetVolumeMultiplier(float vol)

-void StoreMusicState()

-void RestoreMusicState()

-int GetTrackPositionMsec()

-void TogglePause()

Signals

-track_ended: emited when the music is not looping and a music track ends, timing might not be accurate(Or might not be emited at all but I haven’t seen that yet) for chiptune music since the music length is unknown.

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

Specification: FLMusicLib: Play chiptune music and mp3 in godot.

Version

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Added to wishlistRemoved from wishlist 7
Add to compare
2D Role Playing Game Demo

2D Role Playing Game Demo

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 23
Add to compare
2D Dungeon Generator

2D Dungeon Generator

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 1
Add to compare
Drag-and-drop Sprite

Drag-and-drop Sprite

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 2
Add to compare
2D Pong Demo

2D Pong Demo

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 5
Add to compare
GDInv (Inventory System Core)

GDInv (Inventory System Core)

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 2
Add to compare
GIFT – Godot IRC For Twitch

GIFT – Godot IRC For Twitch

Sold by Official Godot Asset Library

10% OF REVENUE IS DONATED TO GODOT

Godot Assets Marketplace
Logo
Compare items
  • Total (0)
Compare
Shopping cart