Git Product home page Git Product logo

Comments (4)

YannickJadoul avatar YannickJadoul commented on July 17, 2024

Unfortunately, I don't think that "Get maximum" function has been ported to the Python API yet. As far as I remember, there were some problems/design issues with units and/or interpolation to add this to the Sampled base class. But I should probably have a look at porting this in a future version.

However, until this issue can get solved, I would suggest using parselmouth.praat.call(cc, "Get maximum", 0, 0, "Sinc70"), which shóuld work and give you the same answer?

from parselmouth.

YannickJadoul avatar YannickJadoul commented on July 17, 2024

(I would advise against the other option, i.e. cc.values.max(), because this will only get you the maximum sample without interpolating, so this would be like choosing None as interpolation)

from parselmouth.

olivierfriard avatar olivierfriard commented on July 17, 2024

from parselmouth.

YannickJadoul avatar YannickJadoul commented on July 17, 2024

Thanks; do let me know when it doesn't work as intended.
By the way: I still need to put an example together and add it to ReadTheDocs, but if you have larger existing Praat scripts, you can also use parselmouth.praat.run and parselmouth.praat.run_file

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.