VST using Gens ym2612 emulation

For anything related to sound (YM2612, PSG, Z80, PCM...)

Moderator: BigEvilCorporation

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Tue Oct 19, 2010 8:52 pm

Effect E8x sets the panning for a channel. 1=left, 2=right, any other value=center. To be sure that you have all the channels centered at start of a song, use E80 on every channel in the very beginning of the song.

There is n digital samples support in TFM MM, and it is not easy to add them into VGM file. There are ways, but nothing ready-made.

superjoebob
Very interested
Posts: 66
Joined: Fri Oct 15, 2010 7:06 am
Location: Vancouver, Canada
Contact:

Post by superjoebob » Thu Oct 21, 2010 1:23 am

Thanks again, it sounds like TFM MM is my best bet for the moment :D.

Out of curiosity, a document outlining the VGM file format doesn't exist, does it? I'd like to take a shot at writing a few tools.

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Thu Oct 21, 2010 1:50 am


SmartOne
Very interested
Posts: 77
Joined: Sun Sep 21, 2008 5:18 am

Post by SmartOne » Sat Nov 06, 2010 1:57 am

Genesis Plus GX has the most accurate open source audio core (let alone everything else). Come on, people, stay up-to-date! :P

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sat Nov 06, 2010 7:56 am

Its Wii.... and I'd like to hear what my TMFplay ROMs sound like, so far only emulator that almost gets PCM right is Kega Fusion, with Regen following it...
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

SmartOne
Very interested
Posts: 77
Joined: Sun Sep 21, 2008 5:18 am

Post by SmartOne » Sat Nov 06, 2010 3:53 pm

The code is not Wii-specific, and there is an SDL port. Have you tried your ROMs with it?

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sat Nov 06, 2010 4:00 pm

I've not looked very hard, but all I have ever found is the Wii stuff...

EDIT: found PC version, but it seems it needs something better than a Tualatin PIII I currently only have access to...
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Eke
Very interested
Posts: 885
Joined: Wed Feb 28, 2007 2:57 pm
Contact:

Post by Eke » Mon Nov 08, 2010 3:28 pm

yeah, the SDL version is clearly unoptimized and much slower than the old version. I didn't really put any serious work in it, it's just there so I can debug stuff on PC more easily or for people who wants to test their program since genesis plus tries to emulate many (and sometimes useless) stuff like console locks, undocumented behavior, etc.

YM2612 core is basically the MAME one with some improvements based on Nemesis & others recent discoveries. It should be as accurate as Kega/Regen, but probably no more, no less.

The only TFM ROM I have to test is the one with Tails/Sonic in the background. It sounds fine as far as I remember. There is also a sample demo from you that sound ugly in all emulators because it makes use of the FM status bit which nobody emulates.

This is pretty much all demos I know of, are there others I should test ?

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Tue Nov 09, 2010 1:59 pm

I more meant that it needs better CPU as in SSE2 support... I got illegal instruction errors whenever I tried to load a ROM.

Here's a music ROM... its PCM will sound crap on most emulators :
http://www.fileden.com/files/2008/4/21/ ... AY1234.BIN
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Eke
Very interested
Posts: 885
Joined: Wed Feb 28, 2007 2:57 pm
Contact:

Post by Eke » Tue Nov 09, 2010 5:41 pm

I see, it must be the compilation flags, I will try to add a less restrictive one.

Thanks for the new ROM, it seems to sound fine as far as I can tell... is there a particular one I should test especially ?

PS: wow, some tracks are really crazy, you like drums, for sure 8)

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Wed Nov 10, 2010 8:54 am

Yep, I do like strong percussion ^^

It would be nice if you could make an output recording of "One Last Step".
Here's a HW recording of that one : http://8bc.org/music/TmEE/One+Last+Step/
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

superjoebob
Very interested
Posts: 66
Joined: Fri Oct 15, 2010 7:06 am
Location: Vancouver, Canada
Contact:

Post by superjoebob » Fri Nov 12, 2010 1:43 am

I've been composing my music in TFM MM ( No drums :( ) and putting the VGM into a file that I play on the Genesis with a flash-able cartridge. Of course this leads to crackly output from the Genesis headphone jack, and sometimes the music feels like it's stuttering a bit.

This is an example of the best audio output I can manage from the Genesis right now. As you can hear, not very clear.

I'm at the point where I'd be willing to do absolutely anything to be able to compose for the Genesis/MegaDrive properly, any tips on how I can compose properly and get better sound output from my Genesis? I've pretty much stopped composing anything but Genesis tunes lately, and all I have to work with are half-baked VST's and soundfonts. I've been trying to create a proper VST (Obviously :D) but I haven't been able to figure out how to get output from any 2612 emulation source, and beyond writing a VGM tracker there's not much else I can think of.

Charles MacDonald
Very interested
Posts: 292
Joined: Sat Apr 21, 2007 1:14 am

Post by Charles MacDonald » Fri Nov 12, 2010 7:12 am

I've been trying to create a proper VST (Obviously :D) but I haven't been able to figure out how to get output from any 2612 emulation source, and beyond writing a VGM tracker there's not much else I can think of.
What problems are you having with the YM2612 emulation?

Would you need some kind of example to help getting started, such as a program that set up the emulation and wrote to a few registers, then logged the output to a WAV so you could see how to get things going?

Or is it the FM programming in general, like what values you have to write to which registers to get useful sounds?

VGM is more of a format for logged audio and less for say music playback in a Genesis game, but it's certainly possible to have a tracker that would write VGM output.

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Fri Nov 12, 2010 7:28 am

superjoebob wrote:I've been composing my music in TFM MM ( No drums :( ) and putting the VGM into a file that I play on the Genesis with a flash-able cartridge. Of course this leads to crackly output from the Genesis headphone jack, and sometimes the music feels like it's stuttering a bit.
Crackly output is probably because you use TL=0 for slots, you should use lower values, like 10, for max volume. Stuttering could be caused by VGM export bug, which corrupts the data sometimes, so you should check the VGM file with a plug-in/player to see if it sounds correctly.

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Fri Nov 12, 2010 9:00 am

superjoebob wrote:This is an example of the best audio output I can manage from the Genesis right now. As you can hear, not very clear.

I'm at the point where I'd be willing to do absolutely anything to be able to compose for the Genesis/MegaDrive properly, any tips on how I can compose properly and get better sound output from my Genesis?
That sounds horrible like a typical MD2 does. But I created a fix for it, though its on the complex side : http://nfggames.com/forum2/index.php?topic=3719
if you cannot build it yourself I can make one for you for 21EUR, and I can alos install it myself and do few other mods to the MD for a reasonable fee aswell... ^^

(I more asked for a recording from the Genesis Plus GX emulator though :P)
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Post Reply