kode54 / Game_Music_Emu

Game Music Emu - Multi-purpose console music emulator and player library
80 stars 16 forks source link

[YM2151] huge differences between GME and foo_gep #15

Closed R4to0 closed 5 years ago

R4to0 commented 5 years ago

Hello Chris!

I've been messing with this library and a very small application to write wave files off from chiptune files. VGM YM2612 seems to work fine, however YM2151 tunes are playing strangely and sounding awful in comparsion to foo_gep foobar2000 component.

For comparison, I recorded samples on both GME library and foo_gep component (this one sounds right): sample_ym2151_gme.ogg sample_ym2151_foogep.ogg

Original VGM file: Circuit1.vgm

It's strange since foo_gep is based on GME library and still sounds right. I have absolutely no clue why this happens! Does foo_gep uses a different library only for vgm?

I'm using your fork from your GitLab repository which seems the most up to date as I'm writing this.

Thanks for your help and thank you for all the libraries you maintain/develop for foobar2000!

kode54 commented 5 years ago

I use VGMPlay in a library form for the VGM playback, which in turn is licensed GPL or worse, thanks to mixed source code origins. It lives in the vgmplay branch.

The original code needs a lot of work, and may not be easily fixable, or easy to bring up to the standards of VGMPlay.

R4to0 commented 5 years ago

Oh I'll see if I can get vmgplay brach to work on my application. Well, its just for fun and my own use so I don't think I'll get problems with GPL and if I even plan on releasing binaries to the public I'd prefer to share all the code as well.

Thanks a lot for the help.

EDIT: just got working with VGMPlay branch and now works perfectly! Thank you!