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.

Home Page:https://shahabks.github.io/my-voice-analysis/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extracting the results from fucntions

ypirkani opened this issue · comments

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.

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