I am working on a Matlab project and trying to shorten the sound of this frequency. Can you please further explain how to make the sound about half a second instead of about 1 second??
This is what I am working with.
freqsamp = 10000;
t = linspace(0,1,freqsamp);
a = (sin(1.5*pi*220*t) + sin(1.5*pi*440*t));
sound(a, freqsamp)
This is what I am working with.
freqsamp = 10000;
t = linspace(0,1,freqsamp);
a = (sin(1.5*pi*220*t) + sin(1.5*pi*440*t));
sound(a, freqsamp)