Difference between revisions of "Talk:MIR workshop 2008"

From CCRMA Wiki
Jump to: navigation, search
Line 1: Line 1:
 
MIR tookbox notes:
 
MIR tookbox notes:
  
when calling a = miraudio('Folder') a few things are a bummer:<br>
+
'''when calling a = miraudio('Folder') a few things are a bummer:'''<br>
 
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...')<br>
 
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...')<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>
 
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.

Revision as of 16: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 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.