Task:
Create a digital, audio-visual, sample-based instrument.
Final Result:
https://editor.p5js.org/alexwang/present/Tmu87zpB
Controls:
elevator samples: qwers123
drums: mkjio
Video Demo:
Process:
I was inspired by the elevator music discussion we had in class, and decided to create a sample based instrument around sliced pieces of the elevator music
I first downloaded the song and moved it to my DAW, I manually matched the tempo and began slicing the song into individual parts
Then I coded a Launchpad-like style of keyboard sample trigger, also adding a keyrelease() function to stop the sample. Choking samples that are not meant to be played for its whole duration, while drums and other percussive sounds with a short tail are not included in this code.
Then I added animations to match the elevator theme. Each slice has its own animation that is controlled by the currentTime() function
Original idea sketch:
I originally only wanted four animations for each of the sample slices, but in the end I also added flashes of whites for both kick and snare to make the visuals more appealing.
Source:
elevator music: https://www.youtube.com/watch?v=xy_NKN75Jhw
drum samples: from online sources like cymatics.fm, some where FL Studio stock samples