# unit MPT

### Music Pro Tracker library

author: Tomasz Biela (Tebe)

http://atariki.krap.pl/index.php/Music_Protracker

## Types:

name: | type: | description:
--- | --- | ---
TMPT | Object player: pointer; // memory address of player modul: pointer; // memory address of a module procedure Init; assembler; // Initializes procedure Play; assembler; procedure Stop; assembler; // Stops Music end; | object for controling MPT player

## Interface:

name: | description:
--- | ---
TMPT.Init | #### procedure TMPT.Init; assembler; Initialize MPT player
TMPT.Play | #### procedure TMPT.Play; assembler; Play music, call this procedure every VBL frame
TMPT.Stop | #### procedure TMPT.Stop; assembler; Halt MPT player