Build and test like this:
mkdir build
cd build
cmake ..
cmake --build .
export PATH=$PATH:`pwd`
sine-sweep | wav-write
UNIX philosophy is sortof like Max. We make lots of little programs that generate outputs and/or analyse or process inputs. We then wires these together to make more complex programs.
Complete empty code files:
impulse.cppsawtooth.cppsquare.cpptriangle.cppimpulse-sweep.cppsawtooth-sweep.cppsquare-sweep.cpptriangle-sweep.cpp
and change CMakeLists.txt to add new executable targets.