Messing with Uno Sounds, not getting what I expected. I know it's a pebcac error, just not sure which one

Break your calculation of curSamp up into individual calculations print each result on the serial monitor.
Paul