a simple wrapper to evaluate RNBO patches from python.
- Export C++ files from Max RNBO, setting the source file name to be rnbo_source.cpp (or you can also edit the file name in the CMakeList.txt)
- make a build folder, and cd to it in the terminal
- run cmake from the build folder, with paths to this folder holing the wrapper, and setting the RNBO export folder, for example:
cmake ../rnbo-py-wrapper -D RNBO_EXPORT_FOLDER='/path/to/RNBO/export/folder'
- then run
make
to build thelibRNBOExportLib.dylib
(on Mac, .dll on Windows) - the script will copy the
rnbo.py
andimport-test.py
files to the build folder. - see the
import-test.py
file for example of usage.