Hmm. OK.
And then I median - filtered that  using , um  a fairly long  filter length. Uh  well , actually I guess depends on what you mean by long , you know , tenth of a second sorts of numbers. Um and that 's to average out you know , pitch , you know , the pitch contours , and things like that. And then , uh looked for long runs.
OK
And that works O K , if you fil if you tune the filter parameters , if you tune  how long your median filter is and how high you 're looking for your thresholds.