Sound Design Toolkit 075 Physically informed sound synthesis for everyday sounds

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Typedefs | Functions
SDTInteractors.h File Reference

Go to the source code of this file.

## Typedefs
typedef struct SDTInteractor | SDTInteractor
| Opaque data structure representing the interactor interface.
typedef struct SDTImpact | SDTImpact
| Opaque data structure representing the internal state of an impact interactor.
typedef struct SDTFriction | SDTFriction
| Opaque data structure representing the internal state of a friction interactor.

## Functions
void | SDTInteractor_setFirstResonator (SDTInteractor *x, SDTResonator *p)
| Sets the pointer to the first interacting resonator. More...
void | SDTInteractor_setSecondResonator (SDTInteractor *x, SDTResonator *p)
| Sets the pointer to the second interacting resonator. More...
void | SDTInteractor_setFirstPoint (SDTInteractor *x, long l)
| Sets the contact point index for the first resonator. More...
void | SDTInteractor_setSecondPoint (SDTInteractor *x, long l)
| Sets the contact point index for the second resonator. More...
double | SDTInteractor_computeForce (SDTInteractor *x)
| Computes a force to apply to the contact points, based on the resonators' state at the chosen pickups.
void | SDTInteractor_dsp (SDTInteractor *x, double f0, double v0, double s0, double f1, double v1, double s1, double *outs)
| Signal processing routine. Convenience method to compute the interaction force, apply it to the resonators and update their state. This method already calls the DSP routines of the two resonators, so be sure not to call them if you use this method. More...
SDTInteractor * | SDTImpact_new ()
| Object constructor. More...
void | SDTImpact_free (SDTInteractor *x)
| Object destructor. param[in] Pointer to a SDTInteractor instance, configured for the impact case.
void | SDTImpact_setStiffness (SDTInteractor *x, double f)
| Sets the impact stiffness. More...
void | SDTImpact_setDissipation (SDTInteractor *x, double f)
| Sets the dissipation coefficient. More...
void | SDTImpact_setShape (SDTInteractor *x, double f)
| Sets the shape factor. More...
SDTInteractor * | SDTFriction_new ()
| Object constructor. More...
void | SDTFriction_free (SDTInteractor *x)
| Object destructor. param[in] Pointer to a SDTInteractor instance, configured for the friction case.
void | SDTFriction_setNormalForce (SDTInteractor *x, double f)
| Sets the perpendicular force (pressure) applied to the two sliding resonators. More...
void | SDTFriction_setStribeckVelocity (SDTInteractor *x, double f)
| Sets the Stribeck velocity. More...
void | SDTFriction_setStaticCoefficient (SDTInteractor *x, double f)
| Sets the static friction coefficient. More...
void | SDTFriction_setDynamicCoefficient (SDTInteractor *x, double f)
| Sets the dynamic friction coefficient. More...
void | SDTFriction_setBreakAway (SDTInteractor *x, double f)
| Sets the break away coefficient. More...
void | SDTFriction_setStiffness (SDTInteractor *x, double f)
| Sets the contact stiffness. More...
void | SDTFriction_setDissipation (SDTInteractor *x, double f)
| Sets the dissipation coefficient. More...
void | SDTFriction_setViscosity (SDTInteractor *x, double f)
| Sets the contact viscosity. More...
void | SDTFriction_setNoisiness (SDTInteractor *x, double f)
| Sets the surface roughness. More...