Playing with modular synthesizers and VCV Rack

You know about using Fedora Linux to write code, books, play games, and listen to music. You can also do system simulation, work on electronic circuits, work with embedded systems too via Fedora Labs. But you can also make music with the VCV Rack software. For that, you can use to Fedora Jam or work from a standard Fedora Workstation installation with the LinuxMAO Copr repository enabled. This article describes how to use modular synthesizers controlled by Fedora Linux.

Some history

The origin of the modular synthesizer dates back to the 1950’s and was soon followed in the 60’s by the Moog modular synthesizer. Wikipedia has a lot more on the history.

Moog Modular Synth
Moog synthesizer circa 1975

But, by the way, what is a modular synthesizer ?

These synthesizers are made of hardware “blocks” or modules with specific functions like oscillators, amplifier, sequencer, and other various functions. The blocks are connected together by wires. You make music with these connected blocks by manipulating knobs. Most of these modular synthesizers came without keyboard.

A modular patch

Modular synthesizers were very common in the early days of progressive rock (with Emerson Lake and Palmer) and electronic music (Klaus Schulze, for example). 

After a while people forgot about modular synthesizers because they were cumbersome, hard to tune, hard to fix, and setting a patch (all the wires connecting the modules) was a time consuming task not very easy to perform live. Price was also a problem because systems were mostly sold as a small series of modules, and you needed at least 10 of them to have a decent set-up.

In the last few years, there has been a rebirth of these synthesizers. Doepfer produces some affordable models and a lot of modules are also available and have open sources schematics and codes (check Mutable instruments for example).

But, a few years ago came … VCV Rack. VCV Rack stands for Voltage Controlled Virtual Rack: software-based modular synthesizer lead by Andrew Belt. His first commit on GitHub was Monday Nov 14 18:34:40 2016. 

Getting started with VCV Rack

Installation

To be able to use VCV Rack, you can either go to the VCV Rack web site and install a binary for Linux or, you can activate a Copr repository dedicated to music: the LinuxMAO Copr repository (disclaimer: I am the man behind this Copr repository). As a reminder, Copr is not officially supported by Fedora infrastructure. Use packages at your own risk.

Enable the repository with:

sudo dnf copr enable ycollet/linuxmao

Then install VCV Rack:

sudo dnf install Rack-v1

You can now start VCV Rack from the console of via the Multimedia entry in the start menu:

$ Rack &
VCV Rack after startup

Add some modules

The first step is now to clean up everything and leave just the AUDIO-8 module. You can remove modules in various ways:

  • Click on a module and hit the backspace key
  • Right click on a module and click “delete”

The AUDIO-8 module allows you to connect from and to audio devices. Here are the features for this module.

AUDIO 8 input module

Now it’s time to produce some noise (for the music, we’ll see that later).

Right click inside VCV Rack (but outside of a module) and a module search window will appear. 

VCV Rack search window

Enter “VCO-2” in the search bar and click on the image of the module. This module is now on VCV Rack.

To move a module: click and drag the module.

To move a group of modules, hit shift + click + drag a module and all the modules on the right of the dragged modules will move with the selected module.

Some first VCV Rack modules

Now you need to connect the modules by drawing a wire between the “OUT” connector of VCO-2 module and the “1” “TO DEVICE” of AUDIO-8 module.

Left-click on the “OUT” connector of the VCO-2 module and while keeping the left-click, drag your mouse to the “1” “TO DEVICE” of the AUDIO-8 module. Once on this connector, release your left-click. 

A first VCV Rack connection

To remove a wire, do a right-click on the connector where the wire is connected.

To draw a wire from an already connected connector, hold “ctrl+left+click” and draw the wire. For example, you can draw a wire from “OUT” connector of module VCO-2 to the “2” “TO DEVICE” connector of AUDIO-8 module.

What are these wires ?

Wires allow you to control various part of the module. The information handled by these wires are Control Voltages, Gate signals, and Trigger signals.

CV (Control Voltages): These typically control pitch and range between a minimum value around -1 to -5 volt and a maximum value between 1 and 5 volt.

What is the GATE signal you find on some modules? Imagine a keyboard sending out on/off data to an amplifier module: its voltage is at zero when no key is  pressed and jumps up to max level (5v for example) when a key is pressed; release the key, and the voltage goes back to zero again. A GATE signal can be emitted by things other than a keyboard. A clock module, for example, can emit gate signals.

Finally, what is a TRIGGER signal you find on some modules? It’s a square pulse which starts when you press a key and stops after a while.

In the modular world, gate and trigger signals are used to trigger drum machines, restart clocks, reset sequencers and so on. 

Connecting everybody

Let’s control an oscillator with a CV signal. But before that, remove your VCO-2 module (click on the module and hit backspace).

