Hi,
I write a little script in command window of Matlab:
between:
t = (0: 0.001: 10)';
y = sin (2 * pi * 50 * t)
sound (y, Fs);
and
t = (0: 0.001: 100)';
y = sin (2 * pi * 50 * t)
sound (y, Fs);
the 2nd sound is lengthened in duration
OK!
Now I add an effect to this signal with effect.m:
(E)
t = (0: 0.001: 100)';
y = sin (2 * pi * 50 * t)
z = effect (y);
sound (z, Fs);
How to correct (E) for this effect to act in a time interval t1 = (a: 0.001: b) with a> 0 and b <100?
thanks
1 Comment
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/421792-time-interval-over-the-duration-of-an-effect-and-not-the-signal#comment_617039
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/421792-time-interval-over-the-duration-of-an-effect-and-not-the-signal#comment_617039
Sign in to comment.