RepositoryC++SESweden
elk-audio

elk-audio/sushi

Elk Audio OS Plugin host and DAW

185stars
26forks
1issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: sushi

#1 Repository of the month

1
TINIX TRENDING·Topic: daw

#1 Repository of the month

1
TINIX TRENDING·Topic: vst

#1 Repository of the month

SUSHI

Headless plugin host for ELK Audio OS.

Sushi as Library

Sushi can be used as a standalone terminal application, and can now also be used as a library.

For more information on the latter, refer to the [LIBRARY.md] (docs/LIBRARY.md) file in this repository.

Usage

The Sushi standalone project, and consequently the produced binary, reside in the ./apps/ sub-folder of this repository.

See sushi -h for a complete list of options. Common use cases are:

Test in offline mode with I/O from audio file:

$ sushi -o -i input_file.wav -c config_file.json

Use Core Audio on macOS for realtime audio, with the default devices:

$ sushi --coreaudio -c config_file.json

Use JACK for realtime audio:

$ sushi -j -c config_file.json

With JACK, Sushi creates 8 virtual input and output ports that you can connect to other programs or system outputs.

Sushi macOS

Since version 1.0, Sushi can be built natively for macOS as a native binary with all the dependencies statically linked to it.

There is a new Core Audio frontend (selectable with the --coreaudio command-line option) to interface directly with Core Audio. As an alternative, a Portaudio frontend is also available (with the --portaudio flag).

With Core Audio, you can select other devices than the default with the --audio-input-device-uid and --audio-output-device-uid options. To find out the right number there, you can launch Sushi with the --dump-audio-devices together with --coreaudio to get a list in JSON format printed to stdout.

MIDI support is provided through RtMidi and can access CoreMidi devices directly.

LV2 support is currently not available for macOS.

Sushi Windows

Since version 1.2, Sushi can be built natively for Windows.

The suggested audio frontend for Windows is Portaudio (selectable with the --portaudio option), which can use most available sound device apis on Windows. You can select which devices to use with the --audio-input-device and --audio-output-device options. As with Core Audio, to find the id corresponding to a device, launch Sushi with the --dump-audio-devices option together with --portaudio to get a JSON formatted list printed to stdout.

By default, Portaudio does not support Asio, to build with Asio support, pass the -DPA_USE_ASIO=ON flag to cmake. This will download and build the Asio SDK automatically.

LV2 support is currently not available for Windows.

Example Sushi configuration files in repository

Under misc/config_files in this repository, we have a large variety of example Sushi configuration files.

The first one to try to check if everything is running properly, would be this one that uses the internal sequencer & synthesizer to generate a sequence:

$ ./sushi --coreaudio -c config_files/play_brickworks_synth.json

(on Linux with JACK, replace --coreaudio with --jack).

Many of the examples use the mda-vst3 plugins which are built when building Sushi. If you are running one of the prebuilt packages (available on the releases sections on GitHub), you have everything inside the sushi folder there. For example, on macOS you should be able to get a simple working synthesizer with:

Otherwise, if you are building from source, the plugins used by the examples can be found under:

build/debug/VST3/Debug, or build/release/VST3/Release respectively, for debug and release builds.

To run Sushi with an example configuration, you simply invoke it while pointing to one of the above paths.

On Ubuntu that could be:

$ ./sushi -j -c ../../misc/config_files/play_vst3.json --base-plugin-path VST3/Debug

Or, from a macOS terminal:

$ ./sushi --coreaudio -c ../../misc/config_files/play_vst3.json --base-plugin-path VST3/Release

Extra documentation

Configuration files are used for global host configs, track and plugins configuration, MIDI routing and mapping, events sequencing.

More in-depth documentation is available at the Elk Audio OS official docs page.

Building

Sushi builds are supported for native Linux systems, Yocto/OE cross-compiling toolchains targeting Elk Audio OS systems, and macOS.

Make sure that Sushi is cloned with the --recursive flag to fetch all required submodules for building. Alternatively run git submodule update --init --recursive after cloning.

