|
ptttl v0.2.0
C implementation of a PTTTL parser. PTTTL is a superset of NOKIA's RTTTL that adds polyphony & vibrato.
|
#include <ptttl_sample_generator.h>
Public Attributes | |
| 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