diff Problems/generateAudioDeclippingProblem.m @ 220:0d30f9074dd9

Merge
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 11 Apr 2012 15:56:39 +0100
parents 9c418bea7f6a
children
line wrap: on
line diff
--- a/Problems/generateAudioDeclippingProblem.m	Wed Sep 07 14:17:55 2011 +0100
+++ b/Problems/generateAudioDeclippingProblem.m	Wed Apr 11 15:56:39 2012 +0100
@@ -58,10 +58,10 @@
 
 if ~ exist( 'soundfile', 'var' ) || isempty(soundfile)
     %ask for file name 
-    [pathstr1, name, ext, versn] = fileparts(which('SMALLboxSetup.m'));
+    [pathstr1, name, ext] = fileparts(which('SMALLboxSetup.m'));
     cd([pathstr1,FS,'data',FS,'audio']);
     [filename,pathname] = uigetfile({'*.mat; *.mid; *.wav'},'Select a file to transcribe');
-    [pathstr, name, ext, versn] = fileparts(filename);
+    [pathstr, name, ext] = fileparts(filename);
     data.name=name;
 
     if strcmp(ext,'.mid')
@@ -92,7 +92,7 @@
     end
 else
     [x.signal, x.fs, x.nbits]=wavread(soundfile);
-    [pathstr, name, ext, versn] = fileparts(soundfile);
+    [pathstr, name, ext] = fileparts(soundfile);
     data.name=name;
 end