calculate rms using sox on 1s audio snippets