Jump to content

Talk:MIR workshop 2008: Difference between revisions

From CCRMA Wiki
Cmaxwell (talk | contribs)
No edit summary
Cmaxwell (talk | contribs)
No edit summary
Line 5: Line 5:
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.<br>
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.<br>
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<br>
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<br>
4. a = miraudio(x) wants a mono file, i.e. x should be [n x 1]. it will give different errors such as x should be of type double or index out of bounds. the documentation says that it will ignore one of the channels, but that doesnt seem to be the case.
4. a = miraudio(x) 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.

Revision as of 23:05, 22 July 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) 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.