Fixed clipping issue.

Turned out the clipping issue was caused by a bit syntax error. Also tested sample script with 44100/16bits.