Wohlstand / libOPNMIDI

A Software MIDI Synthesizer library with OPN2 (YM2612) emulator
GNU Lesser General Public License v3.0
96 stars 6 forks source link

how to port this to golang #118

Closed Mike77154 closed 1 year ago

Mike77154 commented 1 year ago

the idea is using a extension of this code in a engine called Ikemen https://github.com/ikemen-engine/Ikemen-GO for having more onboard synths with the soundfont player

Wohlstand commented 1 year ago

No need to port the whole library: if you want to use it in Go, it's easy use via C-ABI, Go is able to use any library via C-ABI.

Wohlstand commented 1 year ago

I think, I have some Go example on my end, I need to find the code at my archive... If I find it, I'll add it into examples directory, so, you can see how to use the library from the Golang.

Wohlstand commented 1 year ago

Just now I sent the simple example how to use the library in the Golang: https://github.com/Wohlstand/libOPNMIDI/commit/e9859ded45294bd8d4eb7d4a4443f8c2982289bd

Wohlstand commented 1 year ago

Closed because of no response for a long time.