Do a right-click on VCV Rack a search for these modules:

  • VCO-1 (a controllable oscillator)
  • LFO-1 (a low frequency oscillator which will control the frequency of the VCO-1)

Now draw wires:

  • between the “SAW” connector of the LFO-1 module and the “V/OCT” (Voltage per Octave) connector of the VCO-1 module
  • between the “SIN” connector of the VCO-1 module and the “1” “TO DEVICE” of the AUDIO-8 module
VCV Rack module controling module via CV

You can adjust the range of the frequency by turning the FREQ knob of the LFO-1 module.

You can also adjust the low frequency of the sequence by turning the FREQ knob of the VCO-1 module.

The Fundamental modules for VCV Rack

When you install the Rack-v1, the Rack-v1-Fundamental package is automatically installed. Rack-v1 only installs the rack system, with input / output modules, but without other basic modules.

In the Fundamental VCV Rack packages, there are various modules available.

VCV Rack fundamental modules

Some important modules to have in mind:

  • VCO: Voltage Controlled Oscillator
  • LFO: Low Frequency Oscillator
  • VCA: Voltage Controlled Amplifier
  • SEQ: Sequencers (to define a sequence of voltage / notes)
  • SCOPE: an oscilloscope, very useful to debug your connexions
  • ADSR: a module to generate an envelope for a note. ADSR stands for Attack / Decay / Sustain / Release

And there are a lot more functions available. I recommend you watch tutorials related to VCV Rack on YouTube to discover all these functionalities, in particular the Video Channel of Omri Cohen.

What to do next

Are you limited to the Fundamental modules? No, certainly not! VCV Rack provides some closed sources modules (for which you’ll need to pay) and a lot of other modules which are open source. All the open source modules are packages for Fedora 32 and 33. How many VCV Rack packages are available ?

sudo dnf search rack-v1 | grep src | wc -l 
150

And counting.  Each month new packages appear. If you want to install everything at once, run:

sudo dnf install `dnf search rack-v1 | grep src | sed -e "s/\(^.*\)\.src.*/\1/"`

Here are some recommended modules to start with.

  • BogAudio (dnf install rack-v1-BogAudio)
  • AudibleInstruments (dnf install rack-v1-AudibleInstruments)
  • Valley (dnf install rack-v1-Valley)
  • Befaco (dnf install rack-v1-Befaco)
  • Bidoo (dnf install rack-v1-Bidoo)
  • VCV-Recorder (dnf install rack-v1-VCV-Recorder)

A more complex case

VCV Rack second example

From Fundamental, use MIXER, AUDIO-8, MUTERS, SEQ-3, VCO-1, ADSR, VCA.

Use:

  • Plateau module from Valley package (it’s an enhanced reverb).
  • BassDrum9 from DrumKit package.
  • HolonicSystems-Gaps from HolonicSystems-Free package.

How it sounds: checkout this video on my YouTube channel.

Managing MIDI

VCV Rack as a bunch of modules dedicated to MIDI management.

VCV Rack managing MIDI

With these modules and with a tool like the Akai LPD-8:

AKAI LPD 8

You can easily control knob in VCV Rack modules from a real life device.

Before buying some devices, check it’s Linux compatibility. Normally every “USB Class Compliant” device works out of the box in every Linux distribution.

The MIDI → Knob mapping is done via the “MIDI-MAP” module. Once you have selected the MIDI driver (first line) and MIDI device (second line), click on “unmapped”. Then, touch a knob you want to control on a module (for example the “FREQ” knob of the VCO-1 Fundamental module). Now, turn the knob of the MIDI device and there you are; the mapping is done.

Artistic scopes

Last topic of this introduction paper: the scopes.

VCV Rack has several standard (and useful) scopes. The SCOPE module from Fundamental for example.

But it also has some interesting scopes.

VCV Rack third example

This used 3 VCO-1 modules from Fundamental and a fullscope from wiqid-anomalies.

The first connector at the top of the scope corresponds to the X input. The one below is the Y input and the other one below controls the color of the graph.

For the complete documentation of this module, check:

For more information

If you’re looking for help or want to talk to the VCV Rack Community, visit their Discourse forum. You can get patches (a patch is the file saved by VCV Rack) for VCV Rack on Patch Storage.

Check out how vintage synthesizers looks like on Vintage Synthesizer Museum or Google’s online exhibition. The documentary “I Dream of Wires” provides a look at the history of modular synthesizers. Finally, the book Developing Virtual Syntehsizers with VCV Rack provides more depth.

Using Software

