How about an audio recording of nesdev_anthem.zip B00daW?
yay, the same concept on TMS9918 family graphics chip, as you can see, amplitude can be changed by changing brightness. http://www.youtube.com/watch?v=rGA_fVegAb4
I spent most of the time creating note- and lengthtables.
tokumaru wrote:And there's no way to simulate those with audio? I'm just curious, I know nothing about audio and video signals.
Sure you could. You just need a ~60/50Hz pulse wave and a ~15723/15625Hz pulse wave. Only problem is that the NES has a maximum pulse wave frequency of 14kHz, which most TVs won't sync to. Depending on the television, you might be able to drive at the first undertone (~8kHz) and have it sync.
Drawing things in addition to generating sync will be nontrivial, however.
You might be able to generate something like a TI83+ can if you're lucky, but a TI83+ has a 6MHz Z80. Is the NES fast enough for generating anything visible through PCM output?
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
tokumaru wrote:And there's no way to simulate those with audio? I'm just curious, I know nothing about audio and video signals.
Sure you could. You just need a ~60/50Hz pulse wave and a ~15723/15625Hz pulse wave. Only problem is that the NES has a maximum pulse wave frequency of 14kHz, which most TVs won't sync to. Depending on the television, you might be able to drive at the first undertone (~8kHz) and have it sync.
$4011 can be used to generate frequencies of up to ~447 kHz.
I think I know how to get more bit depth. Vertical mirroring, black nametable 0, white nametable 1, use $2005 as if it were $4011. What this ends up doing is using the scroll to create pulse width modulation.
I thought you just outputted the 1-bit waveform to $2007. I take it this approach is to have the PPU hardware output a continuous tone without CPU assistance.
When I was experimenting with it, I noticed using other color and brightness values it made louder or softer waveforms. If someone were to experiment, they could create a look-up table of the loudest to softest or softest to loudest to create PCM waveforms.