rifflearning / zenhub

This is the master repository for the Riff Projects in our ZenHub Workspace
0 stars 0 forks source link

Length Zero Utterances in Sibilant #237

Open jaedoucette opened 4 years ago

jaedoucette commented 4 years ago

Riff server sometimes records utterances of length 0.

Steps to Reproduce

As shown at line 66 of Sibilant/sibilant.js, it is possible for an utterance to be instantaneous, meaning it has a start and end time that are identical. These are also observed in data.

Such incidents are very likely to be random noise, because the sample rate for the sibilant is many times per second. These very short utterances may also be causing stitching to extend much further than expected if a user is speaking in an environment with a noisy background.

Expected behavior

An utterance should have a start and end time that are different from each other.

Possible Solution

Change 0 to 1 on line 65?