Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeelle committed Nov 9, 2019
1 parent 7708862 commit 660b9ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jp_makemono.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@

wavFile = fullfile(inputDirs{i},fileName);

[y,fs] = audioread(wavFile);
try
[y,fs] = audioread(wavFile);
catch
error('Error reading %s.', wavFile);
end

if size(y,2) > 1
fprintf('Made %s mono.\n', wavFile);
Expand Down

0 comments on commit 660b9ee

Please sign in to comment.