PDA

View Full Version : MIDI-To-WAV YM2612 Emulation



chessage
07-04-2009, 01:49 AM
Many of you may have heard of GXSCC (http://www.geocities.co.jp/SiliconValley-SanJose/8700/P/GXSCCB236/indexE.htm), a Konami SCC (http://en.wikipedia.org/wiki/Konami_SCC) emulator that turns MIDI files into "8-bit" chiptunes in the WAV file format. I was a bit intrigued by this software, so I decided to look for a YM2612 MIDI-to-WAV emulator. The closest thing I could find to what I was looking for was Tomsoft Studio's SegaMusic (http://web.archive.org/web/20040520014326/http://tomsoft.top263.net/DownLoad/Sega/Tools/SegaMusic.exe) generator, but it is extremely buggy and only exports in the OBJ file format (it is close-sourced as well). I continued my search to find yuno's FMMIDI (http://sugarpot.sakura.ne.jp/yuno/?fmmidi) generator which is open source and exports in the WAV file format. The only downsides to it are that it emulates the YM2608 and YM2610, but not the YM2612 and its file menus are written in Japanese. Since the source code is packed in with the application, I would like to know if someone could mod it to emulate the YM2612 sound chip instead of the YM2608 and YM2610.

kool kitty89
07-04-2009, 02:14 AM
I beleive the 2608 (PC8801) and 2610 (Neo Geo) are very different from the 2612, the http://en.wikipedia.org/wiki/Yamaha_YM3438 however is identical, save for it being CMOS.

Flygon
07-04-2009, 04:01 AM
You know there is a tool that lets you port XM's (There is plenty of MIDI to XM converters out there) to SMPS, a sound driver format used by multiple Mega Drive games (Such as Sonic the Hedgehog).

Granted, it isn't a MIDI to WAV dump, but it works.

TmEE
07-04-2009, 05:00 PM
I beleive the 2608 (PC8801) and 2610 (Neo Geo) are very different from the 2612, the http://en.wikipedia.org/wiki/Yamaha_YM3438 however is identical, save for it being CMOS.

the chips themselves work on same parametes as YM2612, and are compatible on that regard, but there's channel count difference, and difference in typical master clocks... MD uses 7.6MHz for YM, but in most other machines, 8MHz is used and it makes a small difference in the pitch and instrument dynamics.

tomaitheous
07-04-2009, 06:45 PM
I'm not sure what you're looking for. Are you just looking to do 2612->wav? You can use winamp for that.

Chilly Willy
07-04-2009, 07:45 PM
Timidity also converts MIDI to wav, and you can set the instruments fairly easily. You'll find everything for nice modern instruments to a set of YM3812 instruments out there.

chessage
07-05-2009, 02:04 AM
I'm not sure what you're looking for. Are you just looking to do 2612->wav? You can use winamp for that.

No, I'm looking for "custom MIDI file->YM2612 emulated sound->WAV". The application FMMIDI does what I'm looking for, except it emulates the YM2608 and YM2610 instead of the YM2612. I just need someone to modify the FMMIDI source code and give it the ability to emulate the YM2612.

As for what you're talking about, I use Audio Overload for that type of emulation. I don't like Winamp.

kool kitty89
07-05-2009, 05:31 AM
the chips themselves work on same parametes as YM2612, and are compatible on that regard, but there's channel count difference, and difference in typical master clocks... MD uses 7.6MHz for YM, but in most other machines, 8MHz is used and it makes a small difference in the pitch and instrument dynamics.

Ah, from what I've seen the few Sega arcade boards to use them ran them at the full 8 MHz as well (like the 18 and 32), with the exception of those derived from the Genesis. (like the C-2)

The YM2612 would differ from the 08 and 10 as well with the configuration of its DAC, right? (the others featuring one or more ADPCM channels rather than the bare DAC)

Also, what is "SSG" referring to? (in the three below articles on that family of chips)
http://en.wikipedia.org/wiki/Yamaha_YM2203
http://en.wikipedia.org/wiki/Yamaha_YM2608
http://en.wikipedia.org/wiki/Yamaha_YM2610
Given the refrence to the YM2149 chip, I'd assume it's the types of sound that chip was capable of. (in which case it's rather similar to the PSG in the genesis/SMS, so that lacking portion of the 2612 was suplimented at least)


No, I'm looking for "custom MIDI file->YM2612 emulated sound->WAV". The application FMMIDI does what I'm looking for, except it emulates the YM2608 and YM2610 instead of the YM2612. I just need someone to modify the FMMIDI source code and give it the ability to emulate the YM2612.

As for what you're talking about, I use Audio Overload for that type of emulation. I don't like Winamp.

Well, if you could convert MIDI files into somthing software compatible with the Genesis itsself, you could then play it trhough a Genesis emulator (like Fusion) and use its capture feature to record the audio.

tomaitheous
07-05-2009, 12:29 PM
Also, what is "SSG" referring to? (in the three below articles on that family of chips)
http://en.wikipedia.org/wiki/Yamaha_YM2203
http://en.wikipedia.org/wiki/Yamaha_YM2608
http://en.wikipedia.org/wiki/Yamaha_YM2610
Given the refrence to the YM2149 chip, I'd assume it's the types of sound that chip was capable of. (in which case it's rather similar to the PSG in the genesis/SMS, so that lacking portion of the 2612 was suplimented at least)


SSG = PSG iirc. Not sure what it stands for, maybe Square Sound Generation (it's square wave)? The last two are probably "sound generation".

TmEE
07-05-2009, 01:51 PM
SSG is a PSG, with hardware envelopes. The SSG is removed from YM2612, if it were left, you'd have 8x PSG channels more (YM2612 = 2x YM2203 - SSGs). I do not know what the SSG exactly means, but what Tomaitheous thinks is what I would think.
The SSG should be quite close to the AY in not same

Chilly Willy
07-05-2009, 03:08 PM
No, I'm looking for "custom MIDI file->YM2612 emulated sound->WAV". The application FMMIDI does what I'm looking for, except it emulates the YM2608 and YM2610 instead of the YM2612. I just need someone to modify the FMMIDI source code and give it the ability to emulate the YM2612.

As for what you're talking about, I use Audio Overload for that type of emulation. I don't like Winamp.

I think what you're looking for is what scummvm does with the audio set to FMTOWNS. It plays MIDI, and it uses a YM2612 emulation if set to FMTOWNS... but I don't think it will dump the sound to a file.

chessage
07-06-2009, 06:40 AM
I think what you're looking for is what scummvm does with the audio set to FMTOWNS. It plays MIDI, and it uses a YM2612 emulation if set to FMTOWNS... but I don't think it will dump the sound to a file.

Sort of, but ScummVM can't even import a custom MIDI file. Like I've said, I just need a YM2612 modified version of FMMIDI.