At the beginning, I explored the sounds around me and the sounds made by different objects. I recorded some of them with my phone, such as the sound of a hair dryer and the sound of rain.
Then I started to think about what these sounds mean and how they could connect to my project. I also thought about how to show them visually. I explored how sound could be translated into movement in p5.
At first, I tested simple lines and particles. I used noise() and random() to make the movement feel more natural. I also used sin() and cos() to create wave shapes and circular motion, so the elements could move together and react to the sound.
After learning how to create simple lines with code, I started to try more complex visuals that respond to sound. I experimented with different shapes and colours. During this process, I learned how to use beginShape() and vertex() to create polygon shapes. I also tested colour transparency and blending to layer colours and make the visuals stronger.
Activity 1
Activity 2
Project 2
Final Project 2 Design
P5 Interactive Audio Web Header Portfolio
This project explores how environmental sounds can shape the identity of a place through an interactive soundscape created with p5.js. The project focuses on natural sounds from the beach, such as waves, wind, birds, boats, and distant people.
The project shows a simple beach scene where wave sounds play continuously in the background. Users can press different keys to trigger other sounds, such as birds, wind, boats, or people. Simple visual elements appear with each sound and slowly fade away, so different sounds can layer together. In addition, when the user blows into the microphone, a wave sound and visual wave effect will appear.
The goal of this project is to let users explore how sound can shape the feeling of a place. By interacting with different sound layers, users can experience their own version of a beach environment.