fixed wave output scaling so it's always -1 to 1