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

instead it just alternates between unmodified and vertically flipped. it also doesn't have the biasing/subtraction from zero you'd need for a sine

and the result is one of the most beautiful bass sounds in the world

i need famicom bossa nova. please send famicom bossa nova

Open thread at this post

this is what's funny about stairsteps in audio, they're an intermediate step and a simple filter can turn them into pure sine waves or anything in-between if you want that. the "DACs produce stairsteps" thing is a myth

Open thread at this post