Two waves of and (slowed right down so you can see them) are added. You will make the program find the beat frequency, the pitch you would hear, and the time between two loud moments. Then it draws the sum.
The idea. The displacements add. The loudness swells times each second, at the average pitch .
Your tasks.
beats, the number of beats each second.pitch, the frequency you hear, in Hz.gap, the time between two loud moments, in seconds.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…