带有 ChowDSP 实用程序的 JUCE 模块
| Branch | Tests | Examples | Benchmarks | Code Quality | Coverage |
|---|---|---|---|---|---|
master |
|||||
next |
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.
add_subdirectory(JUCE)
add_subdirectory(chowdsp_utils)
target_link_libraries(MyTarget PUBLIC
juce::juce_audio_utils
juce::juce_dsp
# other JUCE modules...
chowdsp::chowdsp_dsp_utils
chowdsp::chowdsp_gui
chowdsp::chowdsp_plugin_base
# Other modules and libraries...
)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:
add_subdirectory(chowdsp_utils)
# create static library based on these modules
setup_chowdsp_lib(chowdsp_lib # Name of the static library
MODULES chowdsp_math chowdsp_dsp_utils # DSP modules that should be included in the library...
)
# link the static library to your project
target_link_libraries(MyCoolProject PRIVATE chowdsp_lib)If you would like to build the example plugins included in this repository, you may clone the repository, and use the following CMake commands:
cmake -Bbuild -DCHOWDSP_ENABLE_EXAMPLES=ON
cmake --build build --target $EXAMPLE_TARGETwhere $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.RealtimeLatestObject: A wait-free mechanism for sharing data with a real-time thread. Unlike a lock-free queue, the real-time thread will only see the "latest" value, rather than seeing every update.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=1chowdsp_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.OnePoleSVF: A simple first-order state variable filter.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.SawtoothWaveSquareWaveTriangleWaveNoise: a noise generator with options for Guassian (normal), uniform, and pink noise.chowdsp_waveshapers (GPLv3)
ADAAHardClipperADAATanhClipperADAASoftClipper: A polynomial soft clipperADAAFullWaveRectifierWestCoastFolder: An emulation of the wavefolding circuit found from the Buchla 259WaveMultiplier: An emulation of Serge Tcherepin's Wave Multiplier circuitchowdsp_gui (GPLv3)
LookAndFeel.暂无开放 Issues,或尚未同步最近议题。