Turning any word into a beat
Put it all together: every word has letters, vowels, a length and character codes. Use them to turn any word — even your name — into its own beat.
Challenge A:word = "beat". For each i, ch: play snare(i + 1, (ord(ch) - 96) % 4 + 1).