Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sequenced music support #11465

Closed
DaFlarf opened this issue Jan 1, 2025 · 1 comment
Closed

sequenced music support #11465

DaFlarf opened this issue Jan 1, 2025 · 1 comment
Labels

Comments

@DaFlarf
Copy link

DaFlarf commented Jan 1, 2025

Describe the project you are working on

This is something that can apply to literally any project with large amounts of soundtrack. I am both a dev and a music composer, and I'm working on expanding a project of mine (https://da-flarf.itch.io/under-gunstruction-fixed). It is a top down dungeon crawler speedrun game with movement tech.

I intend to have quite a bit of soundtrack. In order to cut down on the space used by the soundtrack, I'd like to use the impulse tracker file format (.it). This will cut down on the space in game and also let my music be rippable (if I want it to be) for any aspiring composers or remix artists.

Describe the problem or limitation you are having in your project

The godot engine only supports streamed audio, which is stupid and makes games FAT. It gets confused, bewildered, and otherwise confuzzled at any file type other than .wav, .mp3, and .ogg. This closes the door to a lot of different kinds of projects one would otherwise be able to make in godot such as DAWs, trackers, Daw-tracker hybrids, chiptune makers, and pretty much any game that wants to be optimized.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

By adding support for sequenced music formats (.it, .xm, .mod, .s3m, .mid), new types of projects would be able to be made in godot and games would be more easily optimized.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

The easiest implementation I can think of is taking the playback portion of OpenMPT's code and importing it into godot. This would be perfectly legal BTW

https://wiki.openmpt.org/Main_Page

I'd do it myself but godot is in c++ and my c++ is pretty rusty

If this enhancement will not be used often, can it be worked around with a few lines of script?

No. This is an issue of reading an entirely different type of file. That would take a few hundred lines of script.

Is there a reason why this should be core and not an add-on in the asset library?

This is about optimizing games, reducing unnecessary file sizes, and opening the door to new types of music themed projects

@KoBeWi
Copy link
Member

KoBeWi commented Jan 1, 2025

Thanks for the proposal! Consolidating in #10077.

There is an extension that you can use: https://github.com/Dudejoe870/godot-openmpt

@KoBeWi KoBeWi closed this as completed Jan 1, 2025
@KoBeWi KoBeWi added the archived label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants