Open Muellegr opened 4 years ago
See tool issue. Song 0 & 1 have pre-selected frequencies. Song itself uses those frequencies + amplitude to create song. It will probably update 10 times a second.
Each tone has an array that stores the current frequency index to play and amplitude. It needs 10x of each for each second.
Probably go with 4 tones, but adding additional is simple and cheap.
Takes the state modules for Song 0 and 1 and interfaces in a way that music is played to the speaker.