Sushi requires a compiler with support for C++17 features. The recommended compilers are GCC version 10 or higher, and clang version 13 or higher.

Native Linux dependencies

Sushi handles most dependencies with vcpkg (or as submodules) and will build and link with them automatically. A few dependencies are not included however and must be provided or installed system-wide. See the list below (debian packages names):

  • libasound2-dev

  • libjack-jackd2-dev

  • For VST 2:

    • Vst 2.4 SDK - Needs to be provided externally as it is not available from Steinberg anymore.
  • For LV2:

    • liblilv-dev - at least version 0.24.4. Lilv is an official wrapper for LV2.

    • lilv-utils - at least version 0.24.5.

    • lv2-dev - at least version 1.18.2. The main LV2 library.

      The official Ubuntu repositories do not have these latest versions at the time of writing. The best source for them is instead the KX Studio repositories, which you need to enable manually.

    • For LV2 unit tests:

      • lv2-examples - at least version 1.18.2.
      • mda-lv2 - at least version 1.2.4 of drobilla's port - not that from Mod Devices or others.

Building with vcpkg (native Linux & macOS)

To build from a terminal, use the commands below. Vcpkg also integrates nicely with CLion and other IDEs though must manually set the toolchain file.

$ mkdir build && cd build 
$ ../third-party/vcpkg/bootstrap-vcpkg.sh
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../third-party/vcpkg/scripts/buildsystems/vcpkg.cmake ..
$ make 

This might take a while the first time since all the vcpkg dependencies will have to be built first.

Note: if using Cmake 4 on MacOS, you might need to set the environment variable SDKROOT to macosx in order to build the vcpkg dependencies correctly:

SDKROOT=macosx cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../third-party/vcpkg/scripts/buildsystems/vcpkg.cmake ..

Building with vcpkg (Windows)

Building on Windows is similar to Posix and macOS, with the addition of the triplet configuration. To build from a terminal, use the commands below. Vcpkg also integrates nicely with CLion and Visual Studio, though you must manually set the toolchain file for vcpkg integration.

$ mkdir build ; cd build
$ ../third-party/vcpkg/bootstrap-vcpkg.bat
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="../third-party/vcpkg/scripts/buildsystems/vcpkg.cmake" -DVCPKG_OVERLAY_TRIPLETS="../triplets/" -DVCPKG_TARGET_TRIPLET=win-custom-x86-64 ..
$ cmake --build ./ --config Release

Building with Yocto for Elk Audio OS

Sushi can be built either with the provided Elk Audio OS SDK, or as part of a full Elk Audio OS image build with bitbake.

Follow the instructions in those repositories to set up a cross-compiling SDK and build Sushi for a given target.

Useful CMake build options

