sinshu / go-meltysynth

A SoundFont MIDI synthesizer written in pure Golang
Other
64 stars 11 forks source link

Support for SFZ? #9

Open GeoffreyPlitt opened 4 months ago

GeoffreyPlitt commented 4 months ago

Curious if SFZ support is coming?

sinshu commented 4 months 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 3 months 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.