VOGONS


SBVGM (DOS) VGM Player

Topic actions

Reply 440 of 451, by SuperDeadite

User metadata
Rank Member
Rank
Member
ElBrunzy wrote on 2022-08-06, 04:06:

Hi OPLx, I must have forgot that the SAAYM soundcard allow to play Genesis/Megadrive VGM, and most of them sound perfect ! But I realized that one of the very best soundtrack for the console was not plaing properly, it's the Dune music from Cryo. The music by Stephane Picq and Philippe Ulrich is something unique and very good. There are many version and I would suggest you take a look at it if you do not know it already. The game is turn based strategy, I think the best version must have been on PC.

Unfortunately the music is only playing some random sound. The files of that game are very big and if I render them as ROM on the Genesis it take three cartridge to hold it. But the player can play other big music, so the size must not be an issue. I read your note about the YM2612 support in SBVGM.TXT and I see some limitations : I dont think there is sample playback on those VGZ, the frequency range do not seem like a problem. So my guess would be the SSG-EG envelope thing or the LFO that must be missing on the YM2151. The VGM are huge and the musics is not particularly complex, so that's why I think maybe the problem could be a controller like the LFO or the SSG-EG ?

Using VGMTool 2 R5 I could not find anything particular but I think there is another VGM tool analyzer that could help see what's the problem with that soundtrack. Right now vgmrips.net is down and I do not have it. Maybe are you aware of the problem already ? In any case I'll leave the smallest .vgz here: 06 chani's eyes.zip (I'm aware it's useless to zip a vgz but the forum dont let me upload it otherwise)

Hi, I just took a look at your file, and it absolutely contains custom ym2612 DAC samples. There are actually very few MegaDrive games that don't use samples. And while I don't have a SAAYM or have ever used SBVGM (I'm an MSX user myself), the ym2151 is a pure FM device, it has no ability to stream samples. (On MSX we use a combination of ym2151, and MSX Turbo-R's internal PCM chip to support the ym2612.)

Modules: CM-64, CM-500, SC-55MkII, SC-88 Pro, SY22, TG100, MU2000EX, PLG100-SG, PLG150-DR, PLG150-AN, SG01k, NS5R, GZ-50M, SN-U110-07, SN-U110-10, Pocket Studio 5, DreamBlaster S2, X2, McFly, E-Wave, QWave, CrystalBlaster C2

Reply 441 of 451, by OPLx

User metadata
Rank Member
Rank
Member
ElBrunzy wrote on 2022-08-06, 04:06:

Hi OPLx, I must have forgot that the SAAYM soundcard allow to play Genesis/Megadrive VGM, and most of them sound perfect ! But I realized that one of the very best soundtrack for the console was not plaing properly, it's the Dune music from Cryo. The music by Stephane Picq and Philippe Ulrich is something unique and very good. There are many version and I would suggest you take a look at it if you do not know it already. The game is turn based strategy, I think the best version must have been on PC.

Unfortunately the music is only playing some random sound. The files of that game are very big and if I render them as ROM on the Genesis it take three cartridge to hold it. But the player can play other big music, so the size must not be an issue. I read your note about the YM2612 support in SBVGM.TXT and I see some limitations : I dont think there is sample playback on those VGZ, the frequency range do not seem like a problem. So my guess would be the SSG-EG envelope thing or the LFO that must be missing on the YM2151. The VGM are huge and the musics is not particularly complex, so that's why I think maybe the problem could be a controller like the LFO or the SSG-EG ?

Using VGMTool 2 R5 I could not find anything particular but I think there is another VGM tool analyzer that could help see what's the problem with that soundtrack. Right now vgmrips.net is down and I do not have it. Maybe are you aware of the problem already ? In any case I'll leave the smallest .vgz here: 06 chani's eyes.zip (I'm aware it's useless to zip a vgz but the forum dont let me upload it otherwise)

ElBrunzy, somehow you have this amazing ability to find VGMs that expose bugs in SBVGM! 😀 I tried it and what it sounds like is that the note delays that ought to play don't until after a while. I will have to analyze and track down where the problem is and fix it as soon as I have a chance. Thank you as always! 👍

[Edit]
So I took a look at the VGM data and I think the problem may be that for a good part of the beginning of the data, there are no VGM wait commands, but Timer B commands. If I recall many Genesis/MegaDrive games tied the music update to the VSYNC interrupt and it seems that this particular game may have polled on Timer B the updates. I can't say for certain if this is the problem, but I do know that SBVGM doesn't translate YM2612 Timer A and Timer B values. I'm very curious what this VGM would sound like on.

Reply 442 of 451, by ElBrunzy

User metadata
Rank Oldbie
Rank
Oldbie

Hi SuperDeadite and OPLx, thank you for quickly analyzing the problem. Now vgmrips.net being back on track I can see that Dune on the genesis was a SEGA CD game and so it use the RF5C164 for sample playback. I checked another game from the SEGA CD (Silpheed) and it play correctly the FM part, simply ignoring the PCM call to the RF5C164. So while SuperDeadite might be right about having samples I believe it might not be the problem. OPLx comment on timer is interesting too, listening to those music feel like they are simply playing too fast...

