This repository contains JUCE modules with utilities for building Chowdhury DSP plugins.
There are a handful of simple examples in the examples/
directory.
For complete documentation, see the API docs.
If you are using JUCE with CMake, simply add this repository as a subdirectory after adding JUCE to your CMake project.
Alternatively, you may add these modules from the repository directory using the Projucer.
If you are using a non-JUCE CMake project, it is possible to create your own static library from the DSP modules in this repository:
If you would like to build the example plugins included in this repository, you may clone the repository, and use the following CMake commands:
where $EXAMPLE_TARGET
is the name of the target you'd like to build, for example SimpleEQ_Standalone
.
The modules in this repository are mostly dependent on C++17 or later. Modules not in the "Common" or "DSP" categories also depend on JUCE 6 or later.
There are a few other dependencies as well, some of which are bundled internally within the repository, and others which must be managed externally. In either case, you must be sure to abide by the license of each module, as well as whichever libraries are being used.
chowdsp_core
(BSD)
AtomicHelpers
: Useful methods for working with atomics.MemoryUtils
: Helpful methods to check if blocks of memory alias with each other.TypeTraits
: Type traits for checking if a class has a given method, if a type is a container, and so on.ScopedValue
: A stack value that writes its value back to a more permanent variable when it goes out of scope.types_list
(MIT license).span-lite
(BSL-1.0 license).chowdsp_data_structures
(BSD)
DoubleBuffer
: A circular buffer which always maintains a contiguous block of data.TupleHelpers
: Useful methods for working with tuple-like data structures.OptionalPointer
: A pointer which may or may not own the data it points to.LocalPointer
: An owning pointer which constructs the object it points to using its own local memory.SmallVector
: A mostly STL-compatible vector implementation, with a small-string-style optimization.ArenaAllocator
: A simple arena allocator.ChainedArenaAllocator
: A "growable" arena allocator.PoolAllocator
: A simple pool allocator.short_alloc
(MIT license).chowdsp_json
(BSD)
nlohmann::json
(MIT license, included internally).chowdsp_listeners
(BSD)
rocket
(Public Domain, included internally).chowdsp_logging
(BSD)
spdlog
(MIT License, included internally).chowdsp_reflection
(BSD)
boost::pfr
(Boost license).nameof
(MIT license).magic_enum
(MIT license).chowdsp_serialization
(BSD)
chowdsp_buffers
(BSD)
Buffer
: A basic audio buffer, which supports SIMD data types.StaticBuffer
: A basic audio buffer using local (rather than heap-allocated) memory.BufferView
: A non-owning "view" over the data in an audio buffer (compatible with juce::AudioBuffer
).buffer_iters
: Handy C++ iterators for iterating over buffers in different ways.chowdsp_compressor
(GPLv3)
LevelDetector
: A multi-modal level detector.GainComputer
: A multi-modal compressor gain computer.MonoCompressor
: A simple compressor with monophonic gain reduction.chowdsp_dsp_data_structures
(GPLv3)
LookupTableTransform
: Some modifications on juce::dsp::LookupTableTransform
.LookupTableCache
: A cache for storing lookup tables, so they don't need to be re-computed.SmoothedBufferValue
: A buffered version of juce::SmoothedValue
.COLAProcessor
: A base class for doing Constant Overlap-Add processing.RebufferedProcessor
: A processor which rebuffers the input to have a constant block size.moodycamel
's lock-free queues (modified BSD)chowdsp_dsp_utils
(GPLv3)
DelayLine
: A re-implementation of juce::dsp::DelayLine
with more interpolation options.PitchShifter
: Simple pitch-shifting effect using a ring buffer with two read pointers.CHOWDSP_USE_LIBSAMPLERATE=1
chowdsp_eq
(GPLv3)
EQBand
: A single EQ band.EQProcessor
: A collection of EQ bands.LinearPhaseEQ
: Constructs a linear phase EQ from a given prototype EQ.chowdsp_filters
(GPLv3)
StateVariableFilter
: A modified version of juce::dsp::StateVariableTPTFilter
with more filter types and better performance.ModFilterWrapper
: Turns any biquad filter into a State Variable Filter.FIRFilter
: An FIR filter with SIMD optimizations.WernerFilter
: Emulation of a generalized Octave-CAT-style SVF, as proposed by Kurt Werner.ARPFilter
: Emulation of the ARP 1047 multi-mode filter.FractionalOrderFilter
: A filter with a slope between 0-3 dB / octave.ConformalMaps
: Conformal maps to use for designing filters, including the bilinear and alpha transforms.FilterChain
: Utility template class for chaining multiple similar filters in series.chowdsp_math
(BSD)
FloatVectorOperations
: Some extensions on juce::FloatVectorOperations
.BufferMath
: Math operations which can be applied to audio buffers.Polynomials
: Methods for evaluating polynomials with Horner's method or Estrin's scheme.Power
: Fast integer exponential operations.chowdsp_modal_dsp
(GPLv3)
ModalFilter
: Implementation of the Max Mathews "phasor filter".ModalFilterBank
: Vectorized modal filterbank, which can be used to implement large-scale modal models.chowdsp_reverb
(GPLv3)
chowdsp_simd
(BSD)
SIMDSmoothedValue
: A SIMD specialization of juce::SmoothedValue
.chowdsp_sources
(GPLv3)
SineWave
: a "magic circle" sine wave oscillator.SawtoothWave
SquareWave
TriangleWave
Noise
: a noise generator with options for Guassian (normal), uniform, and pink noise.chowdsp_waveshapers
(GPLv3)
ADAAHardClipper
ADAATanhClipper
ADAASoftClipper
: A polynomial soft clipperADAAFullWaveRectifier
WestCoastFolder
: An emulation of the wavefolding circuit found from the Buchla 259WaveMultiplier
: An emulation of Serge Tcherepin's Wave Multiplier circuitchowdsp_gui
(GPLv3)
LookAndFeel
.chowdsp_visualizers
(GPLv3)
EqualizerPlot
: UI component which can be extended to plot filter frequency responses.chowdsp_foleys
(GPLv3)
chowdsp_gui
and foleys_gui_magic
(must be linked externally).chowdsp_rhythm
(BSD)
chowdsp_clap_extensions
(BSD)
CLAPExtensions::CLAPInfoExtensions
: implements getPluginTypeString()
.ModParameterMixin
: interface for supporting CLAP parameter modulation.chowdsp_parameters
(BSD)
ParamUtils
: Useful methods for creating parameters.ForwardingParameter
: A parameter that forwards on a parameter from another processor.chowdsp_plugin_state
(BSD)
PluginState
: Replacement for juce::AudioProcessorValueTreeState
.chowdsp_plugin_base
(GPLv3)
chowdsp_plugin_utils
(GPLv3)
FileListener
: A listener which triggers a callback whenever a file is changed.SharedPluginSettings
: A shared object for managing settings which apply to all instances of a plugin.SharedLNFAllocator
: A shared object for managing juce::LookAndFeel
classes.AudioUIBackgroundThread
: A thread class which accepts data from the audio thread, and performs a background task (often useful for creating meters).DeferredAction
: A helper class for queueing an action to be run on the main thread (real-time safe).chowdsp_presets
(BSD)
chowdsp_preset_v2
(BSD)
chowdsp_plugin_state
.chowdsp_version
(BSD)
chowdsp_fuzzy_search
(BSD)
The development environment for this repository expects the following directory structure:
To build the module tests, run:
where $TEST_TARGET
is the name of the test target you'd like to build.
If you would like to build the tests with flags for analyzing code coverage, add -DCODE_COVERAGE=ON
to the CMake configure step.
Toe build the module benchmarks, run:
where $BENCH_TARGET
is the name of the benchmark you would like to build.
Each module in this repository has its own unique license. If you would like to use code from one of the modules, please check the license of that particular module.
If you are making a proprietary or closed source app and would like to use code from a module that is under a GPL-style license, please contact chowd for non-GPL licensing options. sp@g mail. com
All non-module code in this repository (tests, examples, benchmarks, etc.) is licensed under the GPLv3.