20 Comments

  1. Robin

    Thanks for this write up and the LinuxMAO Copr repository! I got to try this out. I want to see if I can recreate Pete Townsend’s backing guitar+synthesizer track from Who Are You, like https://www.youtube.com/watch?v=xA7YYhoIlxU but using FLOSS tools.

    • Yann

      You certainly can.
      I tried to plug a guitar into VCV Rack and made some experiments (with a certain success 🙂 ).
      I n the following video, I recorded the guitar into audacity and plugged audacity into VCV Rack. But you can directly plug the guitar in VCV Rack.
      https://www.youtube.com/watch?v=YjnQ1-O_f5Y

  2. Modular synthesizers were very common in the early days of progressive rock.

    • Yann

      Yes and they “revive” today.
      There are a lot of brands who ships modular synth modules.

    • And there are now a lot of new models and a new modular scene is proposing some new musics …

  3. Elvis

    I like your article, there seems to be a growing number of SYNTH progamms on Fedora.
    Does anybody have success to get SONIC PI running on Fedora/Linux anything different than the raspberry pi
    https://github.com/sonic-pi-net/sonic-pi/blob/main/BUILD-LINUX.md
    so far I did not succeed compiling on Fedora
    Sonic Pi – The Live Coding Music Synth for Everyone http://www.sonic-pi.net

    • There is a sonic-pi package available in the COPR LinuxMAO repository:
      https://copr.fedorainfracloud.org/coprs/ycollet/linuxmao/
      For the moment, sonic-pi is not available in Fedora 34.
      SonicPi uses ruby in parts of the program and Fedora 34 ships Ruby 3 whereas SonicPi uses 2.7 …

      • Elvis

        Thank you, that is super cool.
        I never got the github repo for sonic-pi compiling I tried it yesterday again without success
        I will use COPR LinuxMAO repository now 😉
        “Mille Grazie” for COPR LinuxMAO

        • I feel the build processus for SonicPi as a pure nightmare.
          It changes from release to release and the number of dependencies is huge.
          I hope in a near futur they will focus on only one language instead of 3 or 4 now (C++, Ruby, etc ..).

  4. Dolfin

    Hi,

    I am getting “Error: This repository does not have any builds yet so you cannot enable it now.” I also downloaded the .repo file and tried to add it manually, but it couldn’t update it so it was disabled.

    Any thoughts?

    • Rudi Simon

      If you’re in Gnome, go to your software center (suitcase icon), go to the upper right button with the 3 dashes, click and select software repositories. Make sure 3rd party enable is on.
      Also copy and paste the exact syntax from the article into your terminal and read what it says. You should be able to accept with ‘y’

  5. Rudi Simon

    Installed without a hitch. Works pretty good. I build real modular systems as the founder of a company called Xor Circuits (on You Tube) mainly for research and development now, not so much for sale. I design everything here on Fedora with Bricscad and KiCad.
    VCV is great for recording and adding to real instruments. Both electronic and otherwise.

  6. The repository in only built for Fedora x86_64.
    As far as I remember, Rack is only available since Fedora 31 (to be checked).
    What version of Fedora do you use ? What platform ?

    • Dolfin

      There’s my problem. Fedora 28, which is odd since I thought I had downloaded the most recent since it was installed last month.

  7. Eric Moreau

    On Fedora 33, i get:

    Rack: src/system.cpp:169: void rack::system::setThreadRealTime(bool): Assertion `!err’ failed.

    (Rack:8849): GLib-CRITICAL **: 16:46:16.995: Failed to set scheduler settings: Operation not permitted

    [1]+ Aborted (core dumped) Rack

    • Are you sure you are on Fedora 33 ?
      This as been reported to be a Fedora 34 problem (linked to an assert triggered by pipe-wire):
      https://github.com/ycollet/fedora-spec/issues/22
      There is a ticket opened in VCV Rack tracker:
      https://github.com/VCVRack/Rack/issues/1898
      I uploaded a new version of VCV Rack without the assert. But now, the user is faced with a problem linked to glfw and wayland.

    • Normally this (these 2) problem(s) have been fixed. The GLFW library has a problem with Wayland so, Rack uses a newer version linked statically.
      AudibleInstruments had also a problem with the -O2 flags with triggers a bug (segmentation fault). It has been fixed by switching -O2 to -O3 on Fedora 32, 33, 34.

  8. Alejandro Lorea

    This post came just in time, I was looking for something to learn modular and it’s great how easy this tool it’s, also I wanted to learn some synth development and this program allows me to do it. I will take a further look and have fun with this. Thanks!

Comments are Closed

The opinions expressed on this website are those of each author, not of the author's employer or of Red Hat. Fedora Magazine aspires to publish all content under a Creative Commons license but may not be able to do so in all cases. You are responsible for ensuring that you have the necessary permission to reuse any work on this site. The Fedora logo is a trademark of Red Hat, Inc. Terms and Conditions