Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work #11

Open
kylefoley76 opened this issue Jul 15, 2020 · 7 comments
Open

does not work #11

kylefoley76 opened this issue Jul 15, 2020 · 7 comments

Comments

@kylefoley76
Copy link

I tried to get the software to calculate the number of syllables in an audio which simply said 'help me' and I got back 'Try again the sound of the audio was not clear'. here is the audio file

https://drive.google.com/file/d/15eI21DDtWC8waJfjuHrUdhKmzwGV1zkq/view?usp=sharing

and here is the code I used:
mysp=import("my-voice-analysis")
p="help.wav" # Audio File title
c = '/users/kylefoley/codes/pcode/speech_recognition/'
mysp.myspsyl(p,c)

@durgadp
Copy link

durgadp commented Aug 28, 2020

The same issue on my side error which I am getting is Try again the sound of the audio was not clear.
The quality of the audio is very good we recorded it very clearly.

File : https://drive.google.com/file/d/134YCya5vq79P0bMP2kiF0kJhiw-EZUXw/view?usp=sharing

@matthewlkey
Copy link

try this instead

mysp=import("my-voice-analysis")
p="help" # Audio File title
c = r"/users/kylefoley/codes/pcode/speech_recognition/"
mysp.myspsyl(p,c)

@Shahabks
Copy link
Owner

Shahabks commented Nov 6, 2020

As @matthewlkey mentioned the path should be initiated with "r".
@kylefoley76 Also, please note that the length of your audio should not be shorten as 10 secs.

@mennatallah644
Copy link

I face the same problem My audio is more than 10 secs and its quality is very good and i follow the rules related to path but i stuck at the same problem

@Shahabks
Copy link
Owner

please note that
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
And these repos were tested on Windows

@Jaynil1611
Copy link

I have found out a solution which worked for me

import librosa    
import soundfile as sf

y, s = librosa.load('YOUR_AUDIO_FILE_NAME.wav', sr=44100)
sf.write('NEW_AUDIO_FILE.wav',y,s)

@ZHUBAJIEJIU
Copy link

mysp=import("my-voice-analysis")? Can import be used as an expression in python? Sorry, I'm a new hand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants