Small variation in amplitude
Ältere Kommentare anzeigen
Does anybody can tell me plz,how can I make change in the amplitude of speech signal ?I need to make small variation in the amplitude.I am working in synthesize speech ,I would like to change the amplitude of the speech signal signal.
Akzeptierte Antwort
Weitere Antworten (2)
Wayne King
am 29 Jul. 2012
Bearbeitet: Wayne King
am 29 Jul. 2012
Just multiply the signal by a constant between 0 and 1
t = linspace(0,1,1000);
x = cos(2*pi*100*t)+sin(2*pi*100*(t-pi/4));
% scale the amplitude by 1/5
y = 0.2*x;
plot(t,x), hold on;
plot(t,y,'r','linewidth',2)
If you want to add just a small variation, then multiply by a factor just slightly over or under 1.
1 Kommentar
Farideh Jalali
am 29 Jul. 2012
Bearbeitet: Farideh Jalali
am 30 Jul. 2012
Farideh Jalali
am 30 Jul. 2012
0 Stimmen
Kategorien
Mehr zu Signal Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!