I want a LFO to be a 6Hz sine wave that will modify the amplitude of the original signal by +/- 2db.
[y, Fs] = wavread('input.wav');
t = 0:1/Fs:(length(y)-1)/Fs;
y1 = y .* 1.584893.*sin(2*pi*6*t);
wavwrite(y1,Fs,'output.wav');
is that going to do what is required? Cuz after i listened to the output signal it sounds deformed.