A MaxMSP frontend for the Composers Desktop Project
Based on the "threadpool" example object in the Max SDK.
Clone the Max SDK, then clone this repo in source/advanced
. Build with Xcode. Make sure the externals
directory is added to the Max search path.
CDP must be installed somewhere on your system. If it's not in the Max search path you can specify the root directory with the @root
attribute.
Send messages to the object that look exactly like a CDP shell command, e.g. distort fractal /path/to/sound.wav /path/to.sound.out.wav 3 0.5 -p0.5
See cdp.maxhelp for example usage.
When sending messages to MaxCDP, any argument that starts with cdpin
or cdpout
will be treated as the name of a Max buffer~. MaxCDP will save the contents of any cdpin
buffers to your home directory, perform the CDP operation, and load any resulting audio file into a cdpout
buffer~.
E.g. distort telescope cdpin cdpout 2 -s0 -a
takes the contents of cdpin
, runs the CDP distort program, and puts the resulting audio into cdpout
.