Mercurial > hg > smallbox
comparison examples/AudioInpainting/Audio_Declipping_Example.m @ 139:4bd6856a7128 ivand_dev
ompGabor mex version debuged and tested
author | Ivan <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Thu, 21 Jul 2011 16:37:14 +0100 |
parents | 9207d56c5547 |
children | 31d2864dfdd4 |
comparison
equal
deleted
inserted
replaced
138:56d719a5fd31 | 139:4bd6856a7128 |
---|---|
100 L = min([length(xEst2),length(xEst1),length(xClean),length(xEst1),length(xClipped)]); | 100 L = min([length(xEst2),length(xEst1),length(xClean),length(xEst1),length(xClipped)]); |
101 xEst1 = xEst1(1:L)/normX; | 101 xEst1 = xEst1(1:L)/normX; |
102 xEst2 = xEst2(1:L)/normX; | 102 xEst2 = xEst2(1:L)/normX; |
103 xClipped = xClipped(1:L)/normX; | 103 xClipped = xClipped(1:L)/normX; |
104 xClean = xClean(1:L)/normX; | 104 xClean = xClean(1:L)/normX; |
105 wavwrite(xEst1,fs,[expParam.destDir 'xEst1.wav']); | 105 % wavwrite(xEst1,fs,[expParam.destDir 'xEst1.wav']); |
106 wavwrite(xEst2,fs,[expParam.destDir 'xEst2.wav']); | 106 % wavwrite(xEst2,fs,[expParam.destDir 'xEst2.wav']); |
107 wavwrite(xClipped,fs,[expParam.destDir 'xClipped.wav']); | 107 % wavwrite(xClipped,fs,[expParam.destDir 'xClipped.wav']); |
108 wavwrite(xClean,fs,[expParam.destDir 'xClean.wav']); | 108 % wavwrite(xClean,fs,[expParam.destDir 'xClean.wav']); |