Skip to content

04/01/2016 – Session Two #Sonic Pi

So today I didn’t really get as much done as I had hoped, mainly due to having a sweet lie in until past midday… by the time I had got up, practiced guitar, gone to the gym and gone food shopping it was somehow 9pm.

Anyway I have been thinking about how best to approach this. Yesterday I went straight in with some general experimentation but I am now thinking it would be better to focus more on particular techniques to see how they work and sound. When practising guitar my teacher tells me to focus on a few bars at a time and drill them, so this would be a similar-ish approach.

Today I experimented with ADSR envelopes.

ADSR stands for Attack, Decay, Sustain and Release. Attack is sometimes used to fade a sound in, though it can be set to 0 or a very low number to bring a sound in suddenly, so that the natural transient is heard unaffected. Sustain is how long the sound is held for and Release is it ending, possibly fading out. Decay is the time between the sound reaching its full attack level and then sustaining.


ADSR diagram from Sonic Pi help menu

In production ADSR is commonly used to shape the sound of transients. It is amazing how much control this gives you. I will elaborate more in a future post as it is getting late! Here is a snippet of some practising I did on a drum sample: