Added script to play sound using 'sox'

Also fixed a bug where the last sample was set to 0. When looping, this ended up putting two zeros besides each other and this created clipping.