Realms

Guide

Granular synthesis explained: turning any sample into a texture

Granular synthesis is how a two-second vocal becomes a pad that lasts all night. This guide explains the idea, what each control does to the sound, and four recipes to try.

By Realms ·

The short answer

Granular synthesis cuts a recording into tiny pieces called grains, each a few thousandths of a second long, and plays many of them back at once, overlapping. Because you choose where in the recording the grains come from, how long they are, how many play, and at what pitch, you can freeze a single moment of a sound, stretch it, smear it or scatter it. It turns any sample into a pad, drone, texture or rhythm.

What granular synthesis is

A normal sampler plays a recording from start to finish, like pressing play on a tape. A granular sampler treats the recording as raw material. It takes very short slices of it, fades each one in and out so it does not click, and layers dozens of them every second.

Each slice is a grain. One grain on its own is too short to recognise: it is a blip. Hundreds of them, overlapping, blend into a continuous sound that carries the tone of the original recording without its timing.

That separation is the whole point. In an ordinary sampler, slowing a sound down also lowers its pitch. With grains, time and pitch come apart. You can hold on one instant of a sound for as long as you like, move through it at any speed in either direction, and change the pitch without changing the speed.

The idea is older than computers. The physicist Dennis Gabor described sound as made of tiny quanta in 1947, and the composer Iannis Xenakis wrote music from grains of sound in the late 1950s. It became practical once computers were fast enough to do it live.

The controls, and what each does to the sound

Granular instruments use different names, but nearly all of them have these six controls.

ControlWhat it setsLowHigh
PositionWhere in the sample the grains are taken fromThe start of the soundThe end of the sound
Grain sizeHow long each grain lastsBuzzy and metallic, below about 20 msRecognisable fragments of the original, above about 100 ms
DensityHow many grains start each secondSeparate blips, like rainA smooth, continuous cloud
SpreadHow far from the position grains may be takenOne frozen moment, staticA wide smear across the sound, always shifting
PitchHow fast each grain plays backLower and darkerHigher and brighter
ShapeHow each grain fades in and outSoft, blurred edgesSharp, articulated edges

Two of these work as a pair. Grain size multiplied by density tells you how many grains overlap at any moment. A few overlapping grains sound grainy and rhythmic. Many overlapping grains sound smooth.

Many instruments add a seventh control, speed, which moves the position through the sample by itself. At zero the sound is frozen in place. At normal speed it plays through at its original pace. Slower than that is a time stretch, and a negative speed plays backwards.

Four recipes

1. A pad from a vocal

  1. Load a sung note or a spoken word.
  2. Put the position on a vowel, where the sound is steady.
  3. Set the grain size long, around 100 to 200 ms, and the density high.
  4. Add a little spread so it shimmers, and use a soft shape.
  5. Leave speed at zero. The vowel now sustains for as long as you hold a note.

2. A frozen drone

  1. Load anything with character: a chord, a cymbal, a field recording.
  2. Set speed to zero and spread close to zero.
  3. Use long grains and move the position slowly by hand until you find a moment you like.
  4. Record yourself moving the position. That movement is the performance.

3. A rhythmic stutter

  1. Load a drum loop or a vocal phrase.
  2. Set grains to start in time with the tempo, for example one every sixteenth note.
  3. Use short grains, no spread and a sharp shape, so each one is a distinct hit.
  4. Jump the position between different parts of the sample in time with the beat.

4. A texture bed

  1. Load a long recording: rain, a street, a crowd, a whole song.
  2. Open the spread wide, so grains come from all over.
  3. Use a medium grain size and a high density.
  4. Set a very slow speed, so the texture drifts over minutes without repeating.

Where to find granular tools

Most DAWs include something that can do this, though the workflow varies.

From Realms

Engrain

Engrain is our granular sampler. It plays one sample three ways: Hold freezes a single spot, Step moves through sixteen spots in time with your project, and Keys gives each of 49 keys its own spot in the sample. Every spot is a marker on the waveform that you drag while you listen.

Its main difference is in Keys mode, where each marker can have its own grain size, pitch and spread. One sample can be a different sound on every key, which makes recipes like the ones above playable from a keyboard.

Engrain is $33 and comes as AU and VST3 for Mac and VST3 for Windows.

See Engrain

Common mistakes

Questions people ask

What is a grain?

A grain is a very short piece of a recording, usually between 5 and 500 milliseconds, with a fade at each end. Granular synthesis builds sounds by layering many of them.

Is granular synthesis the same as sampling?

It starts from a sample, but plays it differently. A sampler plays a recording through from a start point. A granular instrument plays many tiny overlapping pieces of it, taken from wherever you choose.

What sounds work best?

Sounds with a clear tone and some variation along their length: vocals, sustained chords, strings, bells, guitar notes and field recordings. Drum loops work well for rhythmic effects.

What is the difference between granular synthesis and time-stretching?

Time-stretching is one use of the same technique: it uses grains to change the length of a sound while keeping it recognisable. Granular synthesis uses grains creatively, to make a new sound from the original.