|
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 | |
| uint32_t | position |
| Current position in input text stream. | |
| uint32_t | line |
| Current line number in input text. | |
| uint32_t | column |
| Current column number in input text. | |
| uint32_t | block |
| Current block number, starting from 0. | |
| uint8_t | have_saved_char |
| 1 if a character has been read but not yet used | |
| char | saved_char |
| Unused character. | |
Tracks current position in input text for a single PTTTL channel