Shahabks / my-voice-analysis

My-Voice Analysis is a Python library for the analysis of voice (simultaneous speech, high entropy) without the need of a transcription. It breaks utterances and detects syllable boundaries, fundamental frequency contours, and formants.
https://shahabks.github.io/my-voice-analysis/
MIT License
296 stars 91 forks source link

Extracting the results from fucntions #13

Closed ypirkani closed 3 years ago

ypirkani commented 4 years ago

I am working on some audio files and getting the results. I am looking to save the results in a variable but unable to do so.

eg.

mysp=import("my-voice-analysis") x = mysp.mysppaus(p,c) print(x)

It returns: [] number_of_pauses= 72 None

How do I save the number 72 into the variable x.

Shahabks commented 3 years ago

I assume you have experienced using praat, so you can return the value from the praat script and then use Parselmouth (Praat in Python)