|
ptttl v0.2.0
C implementation of a PTTTL parser. PTTTL is a superset of NOKIA's RTTTL that adds polyphony & vibrato.
|
#include <ptttl_parser.h>
Public Attributes | |
| char | name [PTTTL_MAX_NAME_LEN] |
| Name from the "settings" section. | |
| unsigned int | bpm |
| BPM from the "settings" section. | |
| unsigned int | default_duration |
| Default note duration from the "settings" section. | |
| unsigned int | default_octave |
| Default octave from the "settings" section. | |
| unsigned int | default_vibrato_freq |
| Default vibrato frequency from the "settings" section. | |
| unsigned int | default_vibrato_var |
| Default vibrato variance from the "settings" section. | |
| ptttl_parser_error_t | error |
| Last parsing error that occurred. | |
| uint32_t | channel_count |
| Total number of channels present in input text. | |
| ptttl_parser_input_stream_t * | active_stream |
| Input stream currently being parsed. | |
| ptttl_parser_input_stream_t | stream |
| Input stream used for 'settings' section. | |
| ptttl_parser_input_stream_t | channels [PTTTL_MAX_CHANNELS_PER_FILE] |
| ptttl_parser_input_iface_t | iface |
| Input interface for reading PTTTL source. | |
Tracks current position in input text for all channels