Documentation 10

// Idea


We wanted to create something techno. Inspired by Charlie Puth’s video which he recorded a single beat and transforms it into a melody/song, we also want to manipulate single beats and notes, transforming them into a looping yet constantly evolving melody. I’m also inspired by German electronic music like the songs by Kraftwerk which they build up songs from different loops of music. So Hank started with building up the beats while I added more notes and sound filters to specific notes. The entire process of sound making is like building an architecture with a systemic structure and pattern. 

I started with recording some single notes from p5 and export them as mp3 in order to load into p5. I then use the modular algorithm to determine where they join the other sound to create the loop of a pattern.


fig 10.1 exporting some single notes from GarageBand

Then I added them into the beats Hank made to create a pattern or loop of sounds by using modular. I also added reverb to the “re” note later to make it mix better with the entire melody.
I’m still curious about how to make pitch shifts for the loaded sounds in p5 and found this reference. Working on it right now. I found this diagram really useful when trying to apply filters:

I noticed that in order to do pitch shifting, we need to add tone.js to the file as a tone shifting library. here’s the piece of code that is needed: 
<script src="https://cdnjs.cloudflare.com/ajax/libs/tone/13.2.0/Tone.min.js"></script>
And I added the pitch shifter by doing this: