Apu, like from The Simpsons?
Hello beautiful humans! We’re back, and I’ve finally stopped procrastinating on the APU! Let’s dive right in!
CPU, GPU, TPU, NPU, LPU, DPU, and now APU?!
I’ve been very scared of dealing with the APU, since it’s seemed like the hairiest thing to deal with, and it’s also the last part of the emulator core.
The APU has four channels and mixing and fading and stuff I will get into.
2 Chan
The first channel I started with was channel 2, since it is the simplest (1 has an extra feature, but otherwise, they’re the same)
There are four things one needs to understand for these channels:
- Period
- Duty
- Length
- Envelope
Duty is the waveform of the audio, like what percentage of the square wave is at level 1 vs level 0. This changes the timbre of the sound.
Length is the amount of time the note plays for. It’s harder for devs to have to manually turn off the notes on their own b/c of timing.
Envelope is the fade in/fade out of the sound
Also, on channel 1, there is sweep, which changes envelope I think? I don’t know b/c Pan Docs is confusing for this (built for game developers it feels)
Aaaanyways, that’s it from me for now, as I have a history in-class writing test thing tomorrow and I’ve already hit my 2½ hour goal for the day.
Also, I was listening to Constant Companions and I realised I probably never listened to the album hard enough b/c “Clouddrop” is a lot more depressing than I remember, and I got ts on vinyl soo that’s something I will be embarrassed to tell my friends. Also, y’all should listen to Constant Companions to increase her listeners so that one day, Jamie can have her Paige again.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.