How to differentiate between music and speech audio files?

1 view (last 30 days)
I have a college project to detect whether an audible file is music or speech using matlab. So i used this output = test(filename,band,start_sec);
but kept on saying: Undefined function or method 'test'
How can i solve this problem and Is there any other code or function i can use to differentiate between them?
  1 Comment
ATQ
ATQ on 22 Nov 2016
Can you provide me link or code file for your project? I have same kind of project. Thanks

Sign in to comment.

Accepted Answer

Matt J
Matt J on 16 Jun 2013
If "test" is an mfile function that somebody gave you, make sure it is in a directory where MATLAB can see it, i.e., put it in your working directory or put its current directoy on the MATLAB search path (doc pathtool)
  3 Comments
Matt J
Matt J on 16 Jun 2013
Edited: Matt J on 16 Jun 2013
Well, if you don't have the code, hopefully you now understand why you're getting
Undefined function or method 'test'
Time to start browsing the FEX, I guess. How about this
Rowida Tarek
Rowida Tarek on 16 Jun 2013
yes now i do. And Thank u so much this link really helped.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!