Sound Design Toolkit  078
Physically informed sound synthesis for everyday sounds
SDTDemix.h
1 
28 #ifndef SDT_EFFECTS_H
29 #define SDT_EFFECTS_H
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
36 typedef struct SDTDemix SDTDemix;
37 
42 extern SDTDemix *SDTDemix_new(int size, int radius);
43 
46 extern void SDTDemix_free(SDTDemix *x);
47 
50 extern void SDTDemix_setOverlap(SDTDemix *x, double f);
51 
54 extern void SDTDemix_setNoiseThreshold(SDTDemix *x, double f);
55 
58 extern void SDTDemix_setTonalThreshold(SDTDemix *x, double f);
59 
66 extern void SDTDemix_dsp(SDTDemix *x, double *outs, double in);
67 
68 #ifdef __cplusplus
69 };
70 #endif
71 
72 #endif
73 
SDTDemix * SDTDemix_new(int size, int radius)
Object constructor.
void SDTDemix_setNoiseThreshold(SDTDemix *x, double f)
Sets the noise threshold.
struct SDTDemix SDTDemix
Opaque data structure for the percussive/harmonic/residual components separator.
Definition: SDTDemix.h:36
void SDTDemix_setOverlap(SDTDemix *x, double f)
Sets the window overlapping factor.
void SDTDemix_setTonalThreshold(SDTDemix *x, double f)
Sets the tornal threshold.
void SDTDemix_free(SDTDemix *x)
Object destructor.
void SDTDemix_dsp(SDTDemix *x, double *outs, double in)
Signal processing routine. Call this function at sample rate to separate an arbitrary signal into its...