Hi, I'm a little new to this but I noticed that when I try to use myprosody, it returns a NoneType Object. What should I do if I want the number, for example number of pauses: 16, how do I get hold of the 16 in a new variable.
import myprosody as mysp
p = r"sample_audio"
c = r"/User/Suhani/Desktop/myprosody/myprosody"
pauses = myst.mysppaus(p,c)
When I try
type(pauses)
it returns NoneType. I want to be able to use the "number of pauses" in a variable per se, store it in a list.
EDIT: (august 19 2022): I also tried to use my-voice-analysis and there I see the return statements have been written as such "return;" which I understand will return NoneType. But in the myprosody functions, it says return z3 where z3 is a variable holding an integer value. Therefore, I don't understand why myprosody would return a None object
Hi, I'm a little new to this but I noticed that when I try to use myprosody, it returns a NoneType Object. What should I do if I want the number, for example number of pauses: 16, how do I get hold of the 16 in a new variable.
import myprosody as mysp p = r"sample_audio" c = r"/User/Suhani/Desktop/myprosody/myprosody" pauses = myst.mysppaus(p,c)
When I try type(pauses)
it returns NoneType. I want to be able to use the "number of pauses" in a variable per se, store it in a list.
EDIT: (august 19 2022): I also tried to use my-voice-analysis and there I see the return statements have been written as such "return;" which I understand will return NoneType. But in the myprosody functions, it says return z3 where z3 is a variable holding an integer value. Therefore, I don't understand why myprosody would return a None object
Any help would be appreciated. Thanks!