diff Problems/generateAudioDenoiseProblem.m @ 224:fd0b5d36f6ad danieleb

Updated the contents of this branch with the contents of the default branch.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 12 Apr 2012 13:52:28 +0100
parents 9c418bea7f6a
children
line wrap: on
line diff
--- a/Problems/generateAudioDenoiseProblem.m	Wed Mar 14 16:31:38 2012 +0000
+++ b/Problems/generateAudioDenoiseProblem.m	Thu Apr 12 13:52:28 2012 +0100
@@ -57,10 +57,10 @@
 TMPpath=pwd;
 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')
@@ -91,7 +91,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