MTG / essentia

C++ library for audio and music analysis, description and synthesis, including Python bindings
http://essentia.upf.edu
GNU Affero General Public License v3.0
2.84k stars 532 forks source link

streaming_extractor_music #962

Open santurista opened 4 years ago

santurista commented 4 years ago

Hello can anyone help with the following?

  1. I searched Essentia page (https://essentia.upf.edu/streaming_extractor_music.html) and elsewhere. There is not enough descriptions or a manual for streaming_extractor_music. Does anyone know what [profile] is? This is the format, given: streaming_extractor_music input_file output_json_file [profile]

  2. I downloaded the source files, but could not compile it. Is there a “make file” to do this?

Thank you in advance.

Best Wishes, Peyman

alastair commented 4 years ago

Hi, The profile file is described in the manual page that you linked, under the 'configuration' section: https://essentia.upf.edu/streaming_extractor_music.html#configuration The text in [brackets] indicates that this is an optional parameter. If you want to use the default values then you don't need to specify anything here. If you want to change some parameters according to the documentation then you can make a file and specify that as the 3rd argument to the extractor.

We provide build instructions in the main documentation: https://essentia.upf.edu/installing.html Unfortunately you've not given any any information about your environment, so we're unable to give further help until we know this.

santurista commented 4 years ago

Hi, The profile file is described in the manual page that you linked, under the 'configuration' section: https://essentia.upf.edu/streaming_extractor_music.html#configuration The text in [brackets] indicates that this is an optional parameter. If you want to use the default values then you don't need to specify anything here. If you want to change some parameters according to the documentation then you can make a file and specify that as the 3rd argument to the extractor.

We provide build instructions in the main documentation: https://essentia.upf.edu/installing.html Unfortunately you've not given any any information about your environment, so we're unable to give further help until we know this.

Many thanks for getting back to me Alastair. I installed Essentia again and the music extractor works well on the preset parameters. Is there a sample [profile] file that I can have and just update certain parameters? I took the parameter values from the configuration link and altered them and put them into a file, which did not work: essentia_streaming_extractor_music file1.mp3 file1.json file_with_parameters

alastair commented 4 years ago

Can you explain in a bit more detail what you are trying to do? It would be good to know the parameters that you are trying to change. Can you include the text of the profile file that you are using, and a description of what isn't working as expected?