MMC5 question: What format do I use for raw PCM?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
MMC5 question: What format do I use for raw PCM?
by on (#33220)
I am going to try to re-do SMB2's NSF in MMC5. But I do not know what RAW PCM format is used, Is it:

*.RAW (old DOS PCM format)
*.WAV (Wave format)
*.SAM (old *.MOD Sample format)

or if it is something else, Please tell me so I can make it work.

It may require someone else to create a converter, Depends on whether the format is not known to me or if there is a converter for DOS or Windows (98 to the least)

by on (#33221)
I don't think MMC5 has any automatic way of feeding samples to its builtin raw PCM channel. There's also no real advantage of using MMC5 PCM over the NES's builtin PCM channel. You'd need to rewrite the code for the NSF to use cycle-timed code to feed data to the PCM output at the correct rate, like Battletoads or Skate or Die 2.

by on (#33222)
Dwedit wrote:
I don't think MMC5 has any automatic way of feeding samples to its builtin raw PCM channel. There's also no real advantage of using MMC5 PCM over the NES's builtin PCM channel. You'd need to rewrite the code for the NSF to use cycle-timed code to feed data to the PCM output at the correct rate, like Battletoads or Skate or Die 2.


Then I will only use the 2 Square wave channels and keep the DPCM.

Thanks!