After installing Rust, you can install Dusk Phantom (on Linux) as follows:
make vst3
For more info, check Makefile
.
- Change environment variable
DUSK_PHANTOM_PATH
to your code directory
- REMOVE TRAILING
/
- Write
{profile}.dft
{profile}
should be replaced to the actual profile you use, for example1
- Reload code manually
- You can see compilation results in the GUI
The whole term evaluates to a Float -> (Float, Float)
, representing FFT spectrogram.
Pitcher:
(i: Float) => fft(i * 2)
Noise:
(i: Float) => (20 / (i + 50), 0)
Low pass:
let lp: Float -> Float -> Float = (l: Float) => (i: Float) =>
if i < l then 1 else 0 in
(i: Float) => fft(i) * lp(10)(i)
Band pass:
let bp: Float -> Float -> Float -> Float =
(l: Float) =>
(r: Float) =>
(i: Float) =>
if i < l then 0 else
if i > r then 0 else 1 in
(i: Float) => fft(i) * bp(25)(50)(i)
fft(i)
: frequency and phase at bandi
param(i)
: value of param "Mod i"beat
: current beat count in floatsec
: current second in float