VibroSonics
v1.0.2-mozzi-implementation-309-gf5440e1
Arduino Library for Translating Audio into Vibrations
|
#include <Grain.h>
Public Attributes | |
float | attackAmplitude = 0.5 |
int | attackDuration = 1 |
float | decayAmplitude = 0.5 |
int | decayDuration = 1 |
float | sustainAmplitude = 0.5 |
int | sustainDuration = 1 |
float | releaseAmplitude = 0.0 |
int | releaseDuration = 1 |
float | curve = 1.0f |
Struct containing target amplitude data for a grain, its state duration parameters, and the curve shape.
float AmpEnv::attackAmplitude = 0.5 |
The maximum amplitude the grain will reach in its attack state.
int AmpEnv::attackDuration = 1 |
The number of windows the attack state will run for.
float AmpEnv::curve = 1.0f |
The shape of the progression through the ADSR curve.
float AmpEnv::decayAmplitude = 0.5 |
The maximum amplitude the grain will reach in its decay state.
int AmpEnv::decayDuration = 1 |
The number of windows the decay state will run for.
float AmpEnv::releaseAmplitude = 0.0 |
The minimum amplitude the grain will reach in its release state.
int AmpEnv::releaseDuration = 1 |
The number of windows the release state will run for.
float AmpEnv::sustainAmplitude = 0.5 |
The amplitude the grain will output in its sustain state.
int AmpEnv::sustainDuration = 1 |
The number of windows the sustain state will run for.