CSL  6.0
OSC_support.h
Go to the documentation of this file.
1 //
2 // Header file to include the OSC functions in CSL as externs
3 //
4 // See the copyright notice and acknowledgment of authors in the file COPYRIGHT
5 //
6 
7 #ifndef OSC_CPP_INCLUDE
8 #define OSC_CPP_INCLUDE
9 
10 #include "CSL_Includes.h"
11 #include "Instrument.h"
12 
13 #ifdef USE_LOSC // liblo for OSC
14 
15 using namespace csl;
16 
17  /// init function
18 extern "C" void initOSC(const char * port);
19 
20  // setup instr library address space
21 extern "C" void setupOSCInstrLibrary(InstrumentVector library);
22 
23  // OSC read/exec loop
24 extern "C" void * mainOSCLoop(void *);
25 
26 #endif
27 
28 #endif
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
Definition: Accessor.h:17
void mainOSCLoop(int port)
void setupOSCInstrLibrary(std::vector< Instrument * > library)
std::vector< Instrument * > InstrumentVector
Players hold onto Instrument vectors/maps.
Definition: CSL_Types.h:251