Sound Design Toolkit  078
Physically informed sound synthesis for everyday sounds
SDTSolids.h
1 
8 #ifndef SDT_SOLIDS_H
9 #define SDT_SOLIDS_H
10 
11 #include "SDTResonators.h"
12 #include "SDTInteractors.h"
13 
14 #define SDT_MAX_MODES 16
15 #define SDT_MAX_PICKUPS 16
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
25 extern int SDT_registerResonator(SDTResonator *x, char *key);
26 
31 extern int SDT_unregisterResonator(char *key);
32 
38 extern int SDT_registerInteractor(SDTInteractor *x, char *key0, char *key1);
39 
44 extern int SDT_unregisterInteractor(char *key0, char *key1);
45 
46 #ifdef __cplusplus
47 };
48 #endif
49 
50 #endif
51 
int SDT_unregisterInteractor(char *key0, char *key1)
Unregisters an interactor from the interactors list. If an interactor with the given IDs is present...
int SDT_unregisterResonator(char *key)
Unregisters a resonator from the resonator list. If a resonator with the given ID is present...
struct SDTInteractor SDTInteractor
Opaque data structure representing the interactor interface.
Definition: SDTInteractors.h:25
int SDT_registerResonator(SDTResonator *x, char *key)
Registers a resonator into the resonators list with a unique ID. If an interactor with the same ID is...
struct SDTResonator SDTResonator
Opaque data structure representing a solid resonator object.
Definition: SDTResonators.h:22
int SDT_registerInteractor(SDTInteractor *x, char *key0, char *key1)
Registers an interactor into the interactors list with two unique IDs, one for each resonator...