mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
big update after strip
hg-commit-id: dcfb20faef4d
This commit is contained in:
parent
443ff15688
commit
6fd6c7af46
17 changed files with 428 additions and 91 deletions
|
|
@ -29,42 +29,42 @@ public:
|
|||
std::string LookupPitchStr();
|
||||
std::string LookupDelayStr();
|
||||
|
||||
const enum pitch_code : unsigned char
|
||||
{
|
||||
noteC = 0x0,
|
||||
noteCS = 0x1,
|
||||
noteD = 0x2,
|
||||
noteDS = 0x3,
|
||||
noteE = 0x4,
|
||||
noteF = 0x5,
|
||||
noteFS = 0x6,
|
||||
noteG = 0x7,
|
||||
noteGS = 0x8,
|
||||
noteA = 0x9,
|
||||
noteAS = 0xA,
|
||||
noteB = 0xB,
|
||||
noteRst = 0xC
|
||||
};
|
||||
enum pitch_code : unsigned char
|
||||
{
|
||||
noteC = 0x0,
|
||||
noteCS = 0x1,
|
||||
noteD = 0x2,
|
||||
noteDS = 0x3,
|
||||
noteE = 0x4,
|
||||
noteF = 0x5,
|
||||
noteFS = 0x6,
|
||||
noteG = 0x7,
|
||||
noteGS = 0x8,
|
||||
noteA = 0x9,
|
||||
noteAS = 0xA,
|
||||
noteB = 0xB,
|
||||
noteRst = 0xC
|
||||
};
|
||||
|
||||
const enum delay_code : unsigned char
|
||||
{
|
||||
note16 = 0x0,
|
||||
note8 = 0x1,
|
||||
note8_16 = 0x2,
|
||||
note4 = 0x3,
|
||||
note4_16 = 0x4,
|
||||
note4_8 = 0x5,
|
||||
note4_8_16 = 0x6,
|
||||
note2 = 0x7,
|
||||
note2_16 = 0x8,
|
||||
note2_8 = 0x9,
|
||||
note2_8_16 = 0xA,
|
||||
note2_4 = 0xB,
|
||||
note2_4_16 = 0xC,
|
||||
note2_4_8 = 0xD,
|
||||
note2_4_8_16 = 0xE,
|
||||
note1 = 0xF
|
||||
};
|
||||
enum delay_code : unsigned char
|
||||
{
|
||||
note16 = 0x0,
|
||||
note8 = 0x1,
|
||||
note8_16 = 0x2,
|
||||
note4 = 0x3,
|
||||
note4_16 = 0x4,
|
||||
note4_8 = 0x5,
|
||||
note4_8_16 = 0x6,
|
||||
note2 = 0x7,
|
||||
note2_16 = 0x8,
|
||||
note2_8 = 0x9,
|
||||
note2_8_16 = 0xA,
|
||||
note2_4 = 0xB,
|
||||
note2_4_16 = 0xC,
|
||||
note2_4_8 = 0xD,
|
||||
note2_4_8_16 = 0xE,
|
||||
note1 = 0xF
|
||||
};
|
||||
private:
|
||||
unsigned char pitch;
|
||||
unsigned char delay;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue