Monday, 5 June 2017

Granular Synthesis Trigger

After creating the more complex rhythmic patterns, I thought that they could be used to trigger other types of synthesis variations, in this case I'm using the trigger to play back a granular-esqe type sound by using each trigger as a random start point for a file stored in a buffer. By using envelopes I was able to control the sound further allowing for short grains of audio to be played back.

Below is the code for the granular Synthdef.


The arguments this synthdef takes in are for the trigger input, the pan position, the out channel and the start position of the buffer. It's this final argument that allows for the granular style synthesis, in the future I will also add a control for the playback rate of the buffer to allow for even more complex waveforms and patterns to emerge.


No comments:

Post a Comment