Next |
Prev |
Top
|
REALSIMPLE Top
|
CCRMA Wiki |
CCRMA Pubs |
CCRMA Home |
Search
Now that you understand the architecture and libraries, it's time to jump in!
This is the beauty of open-source code. You can see everything that everyone
else has written, and you can change it however you like. We have tried to
self-document our code. This means that given the context and variable names,
you should be able to tell what is going on. We added extra comments around
portions where flext macros are called. Place the following files in the same directory:
- clarinet.cpp
contains the C++ code for creating the clarinet~ object. The Clarinet() object
from STK is embedded inside of clarinet~.
- The
Makefile
tells the compiler how to combine all of the different pieces of code.
- Once you run the make command in the same directory as the above files, the
subdirectory pd_linux will be created, and the dynamically-linked
library file clarinet~.pd_linux will be placed there.
- Add pd_linux to the path for pd, and then open the pd
patch test-patch.pd
in pd to test your code!
Next |
Prev |
Top
|
REALSIMPLE Top
|
CCRMA Wiki |
CCRMA Pubs |
CCRMA Home |
Search
Download stkforpd.pdf