I'm trying to generate a buzzer sound like this one in matlab.
When you look at the waveform, it's got sinusoidal notches cut into an otherwise normal looking sinewave.
I generate a sinewave tone,
fs = 44100 ; t = 0 : (1/fs) : 2 ; f = 200 ; y = 0.5*(sin( f*2*pi*t )) ; sound( y, fs ) ;
I don't know how to cut the notches! How would you do it, so it sounds "buzzy"?