Fujix1 / NanoDrive_YM2151

Nano Drive is a VGM format player works with Longan Nano. This supports YM2151 and YMZ294 PSG.
11 stars 1 forks source link

YM3812 issues #1

Open VectorFever opened 2 years ago

VectorFever commented 2 years ago

Hi! You made a beautiful project! I made Your YM2151 and Dual YM2203 player as well. But i saw a part of code with YM3812 frequencies comment. So I rewired 2203 player for the 3812. It works! ... but notes are messed up. Sometimes it's playing right for a moment. All instruments are right but notes are wrong. It's not caused by wiring or chip itself because i have three chips that are working on Arduino-OPL2 project. I will be glad if you help!

Fujix1 commented 2 years ago

Hiya. Thanks for checking my project. You are right, although the code is made for some other YM variants, but this one is heavily optimized for YM2151, may have some problems with YM3812.

I'm working on the YM3812 version of the project like this https://twitter.com/fujix/status/1300049809353523202 It's working pretty good and I uploaded the source code at https://github.com/Fujix1/NanoDrive_YM3812

VectorFever commented 2 years ago

Thanks! I will try that later

VectorFever commented 2 years ago

Whoa! It's actually working! You're such a good programmer! But You know what's better? Making it double! No FM chips even with 4 operators can compare with 2 operator 18 voices! There a lot of to do with it. Many DOS games support Sound Blaster Pro 1 in dual ym3812 mode. Also Furnace Tracker now available with ym3812 support. So now it's easy to make music for multiple amount of FM chips at the same time in one track. It would be awesome!

VectorFever commented 2 years ago

Can you please make dual version?

Fujix1 commented 2 years ago

Acutally it is not very difficult, I have done that with YM2203 already, you can make it by replacing the FM chips with YM3812. btw where can I get vgm files using YM3812s ?

VectorFever commented 2 years ago

Here. I found track on VGMRips that uses dual YM3812 https://vgmrips.net/packs/pack/battlantis-arcade

VectorFever commented 2 years ago

It's actually pretty hard to find vgms for dual yms. But easy to rip from DOSBOX or compose in Furnace Tracker.

Fujix1 commented 2 years ago

OK, thank you for finding out files. btw, now I'm working on a PCB for this system, almost. FV6Tj8TacAMiAHy