AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
245 stars 61 forks source link

Would it be possible to create a vst from the ym2608 emulator of the emulator ? #56

Open SeleDreams opened 5 years ago

SeleDreams commented 5 years ago

Hi, i was wondering if it was possible to create a vst from the ym2608 emulation of the emulator, since i can't find any vst online and i wanted to make pc98 styled music with my DAW

since all the source code is already ready i guess it shouldn't be that hard but i wonder if it's doable

AZO234 commented 5 years ago

If it is the minimum function, I think that it can be realized easily. · Convert VST and MIDI parameters for OPNA · Match the MIDI program number and the OPNA preset number · Input clock and data to fmgen (OPNA engine of NP2kai) · Output to an arbitrary audio channel

The source of fmgen engine is located at the following site. http://retropc.net/cisc/m88/download.html fmgen008.lzh fmgen simulates FM sound of OPN/OPNA/OPM.

If we can make it well, it will be a VST plug-in that will sound FM of PC88/PC98/X68000.

Or does MAME-based VST plug-in exist?

SeleDreams commented 5 years ago

I didn't find any vst for the ym2608, there's some for the ym2612 of the sega genesis which is an inferior version of the ym2608 but that's all i have some basic C++ knowledge but i don't know if it requires extensive knowledge of programming midi related stuff because what i'm used to make is basic game engine programming using SDL2

SeleDreams commented 5 years ago

i'll try to make the vst myself, i'll tell you if i succeed

jpcima commented 5 years ago

Hi. Having stumbled by chance on this issue, I guess it's worth mentioning I'm an author of OPN2 VST. There exists a working attempt to introduce the OPNA emulator in replacement of OPN2 in recent work. It's for handling the FM part only.

For the most part it works excellently and fast, but it was noted the SSG-EG behaved very different in contrast to Nuked or MAME emulators. (but it can be a mistake made on my programming side) Do you know how good is the implementation of SSG-EG of Neko Project II known to be?

SeleDreams commented 2 years ago

If it is the minimum function, I think that it can be realized easily. · Convert VST and MIDI parameters for OPNA · Match the MIDI program number and the OPNA preset number · Input clock and data to fmgen (OPNA engine of NP2kai) · Output to an arbitrary audio channel

The source of fmgen engine is located at the following site. http://retropc.net/cisc/m88/download.html fmgen008.lzh fmgen simulates FM sound of OPN/OPNA/OPM.

If we can make it well, it will be a VST plug-in that will sound FM of PC88/PC98/X68000.

Or does MAME-based VST plug-in exist?

I was wondering what's the license of this code ? because all I see at the top is litterally "copyright" it's not under gpl or any open source license i know of