The problemWe have some annotate .mf files in the collections directory in SVN. Unfortunately, the old .mf files wrote a full path, so they were specific to George's computer:
If you wanted to use that same dataset, you would need to replace all the filenames to match your own home directory.
The solution.mf files now support a MARSYAS_DATADIR environment variable. Instead of writing a full path in the .mf file, you can write
and as long as you have the correct environment variable set, Marsyas will find the right files. Typical environment variables would be one of these:
export MARSYAS_DATADIR=/home/gtzan/data/sound/ export MARSYAS_DATADIR=/Users/gtzan/data/sound/ export MARSYAS_DATADIR=/home/gperciva/media/marsyas-data/
We're still sorting out the existing annotated datasets in collections/, so stay tuned for more info about that!
In addition, when you're using mkcollection to create a .mf file, you can pass the -md option and the filenames will automatically use MARSYAS_DATADIR wherever appropriate!