DSP waveshaper which uses random splines to generate its transfer function. A Max/MSP external object programmed in C++.
- The fully functional Max/MSP external is located at
/externals/deform~.mxe64
.- Note: changes to min-devkit made for Apple Silicon mean that this external will need to be rebuilt for Max 8.2 onwards.
- The associated C++ code is located at
/source/projects/deform_tilde/deform_tilde.cpp
.
[deform~] generates a random spline Intensity
parameter
This yields a waveshaper function whose output can be smoothly varied using the parameter. See below for sample output from an input of a sine wave, a sawtooth wave, and a triangle wave respectively.
Demonstration.mp4
You can read the (very basic) whitepaper I wrote up for the idea here.
Make sure to initialise all the submodules after cloning this repo:
git submodule update --init --recursive
- Have Xcode installed then run:
mkdir build cd build cmake -G Xcode ..
- Open up either
build/Min-Externals.xcodeproj
or the .xcodeproj for a specific external (e.g.build/source/projects/lib.deform_tilde/lib.deform_tilde.xcodeproj
) in Xcode. - Set the build target to be 'Any Mac (Intel, Apple Silicon)'.
- Press build. The compiled externals can be found in
externals/
.
- Have Visual Studio installed then run
cmake --help
to get a list of the available generators. Pick the one that corresponds to the Visual Studio version installed e.g."Visual Studio 17 2022"
, then run:mkdir build cd build cmake -G "Visual Studio 17 2022" ..
- Open up the Visual Studo project file,
deform_tilde.sln
, inbuild/source/projects/deform_tilde/
. - In the menu bar, click 'Build > Build Solution'. The compiled object,
deform.maxpat
, can be found inexternals/
.