mackron / dr_libs

Audio decoding libraries for C/C++, each in a single source file.
Other
1.24k stars 205 forks source link

Suggestion for a MIDI synthesis library #261

Closed peteroupc closed 9 months ago

peteroupc commented 10 months ago

To improve support for MIDI (Musical Instrument Digital Interface) music playback in open-source and other applications, there could be a dr_* library for software synthesis of MIDI data stored in standard MIDI files.

Since the other dr_* libraries are public-domain, this repository is an ideal venue for a public-domain MIDI solution. For further details on my request, see:

https://peteroupc.github.io/music.html

This can be seen as a followup to: https://github.com/mackron/miniaudio/issues/158.

dromer commented 9 months ago

I'd say this is vastly out of scope for the dr_libs project. Its primary/only objective is for decoding audio files.

Adding synthesis techniques (and specifically ones based on MIDI input) is somewhat the opposite of what is intended. This library being minimal in scope and capability is imo one of its strengths.

Now should a library like you suggest exist? -> absolutely! Should dr_libs be that library? -> no.

peteroupc commented 9 months ago

Thank you for your response.

dromer commented 9 months ago

@peteroupc well that's just my personal opinion and interpretation of the project.

Of course @mackron could think differently, but I kind of doubt it.

mackron commented 9 months ago

I've had a few people ask for midi across both my dr_libs and miniaudio projects. dr_libs is not the place for it, though I do think a midi library would be valuable.

But unfortunately these days all of my open source work is centred around what I need personally and I just haven't got a need for midi so it's highly unlikely I'll be the one doing a library for that.