text_game_maker.ptttl package

Submodules

text_game_maker.ptttl.ptttl_audio_encoder.ptttl_to_mp3(ptttl_data, mp3_filename, amplitude=0.5, wavetype=0)
text_game_maker.ptttl.ptttl_audio_encoder.ptttl_to_sample_data(ptttl_data, amplitude=0.5, wavetype=0)
text_game_maker.ptttl.ptttl_audio_encoder.ptttl_to_wav(ptttl_data, wav_filename, amplitude=0.5, wavetype=0)
class text_game_maker.ptttl.ptttl_parser.PTTTLParser

Bases: object

parse(ptttl_string)
exception text_game_maker.ptttl.ptttl_parser.PTTTLSyntaxError

Bases: exceptions.Exception

exception text_game_maker.ptttl.ptttl_parser.PTTTLValueError

Bases: exceptions.Exception

text_game_maker.ptttl.ptttl_parser.ignore_line(line)
text_game_maker.ptttl.ptttl_parser.int_setting(key, val)
text_game_maker.ptttl.ptttl_parser.invalid_note(note)
text_game_maker.ptttl.ptttl_parser.invalid_note_duration(note)
text_game_maker.ptttl.ptttl_parser.invalid_octave(note)
text_game_maker.ptttl.ptttl_parser.invalid_setting(key)
text_game_maker.ptttl.ptttl_parser.invalid_value(key, val)
text_game_maker.ptttl.ptttl_parser.missing_setting(key)
text_game_maker.ptttl.ptttl_parser.unrecognised_setting(key)