-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in UIControl Callback #9
Comments
Can you share a wav file for us to reproduce and debug this issue? |
Hi, we are also experiencing this issue. Here are the files. Thanks! |
I have fixed this problem. Explaination: For example, say a file has 8 calls. Then the size of "syllable_data" will be (9,8), i.e., 9 rows and 8 columns (one for each syllable). Then length(syllable_data) will return 9 instead of 8. Then when the line syllable_data=syllable_data(:,syllable_use==1); is executed, it will throw an error since it is trying to access 9 columns of the data when there are only 8. |
I get the following error when processing my file, and I'm not sure why. My .wav files should all be the same but I get this error on a couple of them when I try to process the file.
The logical indices in position 2 contain a true value outside of the array bounds.
Error in syllable_activity_file_stats (line 72)
syllable_data=syllable_data(:,syllable_use==1);
Error in compute_musv (line 93)
[syllable_data, syllable_stats, filestats] = syllable_activity_file_stats(handles, audiofile,
TotNbFrames, syllable_data);
Error in process_file (line 7)
[syllable_data, syllable_stats, filestats,
fs]=compute_musv(wav_dir,wav_items(selected_wav),handles);
Error in processAudioFile_Callback (line 2)
handles=process_file(handles);
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)processAudioFile_Callback(hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
The text was updated successfully, but these errors were encountered: