follow us

Chipmusic

Some times the Coolest stuff is at the edges..

Via NESDEV

I’ve been playing around with the concept of using the 2C02 PPU hum intentionally.

B00daW: So far I’ve created a flickering BG0 test ROM that yields no noise. I’ve also used NO CARRIER’s GlitchNES; then modified it so that the APU and all channels are turned on. All I get is a small pop when the APU turns on and a click when the NES is shut off.
Does anyone have any idea about which part of the PPU would be producing the hum and what would be done to purposefully make the hum? (Speaking strictly via software that is.)
Furthermore, what frequencies are achieved and are they consistent?
I’ll be messing about with this a bit further

blargg: Haha, great idea. Hours later, here’s a demo that plays the first few notes of the SMB theme through the PPU. Run on a NES and plug your audio RCA cable into the VIDEO output to hear (turn down volume first, as the buzz is kind of loud).

ppu_tune.zip with NES ROM and ca65 source

I got side-tracked trying to play 6-bit PCM out of the PPU (couldn’t get the output levels to match what they should have). I did get 3-bit PCM working, but lack the RAM on my devcart to put any decent-length sample on it. Had to settle for a simple square wave. It just plays it by loading the palette with black and white, and toggling between the two entries by changing the PPU address (with rendering disabled). Connect NES normally to “see” the waveforms on screen.

ppu_tune

5 comments to Some times the Coolest stuff is at the edges..

  • It sounds beautiful!

  • B00daW

    Nice. I didn’t know that. :D

  • This idea has ben done many months ago on the C64.
    The demo “Vicious SID”, where also the revolutionary 8-bit sample playroutine that we focused on back then was presented, has a part where sample music is played using hum coming from the VIC videochip. Demo says you can remove the SID if you don’t believe them :)

    http://csdb.dk/release/?id=72678

  • I found a video of the “Vicious SID” C64 demo on Youtube, but it had no audio at the part where it’s supposed to play from the VIC. I would like to hear it.

  • The demo says “crank up the volume of you monitor real loud xD
    I’m afraid you will need the real thing to hear that part. VIC hum is particular, using an emulator you won’t be able to hear it exactly as intended.