AZO234/NP2kai

Setting up MIDI and fmgen core

Opened this issue · 9 comments

GIN5 commented

Hi, I've been trying Touhou 2 and 3 with RetroArch and the NP2kai core. The performance is very good compared to the standard Neko Project 2 fmgen build, though I still get a stutter here and there.

Anyway, I am using Sound Canvas VA with LoopMIDI and have made this my primary MIDI playback device with the MIDIMapper Configurator. In Neko Project 21 W I am able to set up a MIDI Out device through the menu settings in the taskbar at the top, but NP2kai does not have this option. Is there a way to select my MIDI Out device?

I have also noticed that the sound quality is not as good in NP2kai as in the Neko Project 2 fmgen version here: http://nenecchi.kirara.st/. The start-up sound for Touhou 2 and many sound effects in both Touhou 2 and 3 sound very tinny. Neko Project 21 W has a similar problem for me. Can I choose a different FM core like those in the FM DLL set from that link above? Thanks for your help!

Sorry to slooow replying!
NP2kai core is not support MIDI device.
But, implementation is already set.

I'll more check functions.

Thanks!

Edit:
I checked with enable log on Windows 10.
[ERROR] [MIDI]: midiStreamOut failed with error 11.
is outputed. Device is initialized.
This is maybe cause by RetroArch?

Edit 2:
I don't plan to choose FM module now.
(On RetroArch, core cannot call DLL module.)
But I'll check listening sound of Touhou 2 and 3.

GIN5 commented

@AZO234 I've taken a look at some sound settings and recorded videos to show more clearly what differences I'm talking about with the sound effects. The first video is from np2fmgen, and I believe this is what the game should sound like. The second video is using the np2kai core with RetroArch, and you will notice the laser sound effect and the Touhou 2 start up noise are very distorted. I've also attached pictures of the sound settings for both. I hope it's not too hard to figure out the problem. Thanks!

https://youtu.be/WfUddRA0Jz8
np2fmgen-settings
https://youtu.be/SQC3TS8m1Dw
np2kai-settings

GIN5 commented

@AZO234 Hi, is there any update on the sound effect issues? If it is just a matter of tweaking the settings then that's fine as well.

Oh, sorry.
Could you check to RetroArch's menu?
'Configure' -> 'Audio' -> 'MIDI'

GIN5 commented

Okay, but I was more concerned with the Touhou 3 sound effects (like Marisa's laser) not sounding right in NP2kai. Were you able to view the videos I linked two posts up?
https://youtu.be/WfUddRA0Jz8
https://youtu.be/SQC3TS8m1Dw

Midi

If I try to change the MIDI input or output devices it wants me to type in something. I cannot simply select a device from my computer.

GIN5 commented

@AZO234 Sorry to trouble you again but I just want to know if the Touhou 2-3 sound effects can be fixed by adjusting settings. Please check the short videos I posted above that show the issue. Thank you!

I am using Windows 10 RetroArch NP2Kai

Game: https://koei.fandom.com/wiki/Band-kun

  • Game has MIDI settings (below)
  • RetroArch has MIDI driver (Windows, not Mac version)
  • But I do not hear any sound after system beep?

Is there any hope?

Band-kun-201215-124043 2

My business is jamed. Sorry to reply very slow.
I could check MIDI sound play on Windows 10 + RetroArch Nightly.

@gingerbeardman
Some music composer software has them original settings.
NP2kai has simply MIDI IN/OUT. And command maybe invalidate.

@GIN5
I'll check soon. Probably fmgen issue.
I'll tune code and generators volumes.
(No relationship to MIDI function.)

I managed to get it to work only under Windows standalone NP2Kai. Cheers