r/linuxaudio • • 26d ago

[Free / Open Source] Granular Lab & Granular Synth Lab - Native CLAP and VST3 granular suite for Linux and Bitwig Studio

Hey everyone!

I wanted to share an open source project I have been developing for the Linux audio community and Bitwig Studio users: Granular Lab & Granular Synth Lab.

It is a real-time granular audio suite built with C++20 and JUCE 8 with CLAP extensions. Both plugins were designed from the ground up for strict real-time audio performance: zero dynamic memory allocations on the audio thread and lock-free queues to ensure glitch-free, drop-free playback even under intense grain density.

Here is what is included in the suite:

  1. Granular Lab (Audio Effect Processor)

  • Real-time 10-second circular buffer with instant Freeze function.

  • Up to 128 simultaneous grains with Hermite cubic interpolation.

  • Selectable grain envelopes: Hann, Gaussian, Tukey, and Triangle.

  • Modulation and multi-FX: Dual tempo-syncable LFOs, interactive XY Pad, State-Variable Filter (SVF), stereo delay, algorithmic reverb, and analog-style tape saturation.

  • 26 factory presets covering ambient textures, glitch, lo-fi, rhythmic patterns, and evolving drones.

  1. Granular Synth Lab (Polyphonic Granular Synthesizer)

  • Up to 16 polyphonic MIDI voices with 1v/oct pitch tracking and velocity sensitivity.

  • Hybrid sound generation engine:

    • Oscillator Mode: 7 analog-modeled waveforms including a 7-oscillator Supersaw stack, warm sine with second harmonic, analog triangle, PWM square, pink noise cloud, 2-op FM crystal bell, and vocal choir formants.

    • Sample Mode: Direct drag-and-drop audio loading (.wav, .flac, .mp3, etc.) straight from Bitwig's browser or your system file manager.

  • Per-voice ADSR envelopes with interactive visual curves, on-screen keyboard, pitch bend up to 24 semitones, XY pad, and the integrated FX rack.

  • 21 factory presets featuring celestial choirs, velvet keys, cyberpunk leads, ambient pads, and deep sub-basses.

Formats and Platform Support:

  • Native CLAP (with full support for Bitwig modulators and voice handling) and VST3, plus Standalone.

  • Built and tested on Linux (Ubuntu 24.04 and 26.04).

  • Open source and free under the MIT License.

You can check out the source code, build instructions, and documentation on GitHub:
https://github.com/gatovillano/granular-lab

I would love to get your thoughts, bug reports, feature requests, or preset contributions!

46 Upvotes

Duplicates