VGMPlay for MSX

Page 22/43
15 | 16 | 17 | 18 | 19 | 20 | 21 | | 23 | 24 | 25 | 26 | 27

By Grauw

Enlighted (7961)

Grauw's picture

28-09-2017, 22:41

Manuel wrote:

Wow, so the openMSX YM2151 emulation is any good? It was never properly tested because there's not much software for it (or if there's software, there's no data for it...)

Yeah, I’m using the YM2151 OPM in openMSX quite often, VGMPlay supports it for quite some time now, and there’s a ton of YM2151 VGMs out there. Haven’t noticed any issues. Although my real SFG does sound fatter / warmer, probably due to analog circuitry.

Manuel wrote:

Why does it say PSG (emu)?
Is OPN fully and losslessly mappable to OPM+PSG?

It says SFG + PSG because the OPM plays the FM channels and the PSG plays the SSG channels (SSG = YM2149). OPN is essentially an SSG plus three of the OPM’s FM channels (4-op). Due to this combination, music often has a Micro Cabin-like sound, who also combine FM + PSG.

The (emu) suffix is to indicate that it is an emulation; indeed while the PSG is identical, the FM has two functions (SSG-type EG and 3-slot mode) which aren’t available on the OPM. Although since they don’t seem to be used much it isn’t a big issue. Also the registers are shuffled around, and the note frequency is specified in a different way but converted pretty accurately. Due to the latter difference, the key scaling will be slightly different as well.

By alexito

Champion (369)

alexito's picture

29-09-2017, 04:19

Congratulations! Grauw. What a great discovery now we can enjoy a lot of song specially from Arcade machines. Thumb up.

;-)

By -Neo-

Champion (374)

-Neo-'s picture

04-10-2017, 20:52

It's getting better and better. Thanks Grauw. Got a lot of VGMs from VGMrips but what I am missing there are MSX VGM's. I see some but MG2 VGM's for example are missing. Is there a place where you can get a lot of MSX VGM's?

By Parn

Champion (349)

Parn's picture

04-10-2017, 21:38

-Neo- wrote:

Is there a place where you can get a lot of MSX VGM's?

The best place is still VGMRips. However, as you already noticed, a lot of MSX soundtracks are still missing. You can help by learning how to rip VGM files yourself and contributing to the project. I believe there are many different ways of ripping MSX soundtracks (or, perhaps, converting from KSS packs); why don't you give it a try? :)

By Grauw

Enlighted (7961)

Grauw's picture

04-10-2017, 21:43

There’s no other place to get MSX VGMs that I know of. But there’s currently 100 MSX VGM packs on VGMRips, that’s quite a lot, and the list keeps on growing, e.g. a Pumpkin Adventure 3 VGM just got submitted by niekniek.

You can also help by recording the VGM of your favourite missing MSX title yourself Wink. It’s relatively easy using the new VGM recording script in openMSX (again by niekniek), although the pack preparation process of recording, trimming, looping and tagging will take a bit of your time. The guys in the VGMRips chatbox are always very willing to help out with questions.

By Avkooi

Resident (64)

Avkooi's picture

04-10-2017, 22:18

Thanks again for this great piece of software! And fantastic that new features are getting added! Do you plan to upload a new version on Github or do I need to compile it myself? I'm also still hoping some OKI playback will be added some time in the future.

By Grauw

Enlighted (7961)

Grauw's picture

04-10-2017, 23:18

Probably somewhere between now and the end of the year I will make a new release. For now if you want to try it you indeed should compile from sources, but I can upload a development build to my web server if it’s too much trouble.

OKI playback would be nice Smile, C140 and SegaPCM too. But probably not in the upcoming release.

By Parn

Champion (349)

Parn's picture

06-10-2017, 14:53

Grauw wrote:

OKI playback would be nice Smile, C140 and SegaPCM too.

Do you think Konami PCM chips like 053260 and 054539 are possible? I have absolutely no idea how they work.

By Grauw

Enlighted (7961)

Grauw's picture

06-10-2017, 15:23

They are 4 and 8-channel PCM is all I know at this point, but I reckon it should be possible.

The best case is when the PCM data contains sound headers, which then need to be converted to OPL4 format. SegaPCM is the easiest in that regard; it’s almost identical to the PCM part of the OPL4, but with 28 rather than 24 channels, which obviously complicates things because some smart reassignment of channels would need to be done.

Other PCM chips however have the ability to play any region of PCM data on demand, by specifying a start and stop address. The Y8950 MSX-AUDIO is an example of that. Since the OPL4 can not modify its instrument data during playback, for these PCM chips I will need to scan all the music data for PCM commands to build a table of sound headers.

Then there’s the plain DAC PCM chips, which do not have any sample memory at all and rely on the CPU (often DMA). I thought these would be impossible to support initially, but thanks to encouragement from l_oliveira recently I implemented support for the YM2612’s DAC on the turboR, which works pretty well as long as the sampling frequency isn’t too high. It needs the R800 though, on plain Z80 it’s out of the question.

By Parn

Champion (349)

Parn's picture

06-10-2017, 16:02

Grauw wrote:

They are 4 and 8-channel PCM is all I know at this point, but I reckon it should be possible.

I'll keep my fingers crossed!

Grauw wrote:

The best case is when the PCM data contains sound headers, which then need to be converted to OPL4 format. SegaPCM is the easiest in that regard; it’s almost identical to the PCM part of the OPL4, but with 28 rather than 24 channels, which obviously complicates things because some smart reassignment of channels would need to be done.

I think you mean the Sega MultiPCM, right? I was reading VGMRips' wiki right now and it says the MultiPCM is a stripped-down version of the OPL4. The SegaPCM seems to have only 16 channels, which hopefully shouldn't be difficult to implement. Btw, I thought ToughKidCST's proof of concept was pretty awesome.

Page 22/43
15 | 16 | 17 | 18 | 19 | 20 | 21 | | 23 | 24 | 25 | 26 | 27
My MSX profile