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
Sample rate has no default value #29
Comments
The error is just here |
Well: It’s not a bug, it’s a feature ! ;-) The specification of the sample rate is a requirement of the Let's suppose that you are extracting some audio features for several audio files (which you can do in the same command line see Yaafe manual here). For example let's consider the default By specifying the sample rate in the
Please also note that Yaafe can do the samplerate conversion if needed see Yaafe manual here. Is that ok for you ? |
I think there is a contradiction between the documentation and the usage. |
Do you mean that it is not the usage to extract audio features at a sample rate different from the input file ? One of the main purpose of Yaafe is to extract audio features from several audio files in order to compare those features. If features were extracted with the same parameters but at different sample rate then it would thus mean that they have been extracted with different parameters so they can not be compared. |
Ok I understand this is not a bug, but a choice. |
OK thank you very much for fixing the help message. I didn't notice the contradiction in the |
When I use
yaafe -f "cqt: CQT" KR.mp3
for example, I get the error "ERROR: please specify sample rate !" though the file has a sample rate (I can see it in its metadata), and the help (yaafe -h
) specifies :-r SAMPLE_RATE, --rate=SAMPLE_RATE working samplerate in Hz. If not set, use input file sample rate.
If I add the parameter
yaafe -r 44100 -f "cqt: CQT" KR.mp3
, it just works fine.The text was updated successfully, but these errors were encountered: