Thread with 8 posts

jump to expanded post

staring at the NES triangle wave channel waveform

  • hey that looks like it's based on a LUT
  • ...the volume can't be edited, it must be a LUT! (multiplies are expensive)
  • wait why isn't it a sine wave
  • ah but sine waves suck
  • oh wait, this actually is a sine LUT used "wrong"!
Open thread at this post

see, the stairstep pattern presumably comes from it using a look-up table (LUT) that has the samples for the first quadrant of a sine wave. to fill out the other four quadrants, you'd horizontally flip, vertically flip, then both horizontally and vertically flip. but it doesn't!

Open thread at this post