unable to execute curl -s http: on windows
Show older comments
I am executing music processing code on matlab2015a. but and error is still occurring and i am unable to resolve that issue kindly help me out to solve that issue
picture of error is attached as well as code files are also attached

1 Comment
Khurram Qazi
on 13 Feb 2016
Answers (2)
Walter Roberson
on 12 Feb 2016
0 votes
Unfortunately that code is designed for OS-X or Linux. You need to have a look at the notes about adapting it for use with Windows; see http://labrosa.ee.columbia.edu/matlab/fingerprint/windows-notes.txt
Guillaume
on 13 Feb 2016
0 votes
With regards to your new error message, it looks very clear to me. Your mp3info program cannot find the mp3 file.
The fix to this would be to pass the full path of the mp3 file to mp3info.
8 Comments
Khurram Qazi
on 13 Feb 2016
Guillaume
on 13 Feb 2016
What's the error message this time?
Khurram Qazi
on 13 Feb 2016
Guillaume
on 13 Feb 2016
Well, the error clearly shows that you're just passing "MVI_1304_ref.mp3" to the external program. That is not the full path of he mp3 file.
By the way, it's easier for us if you simply copy/paste the error message rather than posting images of it. That way, we can copy/paste part of the message.
Khurram Qazi
on 13 Feb 2016
Guillaume
on 13 Feb 2016
As I said you need to pass the full path of your mp3 files. Change your tks cell array in robustAlgorihtm so that the list of tracks contains the full path.
If all the tracks in tks are in the same folder, this can easily be done with:
track_folder = 'D:\folder\where\the\tracks\are';
tks_fullpath = cellfun(@(track) fullfile(track_folder, track), tks, 'UniformOutput', false);
But it would be better to just include the full path when you build the cell array in the first place.
Khurram Qazi
on 13 Feb 2016
I know nothing about audio fingerprinting. I do not have any code to give you.
" i do not know that from where it is getting file 'MVI_1304_ref.mp3'": You're passing it on line 19 of robustAlgorithm to add_tracks through the cell array tks. I assume that robustAlgorithm is your own code, therefore only you know how that file ended up in tks.
If you can't figure it out. I suggest you learn to use matlab debugger. Step through your program one line at time, observing what is in each of your variables. You'll soon know where the file name is coming from.
Categories
Find more on Simulation, Tuning, Visualization, and MIDI in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!