Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
DRAGONS: Implementing midi music player #2245
I'm starting to implement music for Blazing Dragons. It uses PS1 SEQ files for music. These files are almost identical to standard SMF MIDI but use specific sound bank for instruments.
I've copied the method that is used by the tinsel engine to support SEQ files.
I was thinking that we could load the sound bank samples automatically in the engine and convert them into the soundfont format to be used by midi drivers that support loading samples.
I haven't implemented the soundfont loading bit yet. It would probably require changes to base audio classes.
What does everyone think?
This PR implements the midi player. I've tested it with a manually converted VAB to SF2 file and it sounds good to my ears.
I could also apply this technique to the tinsel engine to add proper sound samples there too.
Yes this would be dependent on midi drivers that support soundfont. I haven't implemented that bit yet. I was just seeing what people though of the idea first.
I think I'll give it a go.
I don't really have the desire to re-implement a SEQ player from scratch at the moment. I guess someone could always come along later an implement it without using the midi system.