Comments (4)
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.
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.
Is there a usage example of parselmouth.Pitch.get_value_at_time?
from parselmouth.
@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)
- Pre-built arm64 wheels for the PyPy interpreter HOT 7
- Feature Request - Work with Audio file's download URL HOT 6
- Intensity of wavefile is not the same from praat and parselmouth HOT 4
- Python 3.12 and Parselmouth 0.5.0 HOT 4
- [Build issues] cmake not found / 'ninja' has no attribute 'BIN_DIR' HOT 1
- Failed building wheel for praat-parselmouth HOT 4
- Extracting amplitude envelope HOT 1
- updated f0 algorithm in Praat HOT 2
- Numpy v2 incompatibility HOT 1
- Formant calculation not as accurate as in the Praat software HOT 3
- Ltas class in parselmouth? HOT 2
- How to extract pitch value of all syllables in a audio file ? HOT 3
- Missing import praat HOT 6
- Load Sound from memory? HOT 3
- Building wheel hangs on ppc64le HOT 10
- How to get values for timestamps for pitch strength, MFCCs? HOT 4
- Windows install should updated to "py -m pip install praat-parselmouth" HOT 1
- parselmouth.PraatError: Not an audio file. HOT 3
- "ERROR: Failed building wheel for praat-parselmouth" on Ubuntu HOT 1
- vision for Linux arm HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parselmouth.