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

How to load an audio file using Librosa? #300

Closed
sayantan99 opened this issue May 31, 2020 · 1 comment
Closed

How to load an audio file using Librosa? #300

sayantan99 opened this issue May 31, 2020 · 1 comment

Comments

@sayantan99
Copy link

import librosa as lr

def test():

(signal, rate)= lr.load("heart.wav", sr=None)

return rate

But I am getting this error. Though my audio file and python file are in the same folder.

UserWarning: Could not import scikits.samplerate. Falling back to scipy.signal
2020-05-31 19:08:19.216 6600-6600/com.example.chao D/AndroidRuntime: Shutting down VM
2020-05-31 19:08:19.275 6600-6600/com.example.chao E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.chao, PID: 6600
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.chao/com.example.chao.MainActivity}: com.chaquo.python.PyException: FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Dell\Desktop/android-demo-app-master/chao/app/src/main/python'
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3448)

@mhsmith
Copy link
Member

mhsmith commented Jul 25, 2020

See #144.

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

2 participants