Sound Design Toolkit  075
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 
21 extern int SDT_registerResonator(SDTResonator *x, char *key);
22 
27 extern int SDT_unregisterResonator(char *key);
28 
34 extern int SDT_registerInteractor(SDTInteractor *x, char *key0, char *key1);
35 
40 extern int SDT_unregisterInteractor(char *key0, char *key1);
41 
42 #endif
43 
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:21
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:18
int SDT_registerInteractor(SDTInteractor *x, char *key0, char *key1)
Registers an interactor into the interactors list with two unique IDs, one for each resonator...