Shahabks / myprosody

A Python library for measuring the acoustic features of speech (simultaneous speech, high entropy) compared to ones of native speech.
https://shahabks.github.io/myprosody/
MIT License
232 stars 63 forks source link

"Try again the sound of the audio was not clear" #14

Closed Alan-LZhang closed 3 years ago

Alan-LZhang commented 4 years ago

Describe the bug Keep getting this error using my own audio files (all longer than 20s and sound clear to me) or even the sample file suun3. I also have following files in my "Test" directory.

  1. myspsolution.praat
  2. MLTRNL.praat
  3. stats.csv

To Reproduce import myprosody as mysp import pickle

p="suun3" # Audio File title c="/content/drive/My Drive/Audio/Test" # Path to the Audio_File directory (Python 3.7) mysp.myspgend(p,c)

Please help. Thanks!

Shahabks commented 4 years ago

NOTE:

1- 1- Both My-Voice-Analysis and Myprosody work on Python 3.7 
2- If you install My-Voice-Analysis through PyPi, please use: 
      mysp=__import__("my-voice-analysis") instead of import myspsolution as mysp
3- It it better to keep the folder names as single entities for instance "Name_Folder" or "NameFolder" without space in the dirctoy path