OptionValueNotes
SUSHI_AUDIO_BUFFER_SIZE8 - 512The buffer size used in the audio processing. Needs to be a power of 2 (8, 16, 32, 64, 128...).
SUSHI_WITH_RASPAon / offBuild Sushi with Xenomai RT-kernel support, only for ElkPowered hardware.
SUSHI_WITH_JACKon / offBuild Sushi with Jack Audio support, only for standard Linux distributions and macOS.
SUSHI_WITH_PORTAUDIOon / offBuild Sushi with Portaudio support.
SUSHI_WITH_APPLE_COREAUDIOon / offBuild Sushi with Apple Core Audio support.
SUSHI_WITH_ALSA_MIDIon / offBuild Sushi with Alsa sequencer support for MIDI (Linux only).
SUSHI_WITH_RT_MIDIon / offBuild Sushi with RtMidi support for MIDI. Cannot be selected if SUSHI_WITH_ALSA_MIDI is set.
SUSHI_WITH_LINKon / offBuild Sushi with Ableton Link support.
SUSHI_WITH_VST2on / offInclude support for loading Vst 2.x plugins in Sushi.
SUSHI_WITH_VST3on / offInclude support for loading Vst 3.x plugins in Sushi.
SUSHI_LINK_VST3on / offLink Vst3 SDK (statically) if Vst3 is included. Turn this off if Sushi is linked statically as a library, into an application which already links Vst3's SDK.
SUSHI_WITH_LV2on / offInclude support for loading LV2 plugins in Sushi.
SUSHI_WITH_RPC_INTERFACEon / offBuild gRPC external control interface, requires gRPC development files.
SUSHI_BUILD_TWINEon / offBuild and link with the included version of TWINE, otherwise tries to link with system wide if the option is disabled.
SUSHI_TWINE_STATICon / offLink statically against TWINE (not recommended, useful only in a few cases).
SUSHI_WITH_UNIT_TESTSon / offBuild and run unit tests together with building Sushi.
SUSHI_WITH_LV2_MDA_TESTSon / offInclude LV2 unit tests which depends on the LV2 drobilla port of the mda plugins being installed.
SUSHI_VST2_SDK_PATHpathPath to external Vst 2.4 SDK. Not included and required if WITH_VST2 is enabled.
SUSHI_WITH_SENTRYon / offBuild Sushi with Sentry error logging support.
SUSHI_SENTRY_DSNurlURL to the default value for the Sushi Sentry logging DSN. This can still be passed as a runtime terminal argument.
SUSHI_DISABLE_MULTICORE_UNIT_TESTSon / offDisable unit-tests dependent on multi-core processing.
SUSHI_BUILD_STANDALONE_APPon / offBuild standalone Sushi executable.
SUSHI_BUILD_WITH_SANITIZERSon / offBuild Sushi with google address sanitizer on. Default is off.
The default values for many of the options are platform-specific (native Linux, Yocto/OE, macOS).

Note:

before version 1.0, the CMake options didn't have the SUSHI_ prefix. The old names (e.g. WITH_JACK) are not supported anymore and should be changed to the new format.

Running Unit tests separately

Some Sushi's unit tests depend on test data, which is found through the environment variable SUSHI_TEST_DATA_DIR. You will need to define this if you want to run the unit test explicitly, e.g. while debugging:

$ export SUSHI_TEST_DATA_DIR=/path/to/sushi/repo/test/data

Moreover, the battery of tests for VST3 plugin support, build and use the example plugins of the VST3 SDK. While the automated tests running as part of the build find these plugins automatically, when running the unit_tests binary manually, you may need to set the working directory to: /path/to/sushi/build_folder_name/test, for the path to resolve correctly.

License

Sushi is licensed under Affero General Public License (“AGPLv3”). See LICENSE document for the full details of the license. For contributing code to Sushi, see CONTRIBUTING.md.

Copyright 2017-2023 Elk Audio AB, Stockholm, Sweden.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
Ardour/ardour

Mirror of Ardour Source Code

5.5k
Nov 30, 2026
RepositoryC++
innermost47/ai-dj

AI music generation for live performance - Standalone (Ableton Link) + VST3/AU. 8 tracks, 9 AI models. It occasionally hallucinates. Not a song generator - you still have to do the work. Stay human.

276
Sep 27, 2026
RepositoryC#
nota-daw/nota

Nota — a free DAW for macOS, Windows and Linux. No subscription, no account — just open it and make music.

889
Dec 3, 2026
RepositoryC++
LMMS/lmms

Cross-platform music production software

10.8k
Nov 29, 2026
RepositoryC++
juce-framework/JUCE

JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.

9.2k
Nov 27, 2026
RepositoryC++
olive-editor/olive

Free open-source non-linear video editor

9.2k
Dec 5, 2024
RepositoryC++
robbert-vdh/yabridge

A modern and transparent way to use Windows VST2, VST3 and CLAP plugins on Linux

4.3k
Nov 8, 2026
RepositoryC++
asb2m10/dexed

DX7 FM multi plaform/multi format plugin

3.7k
Nov 27, 2026
RepositoryC++
helio-fm/helio-sequencer

Libre music sequencer for desktop and mobile platforms

3.6k
Nov 18, 2026