# 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; // play procedure Pause; assembler; // pause procedure Cont; assembler; // continue 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
TCMC.Pause | #### procedure TCMC.Pause; assembler; Interrupt CMC player
TCMC.Cont | #### procedure TCMC.Cont; assembler; Continue CMC player