Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Play[a sum of Harmonics]' topicStudent Support Forum > General > "Play[a sum of Harmonics]"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda
11/29/12 09:10am

Well, Welcome to the world of "interference"
If you try to visualize

Plot[{Cos[880*t], Cos[880*2 t], Cos[880*t] + Cos[880*2 t]}, {t, 0,
0.01}]

you notice that the second harmonic build in one peak and "destroy" in the following peak

To have a "nice" music one need to write a "nicer" music

Try to sound a square wave. It include "all the harmonics" but sound awful, and it is not your fault. This is just not a "pleasant" sound
Play[SquareWave[880 t], {t, 0, 1}]

yehuda

URL: benshimo@bgu.ac.il,

Subject (listing for 'Play[a sum of Harmonics]')
Author Date Posted
Play[a sum of Harmonics] Claudia 11/28/12 11:06am
Re: Play[a sum of Harmonics] yehuda 11/29/12 09:10am
Re: Re: Play[a sum of Harmonics] Claudia 11/30/12 03:29am
Re: Re: Re: Play[a sum of Harmonics] WILLIAM STEW... 12/01/12 10:09am
Re: Re: Re: Re: Play[a sum of Harmonics] Claudia 12/02/12 10:38am
Re: Re: Re: Re: Re: Play[a sum of Harmonics] William Stew... 12/04/12 10:50am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic