You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't believe this is possible since I think a synthesizer is also needed, hence KyoSherlock/MidiDriver
Use Fluidsynth
Pros
It should Just Work™
Cons
It's a native library with a lot of dependencies and a complex build process. So we'd either need to adopt the complex build process ourselves or import the pre-built binaries, which would balloon this repository
The binaries themselves would probably balloon the application (the pre-built binaries are ~20 MB each, times 4 architectures)
Generate MP3s and package them in the app
Pros
Might be the simplest approach...
Cons
Not very flexible if we ever want to add new instruments, change sound font, etc...
But if we could script it, maybe it would be the most straightforward approach?
The text was updated successfully, but these errors were encountered:
bmaupin
changed the title
Different audio generation implementation
Use a different sound font
Feb 21, 2022
Android's built-in Sonivox EAS MIDI sound font is pretty terrible.
Plan
Notes
More importantly, it's improperly licensed: Incorrect license given - should be GPLv2 KyoSherlock/MidiDriver#8This is wrong! The "infringing" code isn't plain GPLv2, it's GPLv2 with the classpath exception (https://softwareengineering.stackexchange.com/a/326325/160348) 🎉Use https://github.com/kshoji/javax.sound.midi-for-Android directlyThe text was updated successfully, but these errors were encountered: