Hi everyone, the Neo Geo dude here again. That one problem was solved already thanks to mr. Valley but now i'm digging into the OKI MSM6295, ripping Total Carnage's voices and once again i'm stuck with the sample rate number.. no idea what's the formula T_T (i can tell by testing that it's around 7500 - 7700hz. I do know Street Fighter 2 CE, which uses the same chip, runs at 7575hz, which i found by reading from a website.. it seems the chip can go from 6000 to 8000)
Here is the vgm txt of a file that contains 1 voice sample using the chip but there's no "prescale high / low" like the Neo Geo formula so if anyone knows how to get the exact frequency, much appreciated ^_^
PS = In order to avoid making the same question for every chip, is there some place that lists the formulas for all the chips? The Neo Geo B sample one i only found in 2! sites with google... SMS power and here
Edit = So i found this PDF that has info about the CPS1 but also mentions the OKI 6295... according to this part of that book, there are 2 possible (fixed?) frequency rates, that right? (still would love to know more info from anyone more knowledgeable in this)
OKIM6295 Sample Rate
Technical discussion about the VGM format, and all the software you need to handle VGM files.
Moderator: Staff
- ValleyBell Offline
- Posts: 1602
- Joined: 2011-12-01, 20:20:07
- Location: Germany
Re: OKIM6295 Sample Rate
The OKIM6295 uses a single, fixed sample rate. All samples are played back with the rate that the chip outputs.
It has two modes:
The chip runs at a clock rate of 1 MHz, thus the sample rate is 1 MHz / 132 = 7575.76 Hz.
VGMs capture the "pin 7" state as part of the chip clock, but vgm2txt unfortunately doesn't print its state currently. (If you look at the decompressed VGM with a hex editor, the clock would be 0x800F4240 with the "80" indicating pin 7 = H.)
If you have questions about sample rates more regularly, I suggest just making a single topic with these sorts of questions.
It has two modes:
- pin 7 = L: sample rate = clock / 165
- pin 7 = H: sample rate = clock / 132
The chip runs at a clock rate of 1 MHz, thus the sample rate is 1 MHz / 132 = 7575.76 Hz.
VGMs capture the "pin 7" state as part of the chip clock, but vgm2txt unfortunately doesn't print its state currently. (If you look at the decompressed VGM with a hex editor, the clock would be 0x800F4240 with the "80" indicating pin 7 = H.)
If you have questions about sample rates more regularly, I suggest just making a single topic with these sorts of questions.