swipe icon indicating copy to clipboard operation
swipe copied to clipboard

what is frameshift in Swipe

Open tuanad121 opened this issue 8 years ago • 3 comments

I realize that Swipe has st: streng threshold and dt: sample rate parameters. But I'm not sure which of them is frameshift.

tuanad121 avatar Jul 19 '17 22:07 tuanad121

if by "frameshift" you mean the time increment between output pitch samples, that's dt.

The strength threshold is a value in the range [0, 1]: all pitch measurements that fall below the threshold are replaced with NANs (see the pitch function in swipe.c).

kylebgorman avatar Jul 19 '17 22:07 kylebgorman

I see, the strength threshold is like voiced/unvoiced threshold. If pitch fall below the threshold, we mark the frame as unvoiced.

tuanad121 avatar Jul 19 '17 23:07 tuanad121

That's right.

On Wed, Jul 19, 2017 at 7:03 PM, tuanad121 [email protected] wrote:

I see, the strength threshold is like voiced/unvoiced threshold. If pitch fall below the threshold, we mark the frame as unvoiced.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kylebgorman/swipe/issues/7#issuecomment-316545008, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJuOVnDX7rfKm8uvXLqsvQxkeSmFezwks5sPosngaJpZM4OdXVx .

kylebgorman avatar Jul 20 '17 00:07 kylebgorman