# unit CMC

### Chaos Music Player library

author: Tomasz Biela (Tebe)

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

## Types:

name: | type: | description:
--- | --- | ---
TCMC | 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 CMC player

## Interface:

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