diff wave2fft2wave.m @ 6:8428a0ebd45f

Function for loading MELODIA output
author emmanouilb <emmanouil.benetos.1@city.ac.uk>
date Sat, 20 Apr 2013 14:30:27 +0100
parents 840a4c453edc
children
line wrap: on
line diff
--- a/wave2fft2wave.m	Sat Apr 20 14:04:20 2013 +0100
+++ b/wave2fft2wave.m	Sat Apr 20 14:30:27 2013 +0100
@@ -36,4 +36,6 @@
     
 end
 
+y = (max(x)/max(y))*y; % scale y to original amplitude
+
 %wavwrite(y,44100,'test.wav');
\ No newline at end of file