lol, Kevtris said something similar when I was talking about the DMC channel. I threw the 80's Doctor Who theme through Audacity (MP3 > 8KHz 8-bit mono WAV) & then through a DMC converter (had to use DOSemu to get it working under linux; Wine just didn't cut it). For the few seconds it was, it sounded pretty decent. Once I get back in school later next month, I'm planning on writing a very quick demo to play through the whole thing (or at least a cut loop), on an MMC3 mapper probably...

Just so you know, the PCM channel is 7-bit rather than 8. So, at some point, shift it all right by one bit.

I wrote a PCM player too, but cheating in a major way. I used a PIC microcontroller to get 4 channels (with independent freq/volume) of output at 22050Hz. NES just gets a sample IRQ and plays it, like a PC can do with a soundblaster.

note these don't come with PCM player for NES but are small enough to fit within a mapper.

me making this is what pushed Kevtris toward working on a PCM player for NES.

he didn't want a total n00b covering ground he hasn't yet imo

kevtris on IRC wrote:

PCM on NES is impossible. just give up.

Please stop with the personal attacks against me, and bogus quoting.

You wanted to store several minutes of music on a 256K ROM from what I recall. *THAT* is what I said was impossible to do. Obviously it's not impossible to play PCM. It's simply impossible to store say, 2-3 minutes of PCM at 22KHz and hope to fit it into 256Kbytes, which is what you wanted to do. 3 minutes ends up being around 4Mbytes. You'd need 16x compression to achieve that. While possible on a PC, decoding that in real time on an NES is not possible without some kind of DSP on a cart.

atari2600: I didn't say it was impossible, I said that it's useless to try to store alot of music (i.e. a complete song is what you wanted to store, as I recall). The amount of ROM space would be huge. And as I recall saying, sure you can do it if you want 2Mbytes of ROM just for the audio. i.e. it IS possible, but not practical.

You wanted to store several minutes of music on a 256K ROM from what I recall. *THAT* is what I said was impossible to do. Obviously it's not impossible to play PCM. It's simply impossible to store say, 2-3 minutes of PCM at 22KHz and hope to fit it into 256Kbytes, which is what you wanted to do.

Who said anything about 22 kHz? My 4-bit codec could fit 2 minutes of 8000 Hz mono audio into 512 KiB, no sweat.

Quote:

atari2600: I didn't say it was impossible, I said that it's useless to try to store alot of music (i.e. a complete song is what you wanted to store, as I recall).

But given the amount of repetition in a lot of modern popular songs, it just might be possible using the Space Racer technique. I counted only about 30 unique measures in the first two verses of "Never Gonna Give You Up" by Rick Astley, known on the internets as the song from the "Rick Roll" fad. At that song's tempo (roughly 112.5 BPM), 30 measures equal 64 seconds of unique audio.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum