1
Fork 0
Virtual modular synthesizer (LADI project modifications)
Go to file
Filipe Coelho a1017be6ea
Packaging fixes (#192)
* Start cleanup for improved packaging

Signed-off-by: falkTX <falktx@falktx.com>

* Use the same folder for VST2 plugins

Signed-off-by: falkTX <falktx@falktx.com>

* Fix static build

Signed-off-by: falkTX <falktx@falktx.com>

* Do not set source-dir in CI builds

Signed-off-by: falkTX <falktx@falktx.com>

* Set a custom fallback systemdir per OS

Signed-off-by: falkTX <falktx@falktx.com>

* CI tweaks

Signed-off-by: falkTX <falktx@falktx.com>

* Build the whole pyqt on windows

Signed-off-by: falkTX <falktx@falktx.com>

* Mention AU in readme and differences docs

Signed-off-by: falkTX <falktx@falktx.com>

* Add specialized utils for macOS packaging

Signed-off-by: falkTX <falktx@falktx.com>

* Fix plugin-validation build

Signed-off-by: falkTX <falktx@falktx.com>

* Fix build

Signed-off-by: falkTX <falktx@falktx.com>

* Do not create window for lv2lint tests

* Start enabling AU builds

* Copy over mod.lv2 specs for validation

* Skip main cardinal lv2lint, the custom CVPorts are not supported

* au build needs carla

* More CI tweaks

* Build headless version for plugin validation

* Fix typo

* Only show missing resources error message once

Signed-off-by: falkTX <falktx@falktx.com>

* Fallback to system path even if using a plugin bundle

Signed-off-by: falkTX <falktx@falktx.com>

* CI fixes, build full carla on Windows

Signed-off-by: falkTX <falktx@falktx.com>

* Rename script

Signed-off-by: falkTX <falktx@falktx.com>

* Silly typo

Signed-off-by: falkTX <falktx@falktx.com>

* More CI tweaks, add windows installer

Signed-off-by: falkTX <falktx@falktx.com>

* Setup Carla paths for Windows

Signed-off-by: falkTX <falktx@falktx.com>

* Yet more tweaks

Signed-off-by: falkTX <falktx@falktx.com>

* Package carla on windows, use xvfb-run

Signed-off-by: falkTX <falktx@falktx.com>

* Test win32 build too

Signed-off-by: falkTX <falktx@falktx.com>

* Finalize rework

Signed-off-by: falkTX <falktx@falktx.com>
2022-03-12 22:12:22 +00:00
.github/workflows Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
.kdev4 One IDE filter was wrong 2022-02-06 14:57:59 +00:00
carla@c06a4e626a Update carla and dpf, fixing state save in MOD builds 2022-03-10 21:37:45 +00:00
deps Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
docs Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
dpf@7cd27b17fb Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
include Implement cardinal specific async dialogs in voxglitch 2022-03-07 16:23:37 +00:00
jucewrapper Fix AU categories 2022-03-12 03:13:30 +00:00
lv2export Make small fonts less blurry 2021-12-23 01:56:37 +00:00
patches Add another patch 2022-02-14 21:54:33 +00:00
plugins Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
src Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
utils Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
.gitignore Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
.gitmodules Temporarily remove substation 2022-03-10 21:38:09 +00:00
LICENSE Add LICENSE file 2021-10-08 16:14:43 +01:00
Makefile Packaging fixes (#192) 2022-03-12 22:12:22 +00:00
README.md Packaging fixes (#192) 2022-03-12 22:12:22 +00:00

README.md

Cardinal, the Rack!

Cardinal is a free and open-source virtual modular synthesizer plugin, available as JACK standalone and AU, LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, macOS and Windows.
It is based on the popular VCV Rack but with a focus on being a fully self-contained plugin version.

More specifically, this is a DPF-based plugin wrapper around VCV Rack, using its code directly instead of forking the project, with the target of having a proper, self-contained, fully free and open-source plugin version of Rack.
See the why section below for the reasons Cardinal exists, also for frequently asked questions check this FAQ document.

Cardinal contains Rack, some 3rd-party modules and a few internal utilities all in a single binary.
All "Core" modules from Rack have been replaced by Cardinal equivalents, simplified to better work for an audio plugin.

Cardinal does not load external modules and does not connect to the official Rack library/store.
All VCV branding has been removed (to the best of our knowledge) in order to avoid any trademark issues.

The VST3 version is in progress, already part of the build but still experimental.

Plugin variants

Cardinal provides 3 plugin variants - "main", Synth and FX.
They are all equivalent in performance and behaviour, with only the IO and metadata that changes.
This is because some hosts are very strict on which plugins are allowed as instruments vs FX, so separate variants of the same plugin are needed.

FX and Synth variants both have 2 audio outputs, while "main" has 8.
All variants have MIDI input and output support.

Main

This variant provides 8 audio inputs and outputs and 10 CV inputs and outputs.

NOTE: Due to AU and VST2 formats not supporting CV ports, this variant is not available for those formats.

Synth

This variant provides 2 audio outputs but no audio inputs or CV ports.
Plugin type is set as "instrument".

FX

This variant provides 2 audio inputs and outputs, but no CV ports.
Plugin type is set as regular "effect".

Screenshots

Because people will ask for it. It is, well... Rack.
But a couple of modules background's have their colors flipped, because damn we want proper dark mode!

Init / Default patch

screenshot

Module browser

screenshot

Basic patching

screenshot

Carla and Ildaeil plugin hosts

screenshot

Current status

With the exception of a few bugs, Cardinal can be considered stable.
Though currently the following should be noted:

  • Keyboard input does not always work in some hosts #24
  • VST3 support incomplete/experimental #41
  • Windows 32bit builds do not work well #80

Current builds

If you want to try this out early, checkout the GitHub actions tab.
There is absolutely no warranty, use at your own risk and all that...

Basic building instructions are available in BUILDING.md

Community chat

Currently we are all on #cardinal IRC room in irc.libera.chat server.
Come join us in your favorite IRC client or through a Matrix bridge.

License

Cardinal is licensed under GPLv3+, see LICENSE for more details.
An overview of the included code and linked submodules can be seen here.

Included modules

At the moment the following 3rd-party modules are provided:

  • 21kHz
  • 8Mode
  • Aaron Static
  • AlgoritmArte
  • Amalgamated Harmonics
  • Animated Circuits
  • Arable Instruments
  • Aria Salvatrice
  • Audible Instruments
  • Autinn
  • Axioma
  • Bacon Music
  • Befaco
  • Bidoo
  • Bogaudio
  • Catro/Modulo
  • cf
  • ChowDSP
  • DrumKit
  • E-Series
  • ExpertSleepers Encoders
  • Extratone
  • Fehler Fabrik
  • Glue the Giant
  • GoodSheperd
  • Grande
  • Hampton Harmonics
  • HetrickCV
  • ihtsyn
  • Impromptu
  • JW-Modules
  • kocmoc
  • LifeFormModular
  • Lilac Loop
  • Little Utils
  • Lomas Modules
  • Lyrae Modules
  • MindMeld
  • ML Modules
  • Mockba Modular
  • Mog
  • mscHack
  • MSM
  • Nonlinear Circuits
  • Orbits
  • Parable Instruments
  • Path Set
  • Prism
  • rackwindows
  • repelzen
  • Sonus Modular
  • stocaudio
  • Valley
  • Voxglitch
  • ZetaCarinae
  • ZZC

Additionally Cardinal provides its own modules for DAW/Host automation, time position and internal plugin hosting.

Adding modules

Install new modules on a Cardinal build is not possible, but we can add new modules to the build.
Details on this are available here.
Also check this wiki page where we discuss possible modules to include.

Module restrictions

All included modules are open-source and have a GPLv3+ compatible license. (GPLv3-only modules are not allowed)
It is a requirement that the final Cardinal binary is GPLv3+ licensed.

Module dependencies should be kept at a minimum, as otherwise it quickly grows the complexity of the build.
Online access (such as phone-home) is not allowed.

Worth noting that a few modules have artwork licensed separately from their code.
These licenses range from CC-0 to CC-NC-ND to custom (used with permission).
An overview of the included artwork licenses can be seen here.

Even though CC-NC is problematic for packaging (some linux distributions are commercial in nature), Cardinal allows their use because of how prevalent they are across many Rack modules.
Even the Rack "Component Library" (which can be considered the base widget elements) is CC-NC licensed.

Any artwork that uses a custom license has had explicit permission to be used in Cardinal.

Why

Cardinal was created first and foremost as a way to have Rack as a proper open-source audio plugin.
A proper audio plugin should be self-contained as much as possible, as to not interfere with the DAW/Host. Loading external modules clearly goes against this idea.
Not to mention being open-source, otherwise we are at the mercy of the wishes of a company for what we can and cannot do, which is not something Cardinal's authors wish to abide by.

A self-contained plugin can't be overstated, as DLL/shared-object symbol conflicts can trigger hard-to-debug crashes.
While Rack tries to mitigate this as much as possible, crashes due to conflicting modules have already been seen in v2 builds.
On the other side, Cardinal redefines class and function names as needed to avoid as many conflicts as possible.

Support for ARM and non-mainstream platforms (for example BSD) has also always been missing from the official Rack since the start.
While we can patch the Rack free version to support these, same can't be done with Rack Pro with it being a closed-source product.
The online library/store only supports a very specific set of platforms too, so non-supported platforms would need any 3rd-party modules to be manually compiled to make them usable.

Unhappiness with the audio threading behaviour of Rack also plays a role.
Both audio and MIDI should be locked to the host audio thread as to minimize (or even altogether remove) latency and jitter.
The use of separate threads for MIDI is bad design, one that has been corrected in DAWs and JACK-MIDI for several years...
But Rack's use of RtMidi requires separate threading, so Cardinal does not use it.

Other relevant reasons include:

  • LV2 plugin version from the start
  • Proper dark mode support
  • Proper optimized build (because all code is compiled to a single file, we can use LTO over the whole thing)
  • Real CV ports to and from the plugin
  • Removing online access from the plugin and included modules (no phone-home here!)
  • Works as a test case for DPF and Carla
  • It is fun :)

Vs. Rack Pro

It needs to be said that Cardinal project and its author(s) do not wish anything bad to the original/official Rack project.
In fact, Cardinal wouldn't exist if not for Rack v2 release. (which has many needed things to make a plugin version work)

Cardinal and Rack should be able to co-exist friendly and peacefully, as they clearly have different targets.
It is likely most people will prefer to use Rack Pro for its official support and its big module collection (including commercial ones).

A feature comparison between Cardinal and Rack Pro can be seen here.