ptttl v0.2.0
C implementation of a PTTTL parser. PTTTL is a superset of NOKIA's RTTTL that adds polyphony & vibrato.
ptttl_to_wav.h
Go to the documentation of this file.
1 
16 #ifndef PTTTL_TO_WAV_H
17 #define PTTTL_TO_WAV_H
18 
19 
20 #include "ptttl_parser.h"
21 #include "ptttl_sample_generator.h"
22 
23 
24 #ifdef __cplusplus
25  extern "C" {
26 #endif
27 
28 #ifndef PTTTL_WAVFILE_GENERATION_STRATEGY
57 #define PTTTL_WAVFILE_GENERATION_STRATEGY 1
58 #endif
59 
74  ptttl_waveform_type_e wave_type);
75 
76 
77 #ifdef __cplusplus
78  }
79 #endif
80 
81 #endif // PTTTL_TO_WAV_H
Parser for RTTTL (Ring Tone Text Transfer Language) and PTTTL (Polyphonic Tone Text Transfer Language...
Converts the output of ptttl_parse_next() into a stream of signed 16-bit audio samples suitable for a...
ptttl_waveform_type_e
Definition: ptttl_sample_generator.h:49
int ptttl_to_wav(ptttl_parser_t *parser, FILE *fp, ptttl_sample_generator_config_t *config, ptttl_waveform_type_e wave_type)
Definition: ptttl_parser.h:159
Definition: ptttl_sample_generator.h:92