PROGRAM AS MUSIC

Nonsense(?) Theory: Can translating a program from it's linguistic form to an abstracted form (audio, spatial, geometric) form allow us insight and make our programs better through intuition? By mapping our program statements as unique keys that represent sounds (or in other cases, geometric shapes, distances for spatial reasoning, etc...) we can see patterns in ways that may not be so obvious. Whether or not this is useful remains to be seen, but in the same spirit of "mini-maps" or macro code structures, we can reason about a program from a completely different perspective. Plus, it looks cool! Pattern matching is easier when we translate the medium into something where emergence is more obvious. Linguistic patterns are a much newer concept than visible or audible patterns, therefore it stands to reason that we are more attuned to see them better. Note: this is a proof of concept, and as such has not been refined.

Grammar & Translation

Mapping rules

Starts (A, E, I, O, U ,AA, EE, II, OO, UU), each subsequent sound adds the sequential vowel one more time, lengthening the sound itself. E.g:

Enter your code here

Your musical composition:

Play Composition