top of page
Blog: Blog2
  • sal5014

ICM: Sound in a DJ Pad


For this project Pablo and I got inspired by a DJ pad that plays different sounds when each key is pressed in order to make music like in this video:



We decided that, for an amateur to compose some sort of piece we needed the sounds to loop in on themselves so that the amateur may add or subtract sounds depending on how they sounded together but we added an element of surprise by setting each sound on a random rate so that each piece can be completely unique.


We started by having a visual grid and playing the sounds from an array as our first step:



This step didn't work perfectly as some sounds kept repeating and it started playing the second the sketch started instead of on click.


The next step was to make our sounds play on loop non-stop unless clicked again:



We had a little trouble because we wanted the sounds to add on top of each other and not stop unless clicked again. In order to do this we had to re-think our code structure and think about it in a different way.


For this we created a "Pad" class that would contain our pad "objects" and assign sound files to them. Within our class we made the update and clicked functions which updated our rectangles and toggled our colors and sounds.


We also created a separate "drawGrid" function that "draws" our grid with "for" loops that also pushes our sounds in them.



This way we managed to make our pad the way we intended.


WORDS:

- Experimental

- Amateur Dj Sampler

- 80s

- arrythmic

- limpy

- random


307 views0 comments

Recent Posts

See All
bottom of page