Writing this post while listening to it I realized the garbage chunk at the start of the music sound the same on all music of the soundtrack. If you dont skip it (press ESC) after a while it eventually start to play correctly to my surprise 😮 ! Reading the history of the Dune rip on vgmrip, we learn that Kaminari did many version of it's rip. The obvious solution would be to simply remove the chunk on my personal copy, but I think the most sensible thing to do would be contact Kaminari on vgmrip, which I will do and get back to you here. I guess if all else fails I can post a fixed rip on this forum too.

OPLx, since you told me you would be curious to know what it sound like I understand you did not know that soundtrack, I like it very much as it's quite ambient so not distracting, but melodic enough to bring good energy to keep you motivated, so I listen to it often when I'm doing stuff that require concentration. The PC version is very similar and it play well on SBVGM using YM3812, it is also available on dune ibm pc at vgmrips.net. I would believe they did the PC version first and they ported it on SEGA CD as faithfully as possible, and it's where SBVGM shine as it allow you to appreciate the small differences, some are good and some are worst, that's why it's best to have both.

Reply 443 of 451, by ElBrunzy

User metadata
Rank Oldbie
Rank
Oldbie

ooh the hat of shame is an heavy one to wear 😳, before contacting Kaminari I made sure I had latest version of his rip and apparently I did not and it play perfectly now... I made you waste your time because of this and I feel terribly sorry about that 😔

Reply 444 of 451, by OPLx

User metadata
Rank Member
Rank
Member
ElBrunzy wrote on 2022-08-07, 21:50:

ooh the hat of shame is an heavy one to wear 😳, before contacting Kaminari I made sure I had latest version of his rip and apparently I did not and it play perfectly now... I made you waste your time because of this and I feel terribly sorry about that 😔

No worries at all! That's one of the difficulties about the VGM format in that there are so many different variations out there. At least we now know what the actual source of the problem was. 👍

Reply 445 of 451, by sofakng

User metadata
Rank Member
Rank
Member

How accurate is sound when played on a different chip than recorded with?

For example, how accurate is a VGM from a YM2151 played back on a YMF262 ("OPL3") ?

The YM2151 is an "FM Operator Type-M" and the YMF262 is "FM Operator Type-L"... I'm not sure what they means, but can these different FM chips be "converted" between each other for near-perfect/accurate playback?

Reply 446 of 451, by SuperDeadite

User metadata
Rank Member
Rank
Member
sofakng wrote on 2022-10-17, 03:03:

How accurate is sound when played on a different chip than recorded with?

For example, how accurate is a VGM from a YM2151 played back on a YMF262 ("OPL3") ?

The YM2151 is an "FM Operator Type-M" and the YMF262 is "FM Operator Type-L"... I'm not sure what they means, but can these different FM chips be "converted" between each other for near-perfect/accurate playback?

OPM and OPL3 are very different chips and can't cover each other. OPL3 can cover OPL2 and OPL. OPM is pure FM device. So it can cover OPN, OPNA, OPNB FM channels, but not their SSG and ADPCM parts.

Modules: CM-64, CM-500, SC-55MkII, SC-88 Pro, SY22, TG100, MU2000EX, PLG100-SG, PLG150-DR, PLG150-AN, SG01k, NS5R, GZ-50M, SN-U110-07, SN-U110-10, Pocket Studio 5, DreamBlaster S2, X2, McFly, E-Wave, QWave, CrystalBlaster C2

Reply 448 of 451, by madaxe

User metadata
Rank Newbie
Rank
Newbie
autoexecdotbat wrote on 2016-03-02, 16:10:

hello, I have a few sugestions for new features:
1. ay8910 support (there's a pretty good dos ay emulator by marsel de cogel that some old emulators use)
2. for sn77489: add tandy 3 voice support, it's the same sound chip.

Hello! Where can I download that ay emulator from marsel de cogel?

Reply 449 of 451, by OPLx

User metadata
Rank Member
Rank
Member
madaxe wrote on 2022-11-18, 19:14:

Hello! Where can I download that ay emulator from marsel de cogel?

SBVGM doesn't use any internal emulation, but you might be able to find something at Marcel de Kogel's Homepage.

Reply 450 of 451, by madaxe

User metadata
Rank Newbie
Rank
Newbie
OPLx wrote on 2022-11-19, 01:39:
madaxe wrote on 2022-11-18, 19:14:

Hello! Where can I download that ay emulator from marsel de cogel?

SBVGM doesn't use any internal emulation, but you might be able to find something at Marcel de Kogel's Homepage.

Thank you!
I'm coding an AY music player for DOS and like you I'm using a Game Blaster Card to output the sound but isn't quite perfect and the DOSBox GB emulation is not 100% perfect.

Reply 451 of 451, by OPLx

User metadata
Rank Member
Rank
Member
madaxe wrote on 2022-11-19, 10:31:

Thank you!
I'm coding an AY music player for DOS and like you I'm using a Game Blaster Card to output the sound but isn't quite perfect and the DOSBox GB emulation is not 100% perfect.

No problem, have fun making the player! You're right about DOSBox's GB emulation. I haven't (yet) found a DOS emulator that has good GB emulation.