[SciPy-user] Zero crossings

Robert Kern robert.kern at gmail.com
Fri Feb 6 19:31:57 EST 2009


On Fri, Feb 6, 2009 at 18:28, Christopher Brown <c-b at asu.edu> wrote:
> Thanks Sturla and J-Pascal,
>
> SM> zc = numpy.where(numpy.sign(a[1:]) != numpy.sign(a[:-1]))
>
> I want to estimate f0 based on zero crossings in recorded speech, and
> I've got something that looks pretty good for only a few hours of work.
>
> Does anyone have any interest in this kind of thing?

Sure! It would make a good recipe for the Cookbook.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the SciPy-User mailing list