sinshu / go-meltysynth

A SoundFont MIDI synthesizer written in pure Golang
Other
62 stars 10 forks source link

Support for SFZ? #9

Open GeoffreyPlitt opened 1 month ago

GeoffreyPlitt commented 1 month ago

Curious if SFZ support is coming?

sinshu commented 1 month ago

To support SFZ, it is necessary to introduce an abstraction layer in the SoundFont parser, but that would complicate the code. I like the current simplicity of the code without the abstraction layer, so I do not intend to implement such a feature.

donmor commented 1 month ago

meltysynth.NewSoundFont expects io.Reader. Maybe you can make your implementation of getting sf2 from sfz, and glue them up by implementing io.Reader.