Skip to content

Adding K007232 support to libvgm. (and other soundchips too)

Technical discussion about the VGM format, and all the software you need to handle VGM files.

Moderator: Staff

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by Mao (RN22) »

Okay, so I got the k005289 barely working, but plays only single note. The problem is when setting to ofs8data16, it doesn't produce any sound at all. but when setting the cmd_reg8_data8. it sounded just fine. ofs8_data8 is much worse. It sounded just like reg8, but it only plays one channel and not the other one.

I basically added the hex-dump proms into the code to make the wavetables work.
Attachments
bin.rar
(1.77 MiB) Downloaded 29 times
To-Do list:
?

Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00

Better Call Mao!

Image

Please, check my WIP list for more updates.

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by Mao (RN22) »

I got the 005289 working!!!

The embedded proms inside the code is basically a temporary fix.
Attachments
bin.7z
(1.59 MiB) Downloaded 44 times
To-Do list:
?

Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00

Better Call Mao!

Image

Please, check my WIP list for more updates.

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by Mao (RN22) »

Update: K005289 is in PR, (as well as ICS2115 by cam900(MATRIX)).
To-Do list:
?

Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00

Better Call Mao!

Image

Please, check my WIP list for more updates.

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by Mao (RN22) »

Update: MSM5232 is fully implemented in libvgm.

ngl, this chip is quite easy to implement, except the capacitor farads tho.
Attachments
bin.rar
(1.8 MiB) Downloaded 76 times
To-Do list:
?

Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00

Better Call Mao!

Image

Please, check my WIP list for more updates.

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by Mao (RN22) »

so, about BSMT2K implementation. some of the vgm logs were having earrape when playing it, some were low on volume. I couldn't figure out why.
Attachments
bin.rar
(4.47 MiB) Downloaded 64 times
To-Do list:
?

Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00

Better Call Mao!

Image

Please, check my WIP list for more updates.

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by Mao (RN22) »

Update: BSMT2000 playback is now fixed!! thanks a lot cam900 (MATRIX) for the interpolation fix! but only there are few problems like Tattoo Assassins log which the samples are not playing properly since it uses 11 voice channels instead of 12.
Attachments
bin.rar
(4.64 MiB) Downloaded 68 times
To-Do list:
?

Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00

Better Call Mao!

Image

Please, check my WIP list for more updates.

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by yoshi200213 »

Can you please working for DMA-driven DAC support in libvgm

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by Mao (RN22) »

yoshi200213 wrote: 2025-06-04, 20:45:09 Can you please working for DMA-driven DAC support in libvgm
As for DMA-driven dac, It's just basically a ordinary dac that uses cpu to play the sample. I think you can log or stream dma dacs using pwm. e.g. mortal kombat 2 uses dma-dac to play the music, but they're only just a bunchs of cutted musics based on the source code that I have.
To-Do list:
?

Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00

Better Call Mao!

Image

Please, check my WIP list for more updates.

Re: Adding K007232 support to libvgm. (and other soundchips too)

Post by Mao (RN22) »

yoshi200213 wrote: 2025-06-04, 20:45:09 Can you please working for DMA-driven DAC support in libvgm
Here's some example on one of the bgms in MKII from the source code. To play this, use Audacity by selecting Import -> Raw Data. then choose detect.
Attachments
SNDS.rar
(832.38 KiB) Downloaded 21 times
To-Do list:
?

Current Status: Implementing soundchips.
Tempo: 105.95%
Pitch: +1.00

Better Call Mao!

Image

Please, check my WIP list for more updates.
Post Reply