Concepts & Ideas
- The original idea comes from the project called Music Party I made for my Creative Coding Lab final project. In that project, three players can control their own character and move around the canvas to different cubes to play different instrument. You can check out the project here.
- Instead of using keyboard, for this assignment, I use key points from body part to determine which track to play and simplify the music I used.
- And I calculated the distance between eyes to determine the frequency of notes.
- This somehow combines dance and music to me, though I have 0 knowledge in dancing. And also inspired by the pedestrian symphony project.
Development Process
- apply models to p5js canvas
- basically the code from the example, but did a minor revision for better convenience in the future

-
Load the audios

Directly load the 12 audios into the assigned square.
- Write the function to play the audio accordingly

-
realize I’m using an audio, not actually coding the music so I need to control the volume. A little revision for the preload function.

-
Finally, add the pitch control via distance between two eyes


randomness to make the wave sounds less boring, though didn’t help much. I wish to work on the combination of the pitch more in the future.
Link