- Joined Dec 22, 2011
I intend to use PWM on an AVR microcontroller to create musical notes. Each note would not be just a pure tone, but a mixture of several frequencies. For each note, the code would initially see the frequencies to be mixed and their relative amplitudes, then create a table of bytes. In response to inputs, bytes for the various notes would be streamed to the PWM output. Is this possible, or is there a better way to accomplish this? Im new to AVR and C (my experience is with C#).