Audio Constants&Variables

Summary
Audio Constants&Variables
Variables
cpct_akp_digidrumStatusThis is an internal variable, updated by Arkos Tracker Player, that is used by the player for signalling events to user code.
cpct_akp_songLoopTimesThis is an internal variable, updated by Arkos Tracker Player, that contains the number of times the present song has looped.
Constants
Audio Channels (bitmasks)Bitmask constants for referring to audio channels of the AY-3-8912 PSG chip.

Variables

cpct_akp_digidrumStatus

extern volatile u8 cpct_akp_digidrumStatus

This is an internal variable, updated by Arkos Tracker Player, that is used by the player for signalling events to user code.  You may read it at any time to know if any “event” has happened (as signalled by the player) and then react accordingly.  To know more, read about Digidrums.

cpct_akp_songLoopTimes

extern volatile u8 cpct_akp_songLoopTimes

This is an internal variable, updated by Arkos Tracker Player, that contains the number of times the present song has looped.  You may use it to know if a song has finished or if it has looped N times.

Constants

Audio Channels (bitmasks)

Bitmask constants for referring to audio channels of the AY-3-8912 PSG chip.

AY_CHANNEL_AAudio Channel A (also referred as 0)
AY_CHANNEL_BAudio Channel B (also referred as 1)
AY_CHANNEL_CAudio Channel C (also referred as 2)
AY_CHANNEL_ALLAll audio channels (A, B & C)
extern volatile u8 cpct_akp_digidrumStatus
This is an internal variable, updated by Arkos Tracker Player, that is used by the player for signalling events to user code.
extern volatile u8 cpct_akp_songLoopTimes
This is an internal variable, updated by Arkos Tracker Player, that contains the number of times the present song has looped.
Digidrums are in fact only “events” sent by the player, for you to know you must trigger something.
Close