|
Triangle Channel Control Register |
Sound channel 3 is a programmable wave table, but is referred to in the header as a triangle channel.
Pinobatch says:
"It's because when I wrote the header that that header was based on, I had recent experience with the Nintendo Entertainment System and I started by using the wavetable channel to replicate the capability of the NES triangle channel until I realized that the GBA internal speaker's 800 Hz high pass characteristic wouldn't let the typical applications of the NES triangle wave through"
I don't know if this is being kept as a fun historical quirk, or if nobody's actually thought about it.
libgba/include/gba_sound.h
Line 298 in a7b03d6
Sound channel 3 is a programmable wave table, but is referred to in the header as a triangle channel.
Pinobatch says:
"It's because when I wrote the header that that header was based on, I had recent experience with the Nintendo Entertainment System and I started by using the wavetable channel to replicate the capability of the NES triangle channel until I realized that the GBA internal speaker's 800 Hz high pass characteristic wouldn't let the typical applications of the NES triangle wave through"
I don't know if this is being kept as a fun historical quirk, or if nobody's actually thought about it.