#include <ptttl_sample_generator.h>
|
unsigned int | sample_rate |
| Sampling rate in samples per second (Hz)
|
|
unsigned int | attack_samples |
| no. of samples to ramp from 0 to full volume, at note start
|
|
unsigned int | decay_samples |
| no. of samples to ramp from full volume to 0, at note end
|
|
float | amplitude |
| Amplitude of generated samples between 0.0-1.0, with 1.0 being full volume.
|
|
Holds configurable parameters for sample generation
The documentation for this struct was generated from the following file: