Why use speed option instead of tempo -s in SoX for speed perturbation

2,360 views
Skip to first unread message

Alim Misbullah

unread,
Oct 5, 2017, 12:01:51 AM10/5/17
to kaldi-help
Hi, 

I would like to know why Kaldi developer consider to use speed option instead of tempo -s in SoX to do speed perturbation.

For example,


tempo option:
sox -t wav input.wav -t wav output.tempo0.9.wav tempo -s 0.9

speed option:
sox -t wav input.wav -t wav output.speed0.9.wav speed 0.9

If we use speed option like above, the pitch of audio also will be changed, but the tempo option does not change the pitch.

I tried to use smaller factor value like 0.5 or 0.6 to see the different between speed and tempo option.

Maybe do you have any consideration why we should use speed instead of tempo option.

Thanks,

Alim 

Daniel Povey

unread,
Oct 5, 2017, 12:03:06 AM10/5/17
to kaldi-help
When we originally developed this method Tom Ko did a bunch of
experiments using different combinations of those kinds of options,
and he found that just changing the speed was the best approach. I'm
sure 'tempo' was one of the things he tried.

Dan
> --
> Go to http://kaldi-asr.org/forums.html find out how to join
> ---
> You received this message because you are subscribed to the Google Groups
> "kaldi-help" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kaldi-help+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Alim Misbullah

unread,
Oct 5, 2017, 12:48:26 AM10/5/17
to kaldi-help
Hi Dan,

Thank a lot for your reply.

I think it is depend on training data. 

I just would like to know:

-   Does the changed pitch of audio will affect the performance?
    Based on my experiment, it will affect the performance.

For information, tempo -s option will not change the pitch of audio even we use small factor value to change the speed of audio.

Thanks,
Alim

Daniel Povey

unread,
Oct 5, 2017, 12:53:34 AM10/5/17
to kaldi-help
Yes, it will affect the performance, but that's kind of the point-- it helps.
Reply all
Reply to author
Forward
0 new messages