Git Product home page Git Product logo

Comments (4)

YannickJadoul avatar YannickJadoul commented on August 15, 2024

Hi, @intory89. One way to do this is to look at Praat's documentation and see how time steps are determined from the parameters you pass to the various analysis methods. Praat tends to describe well how these step sizes are calculated.

However, I would suggest to use the interpolation functionality that's part of many of these analyses. For example, by using parselmouth.Pitch.get_value_at_time, you can get Praat/Parselmouth to get the interpolated pitch value at that specific point in time.
This second method will be less cumbersome (but will also be less efficient, of course) than matching the analyses' time steps.

from parselmouth.

YannickJadoul avatar YannickJadoul commented on August 15, 2024

By the way, for these kind of questions that aren't really issues in Parselmouth, there is the Gitter chat box where people will answer your questions probably much more quickly.

from parselmouth.

980202006 avatar 980202006 commented on August 15, 2024

Is there a usage example of parselmouth.Pitch.get_value_at_time?

from parselmouth.

YannickJadoul avatar YannickJadoul commented on August 15, 2024

@980202006, errrrm, I'm not sure about a usage example (I don't think there's one in the docs), but this should help? https://parselmouth.readthedocs.io/en/stable/api_reference.html#parselmouth.Pitch.get_value_at_time
So in its basic for, it's really just pitch_object.get_value_at_time(t).

Apart from that, you can always refer to the Praat docs, to get more background?

from parselmouth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.