Previous: Creating collections manually, Up: Collections and input files
mkcollection
mkcollection is a simple utility for creating collection
files. To create a collection of all the audio files residing
in a directory the following command can be used:
mkcollection -c reggae.mf -l music /home/gtzan/data/sound/
This also labels the data as ‘music’.
All the soundfiles residing in that directory or any subdirectories
will be added to the collection. mkcollection only will add
files with .wav and .au extensions but
does not check that they are valid soundfiles. In general
collection files should contain soundfiles with the same sampling rate
as Marsyas does not perform automatic sampling conversion on collections.