Skip to content

SDL2_mixer: add support for MID - #16556

Merged
kripken merged 1 commit into
emscripten-core:mainfrom
connorjclark:libsdl-mixer-mid
Mar 23, 2022
Merged

kripken merged 1 commit into
emscripten-core:mainfrom
connorjclark:libsdl-mixer-mid

Conversation

@connorjclark

@connorjclark connorjclark commented Mar 22, 2022 •

Copy link
Copy Markdown
Contributor

Upstreaming changes from a local fork to enable SDL2_mixer to use timidity to provide MIDI support.

To use, you must provide your own sound files. I sourced mine from here.

And mount them here:

--preload-file="../freepats@/etc/timidity"

(that's the default place timidity will look for configuration)

I didn't add any tests because I wasn't sure if you'd want something like all of freepats in the repo for one test. Although if that is OK, it might be nice to also just provide these sound files by default (and with an option to suppress/enable that)

@sbc100

sbc100 commented Mar 22, 2022

Copy link
Copy Markdown
Collaborator

I'd be ok with landing this without tests for now.

@kripken
kripken merged commit 468174a into emscripten-core:main Mar 23, 2022
@connorjclark

Copy link
Copy Markdown
Contributor Author

Is there a good place for me to add more details about this in the docs somewhere? esp. the instructions for providing your own sound files

@kripken

kripken commented Mar 24, 2022

Copy link
Copy Markdown
Member

Hmm, good idea! I don't see a page for SDL2, actually. If you have time, adding a new page might be good. But also just mentioning it in ChangeLog.md would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants