Talk:MIR workshop 2008
MIR tookbox notes:
when calling a = miraudio('Folder') a few things are a bummer:
1. you have to be running in the directory with the audio you want to load, that means you have to copy your MATLAB source everywhere or else use cd('sample directory ...') and then cd('back to source...')
2. miraudio('Folder') does not seem to recognize all the .wav files in that directory, only three random ones. It does not seem to be related to upper and lower case extentions either. 'a' will contain a mixture of .WAV and .wav's.
3. you can not query 'a' to see how many files it loaded, all the info in 'a' is hidden away, it should return a struct
4. a = miraudio(x) SOMETIMES wants a mono file, i.e. x should be [n x 1]. it will give different errors such as 'blah blah should be of type double' or 'blah blah index out of bounds'. the documentation says that it will ignore one of the channels, but that doesnt seem to be the case. SOMETIMES it will return an array for the mirgetdata('something') calls, one for each channel.
It would also be nice if you could pass in parameters after 'Folder' such as frame size and overlap...