Get a free upgrade to WaveStack Modulate for iOS with code MODULATELAUNCH Free upgrade: MODULATELAUNCH

GSX

Real-time granular synthesis for VCV Rack

The GSX module panel in VCV Rack.

GSX: Real-Time Granular Synthesis

Overview

GSX is a granular synthesis module inspired by the GSX system that the composer Barry Truax built in 1985-86. It generates dense textures from hundreds of short sound events called grains, with real-time control over their timing, pitch and stereo position.

As far as I am aware, this is the only granular module in VCV Rack that uses purely synthetic grains, meaning that each grain’s waveform is generated within the module itself rather than taken from recorded audio. Synthetic granular synthesis was the first form, as imagined by the composer Iannis Xenakis and first fully realized by the composer Curtis Roads in the mid-1970s. Truax’s GSX was the first synthetic granular synthesizer that could generate grains in real time, and Truax also pioneered real-time granulation, which creates grains from recorded sound. Granulation has since largely replaced synthetic granular synthesis in practice, but I find the synthetic approach interesting to play with, and Roads’ Point Line Cloud and Truax’s Riverrun show how complex it can sound.

I’ve taken a few liberties in how GSX interprets Truax’s original design, and I make no real claim that it is a reproduction. It is based on his description of the system’s capabilities in a video hosted on his website. In place of the original’s ramp functions I added a VCA input, which accepts any envelope, a ramp included. Truax’s GSX also supported frequency modulation, which this version does not include.

The Frequency CV input follows 1V/octave, but when Range and Variation are both above zero the grains are scattered in Hz around that centre frequency, so I did not label the input 1V/oct.

Parameters

Each of the nine parameters has a knob and a CV input that adds to it.

Frequency sets the centre frequency of the grains, from 50 Hz to 2000 Hz. Range sets how far grain frequencies may scatter either side of that centre, from 0 Hz to 500 Hz. Variation sets how much of the range is used, so with Range at 0 Hz, or Variation at zero, every grain plays at the same frequency, and larger values spread the grains over a wider band.

Streams sets how many grain generators run at once, from 1 to 20. More streams give a denser texture and use more CPU.

Shape morphs the grain waveform continuously from sine through triangle and sawtooth to square. A sine grain contains only its fundamental, and the triangle, sawtooth and square add harmonics above it.

Duration sets the length of each grain, from 1 ms to 100 ms, and each grain has a smooth Hann-window envelope. Shorter grains sound more percussive and longer grains smoother. The length also affects the timbre, because a shorter grain spreads its energy over a wider band of frequencies.

Density sets how many grains each stream starts per second, from 1 to 1000. Higher densities give a more continuous sound, and lower densities give sparse, separate grains. Delay sets the time between successive grains directly, from 0.1 ms to 200 ms. At its minimum, Density sets the timing; once Delay is turned above about 0.2 ms, Delay sets the timing instead of Density.

Variation sets how much each grain is randomized, from 0% to 100%. It scatters each grain’s frequency within Range, its duration by up to 30% either way, and the time until the next grain. At 0% the grains are regular, which is the quasi-synchronous case described below, and at 100% they are fully asynchronous.

Spread places each grain at a random point in the stereo field. At 0% every grain is in the centre, and at 100% the grains cover the full width, weighted toward the edges.

Inputs and outputs

Besides the nine parameter CV inputs there is a VCA input, which scales the output level linearly from silence at 0V to full level at 5V. Left and Right carry the stereo output.

Synthesis modes

With low Variation and a regular Density or Delay, the grains repeat at a steady rate. This is quasi-synchronous granular synthesis: the repetition is heard as amplitude modulation of the grain waveform, so a grain every 20 ms produces a 50 Hz modulation, which can be heard as a pitch.

With high Variation the grains arrive at irregular times and frequencies. This is asynchronous granular synthesis, and it produces a cloud-like texture with no clear pitch.

Parameter Interaction Examples

Dense Texture (Cloud):

  • Streams: 15-20, Duration: 10-30ms, Delay: 0-5ms, Variation: 60-100%, Spread: 80-100%

Quasi-Synchronous (Pitched):

  • Streams: 8-12, Duration: 20ms, Delay: 20ms, Variation: 5-15%, Spread: 30-50%

Sparse Granular (Detached grains):

  • Streams: 3-8, Duration: 5-15ms, Delay: 50-200ms, Variation: 40-80%, Spread: 60-100%

Rhythmic Pulse:

  • Streams: 10-15, Duration: 10-20ms, Delay: 100-150ms, Variation: 0-10%, Spread: 20-40%

Historical Context

Truax developed GSX in 1985-86 for the DMX-1000 digital signal processor. It was the first real-time implementation of granular synthesis, and he used it to make Riverrun (1986). See the Granular Synthesis Workshop for a deeper history of granular synthesis from Xenakis through Truax and onward.

Coverage

In the synthesis guide

Pair with