music genre classification experiment

I have to install Maryas again, since the testing (prediction) step can not done properly, I guess maybe I should reinstall the whole package.

So I follow the instructions on the main webpage, everything is OK.

(Here are the instructions:

http://marsyas.info/docs/manual/marsyas-user/Compiling-on-Ubuntu.html#Compiling-on-Ubuntu

)

However, when I reproduce the arff file, there are some problems: 

(bextract -sv genres10.mf -w genres10.arff -p genres10.mpl)

 RtApi3: no devices found for given stream parameters: 

    RtApi3Alsa: pcm device (hw:Intel,0) won't open: Device or resource busy.
    RtApi3Alsa: error setting sample rate (22050) on device (hw:Intel,1): Invalid argument.


When I using the command without produce the mpl file, this problem did not appear. 

When I try to  sfplay to play the wav file directly, the same error message appear again, so I guess this is some configuration problem....

RtApi3: no devices found for given stream parameters: 
    RtApi3Alsa: pcm device (hw:Intel,0) won't open: Device or resource busy.
    RtApi3Alsa: error setting sample rate (16000) on device (hw:Intel,1): Invalid argument.

Segmentation fault


Now I want to figure out what is the solution to this problem

=================================

arapi: real time application programming interface

here are the page introduce the sound in linux: http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.0/userguide-9.0/ch18.html


====================================================================================

For the ERROR message above, I still do not know how to solve, but I found that if I do not produce the mpl file in this step, everything is OK. And also the bextract can be used to do prediction. So I may just put the problem here.....

Actually after reinstall the whole package for several times, and re do all the steps to train and classify for several times, still bextract can not predict.

Finally, I look through several papers written by George Tzanetakis, which is the submission paper to the MIREX 2007, 2009, 2010, and some insignts have been gotten. 

Since when we extract the arff files, we use -sv to treat the complete wav file as a whole, so should the prediction part. (I always forgot to append the -sv in the tesiting command). So the final command line should be: bextrac -sv train.mf -tc test.mf  

This will give the prediction in the test file list.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值