- Like a drum machine, you have a memory bank of patterns, where each pattern is a function definition
- You invent a rhythm to signify a function name
- While your functions's rhythm is playing in a loop, you can edit the function body
- Add certain sounds and/or rhythms in a sequence to add commands, such as variable assignment or function application
- To add a nested lexical scope, such as a while loop or a conditional, you loop a "keyword rhythm"
- For example, there may be a special "if-condition" rhythm. While the if-condition rhythm is playing, you are editing the inside of its block. At this point, both the function body and if-condition rhythms will be looping in the background
- When you execute a function, all the sounds and rhythms are played back in execution order at any speed you wanta
- Keywords, commands, and functions are differentiated by rhythm, sound, and/or tone
Created
April 10, 2020 20:53
-
-
Save jayrbolton/654283f253efe57396b6604ef2fcb9d7 to your computer and use it in GitHub Desktop.
Esoteric drumming and programming
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment