GithubHelp home page GithubHelp logo

guitarsai / basicsmusicalinstrumclassifi Goto Github PK

View Code? Open in Web Editor NEW
28.0 3.0 12.0 14.11 MB

Basics of Musical Instruments Classification using Machine Learning

Jupyter Notebook 100.00%
musical-instruments-classification mfcc svm machine-learning deep-learning music-information-retrieval

basicsmusicalinstrumclassifi's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

basicsmusicalinstrumclassifi's Issues

Single prediction failed

Hello Renato!

I have an issue and I would thanks a lot any help. I am bujilding a classifier using SVM and your notebook helped me a lot. But I could not understand why any other single predictions did not work. For example, look at the code above that i attached to the final of your SVM notebook:

x, sr = librosa.load("audio/london_phill_dataset_multi/cello/cello_A2_025_forte_arco-normal.mp3")
cello=np.array(get_features(x,sr)).reshape(1,-1)
print("cello:",svclassifier.predict(cello))

x, sr = librosa.load("audio/london_phill_dataset_multi/viola/viola_A3_025_fortissimo_arco-normal.mp3")
viola=np.array(get_features(x,sr)).reshape(1,-1)
print("viola:",svclassifier.predict(viola))

x, sr = librosa.load("audio/london_phill_dataset_multi/sax/saxophone_A3_025_forte_normal.mp3")
sax=np.array(get_features(x,sr)).reshape(1,-1)
print("sax:",svclassifier.predict(sax))

I loaded three audio files from three different instruments, but they are returning the same result:

executed in 710ms, finished 15:01:06 2019-07-02
cello: [2]
viola: [2]
sax: [2]

Can you help me undestand what is wrong in this call?

couldn't open mfcc_feature_vector

can u pls share all the perl files u have used in the code:
inst_labels
instruments_labels
mfcc_feature_vectors
max_length
mfcc_feature_vectors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.