LMMS
Loading...
Searching...
No Matches
jbm.cpp File Reference
#include "jbm.h"

Functions

static unsigned short GET_WORD (unsigned char *b, int x)

Variables

static const unsigned short notetable [96]
static const unsigned char percmx_tab [4] = { 0x14, 0x12, 0x15, 0x11 }
static const unsigned char perchn_tab [5] = { 6, 7, 8, 8, 7 }
static unsigned char percmaskoff [5] = { 0xef, 0xf7, 0xfb, 0xfd, 0xfe }
static unsigned char percmaskon [5] = { 0x10, 0x08, 0x04, 0x02, 0x01 }

Function Documentation

◆ GET_WORD()

unsigned short GET_WORD ( unsigned char * b,
int x )
inlinestatic

Variable Documentation

◆ notetable

const unsigned short notetable[96]
static
Initial value:
= {
0x0158, 0x016d, 0x0183, 0x019a, 0x01b2, 0x01cc, 0x01e7, 0x0204,
0x0223, 0x0244, 0x0266, 0x028b, 0x0558, 0x056d, 0x0583, 0x059a,
0x05b2, 0x05cc, 0x05e7, 0x0604, 0x0623, 0x0644, 0x0666, 0x068b,
0x0958, 0x096d, 0x0983, 0x099a, 0x09b2, 0x09cc, 0x09e7, 0x0a04,
0x0a23, 0x0a44, 0x0a66, 0x0a8b, 0x0d58, 0x0d6d, 0x0d83, 0x0d9a,
0x0db2, 0x0dcc, 0x0de7, 0x0e04, 0x0e23, 0x0e44, 0x0e66, 0x0e8b,
0x1158, 0x116d, 0x1183, 0x119a, 0x11b2, 0x11cc, 0x11e7, 0x1204,
0x1223, 0x1244, 0x1266, 0x128b, 0x1558, 0x156d, 0x1583, 0x159a,
0x15b2, 0x15cc, 0x15e7, 0x1604, 0x1623, 0x1644, 0x1666, 0x168b,
0x1958, 0x196d, 0x1983, 0x199a, 0x19b2, 0x19cc, 0x19e7, 0x1a04,
0x1a23, 0x1a44, 0x1a66, 0x1a8b, 0x1d58, 0x1d6d, 0x1d83, 0x1d9a,
0x1db2, 0x1dcc, 0x1de7, 0x1e04, 0x1e23, 0x1e44, 0x1e66, 0x1e8b
}

◆ perchn_tab

const unsigned char perchn_tab[5] = { 6, 7, 8, 8, 7 }
static

◆ percmaskoff

unsigned char percmaskoff[5] = { 0xef, 0xf7, 0xfb, 0xfd, 0xfe }
static

◆ percmaskon

unsigned char percmaskon[5] = { 0x10, 0x08, 0x04, 0x02, 0x01 }
static

◆ percmx_tab

const unsigned char percmx_tab[4] = { 0x14, 0x12, 0x15, 0x11 }
static