And if you care, this is what the XML-language looks like. A bit like HTML but for sound. Two variables, constructing a scale, controlling the pitch of the oscillator, causing it to play major if the phrase goes up and minor if it goes down. Happy playing!
One thought on “Minor and Major with WebAudioXML”
Comments are closed.