diff aux/autoalign.m @ 6:ed0a8621b96a

prepare2listen small fixes, manual, standard target loudness (-23 dBLUFS)
author Brecht De Man <b.deman@qmul.ac.uk>
date Mon, 24 Nov 2014 16:55:55 +0000
parents 1f7b986dab05
children 2afd6ff39f08
line wrap: on
line diff
--- a/aux/autoalign.m	Sun Nov 23 23:24:35 2014 +0000
+++ b/aux/autoalign.m	Mon Nov 24 16:55:55 2014 +0000
@@ -58,7 +58,7 @@
     maxlag = min(shiftvec); 
     for i = 1:length(list)
         [audio, fs] = audioread([foldername '/' list(i).name]);
-        audiowrite([foldername '/SHIFT' list(i).name], ... % remove SHIFT
+        audiowrite([foldername '/' list(i).name], ...
             [zeros(-maxlag + shiftvec(i), size(audio, 2)) ; audio], ...
             fs, 'BitsPerSample', 24);
     end