I had a lot of time on my hands this weekend and so I spent a lot of time getting our program up and running. I had originally designed some shapes for the program based on what my own synesthesia looks like. I then made many color variations of these shapes and wrote some code so that they would change color and or shape depending on the note played and then would put it on the screen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| colors = ["Red", "Orange", "Yellow", "Green", "Blue", "Pink", "White", "Turqoise"] | |
| colorIdx = (data / 2) % 12 | |
| color = colors[colorIdx] | |
| shapeLists = [Shape1, Shape2, Shape3, Shape4, Shape5, Shape6, Shape7] | |
| shapeListIdx = data / 12 | |
| shapeList = shapeLists[shapeListIdx] | |
| shape = shapeList[color] |
This code worked, however, I was very unhappy with the visuals of it. The end result turned out something like this:

Because of this outcome, I’ve decided to go back to the drawing board with the shapes and try to come up with something cleaner. Overall I think we’re in a very good spot to get the project done.