|
ptttl v0.3.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 | |
| ptttl_waveform_generator_t | wgen |
| Per-sample waveform function (must not be NULL) | |
| ptttl_waveform_note_setup_t | note_setup |
| Per-note setup callback, may be NULL. | |
| void * | wgendata |
Pairs a waveform generator function with an optional per-note setup callback. Used with ptttl_sample_generator_set_custom_waveform to define a fully custom waveform including any note-specific precomputation.
| void* ptttl_waveform_t::wgendata |
Pointer to waveform-specific data, will be passed to the note_setup and wgen callbacks, may be NULL