Menu

#5 Start of audio is silent in output

v1.0 (example)
closed
nobody
None
5
2017-01-08
2016-12-09
No

Steps to reproduce:

  • Compile SoundTouch using the latest svn (r244)
  • Run the soundstretch tool using the attached WAV file and the following command line:

soundstretch Click\ 120.wav stretched.wav -tempo=0

Expected behaviour:

  • stretched.wav contains the same content as the original soundfile

Actual behaviour:

  • stretched.wav has the beginning of the file missing

Note: this can be observed with any audio file, but it is particularly obvious with the one provided.

1 Attachments

Discussion

  • oparviai

    oparviai - 2017-01-08

    Hello Jamie,

    You're right, it indeed seemed to clip some tens of milliseconds from the beginning. This is now fixed in svn r245.

    Notice that there's still a tiny offset in input/output data that's due to anti-alias filtering and sample rate interpolation. If you wish to absolutely minimize tise offset then disable anti-alias filter (SoundStretch switch '-naa').

     
  • oparviai

    oparviai - 2017-01-08
    • status: open --> closed
     

Log in to post a comment.