muaythai2006
Newbie level 6
I was asked to generate two sinusoids at the right freqnecies and add them samples by samples. The first frequencies of the first sinusoids is 1336 and other is 770.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
fs = your unspecified sample rate
for (n=0; n<1000; n++)
output[n] = sin(2 * pi * 1336 * n / fs) + sin(2 * pi * 770 * n / fs);