|
|
|
@ -34,7 +34,8 @@ typedef struct drum_config_s { |
|
|
|
|
char filename[18]; // 44.1kHz mono LSB raw-sample to play
|
|
|
|
|
char shortname[2]; // 1 char name for sequencer
|
|
|
|
|
float32_t pan; // Panorama (-1.0 - +1.0)
|
|
|
|
|
float32_t vol; // Volume (0.0 - 1.0)
|
|
|
|
|
float32_t vol_max; // max. Volume (0.0 - 1.0)
|
|
|
|
|
float32_t vol_min; // min. Volume (0.0 - 1.0, should be <= vol_max)
|
|
|
|
|
} drum_config_t; |
|
|
|
|
|
|
|
|
|
#define NUM_DRUMCONFIG 15 |
|
|
|
@ -45,7 +46,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/bd01.raw", |
|
|
|
|
"B", |
|
|
|
|
0.0, |
|
|
|
|
0.8 |
|
|
|
|
0.8, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_HANDCLAP, |
|
|
|
@ -53,7 +55,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/cp02.raw", |
|
|
|
|
"C", |
|
|
|
|
-0.4, |
|
|
|
|
0.6 |
|
|
|
|
0.6, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_SNARE, |
|
|
|
@ -61,7 +64,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/sd15.raw", |
|
|
|
|
"S", |
|
|
|
|
0.2, |
|
|
|
|
0.8 |
|
|
|
|
0.6, |
|
|
|
|
0.2 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_HIHAT, |
|
|
|
@ -69,7 +73,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/hh01.raw", |
|
|
|
|
"h", |
|
|
|
|
0.8, |
|
|
|
|
0.2 |
|
|
|
|
0.2, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_HIHAT, |
|
|
|
@ -77,7 +82,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/hh02.raw", |
|
|
|
|
"h", |
|
|
|
|
0.8, |
|
|
|
|
0.2 |
|
|
|
|
0.2, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_HIHAT, |
|
|
|
@ -85,7 +91,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/oh02.raw", |
|
|
|
|
"H", |
|
|
|
|
0.8, |
|
|
|
|
0.2 |
|
|
|
|
0.2, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_LOWTOM, |
|
|
|
@ -93,7 +100,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/lt01.raw", |
|
|
|
|
"T", |
|
|
|
|
-0.7, |
|
|
|
|
0.8 |
|
|
|
|
0.8, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_HIGHTOM, |
|
|
|
@ -101,21 +109,26 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/ht01.raw", |
|
|
|
|
"T", |
|
|
|
|
-0.5, |
|
|
|
|
0.8 |
|
|
|
|
0.8, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_RIDE, |
|
|
|
|
MIDI_CIS4, |
|
|
|
|
"/drm/rd01.raw", |
|
|
|
|
"R", |
|
|
|
|
-0.6, |
|
|
|
|
0.3 |
|
|
|
|
0.3, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_RIDE, |
|
|
|
|
MIDI_DIS4, |
|
|
|
|
"/drm/rd02.raw", |
|
|
|
|
"R", |
|
|
|
|
-0.6, |
|
|
|
|
0.3 |
|
|
|
|
0.3, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_BASS, |
|
|
|
@ -123,7 +136,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/PHKick1.raw", |
|
|
|
|
"B", |
|
|
|
|
0.0, |
|
|
|
|
0.9 |
|
|
|
|
0.9, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_HANDCLAP, |
|
|
|
@ -131,15 +145,17 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/808Clap1.raw", |
|
|
|
|
"C", |
|
|
|
|
0.0, |
|
|
|
|
0.9 |
|
|
|
|
0.9, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
{ |
|
|
|
|
DRUM_SNARE, |
|
|
|
|
MIDI_CIS5, |
|
|
|
|
"/drm/808RimS1.raw", |
|
|
|
|
"R", |
|
|
|
|
-0.3, |
|
|
|
|
0.5 |
|
|
|
|
0.5, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_HIHAT, |
|
|
|
@ -147,7 +163,8 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/808HHCL1.raw", |
|
|
|
|
"H", |
|
|
|
|
0.4, |
|
|
|
|
0.6 |
|
|
|
|
0.6, |
|
|
|
|
0.0 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
DRUM_SNARE, |
|
|
|
@ -155,6 +172,7 @@ drum_config_t drum_config[NUM_DRUMCONFIG] = { |
|
|
|
|
"/drm/EMPTY ", |
|
|
|
|
"-", |
|
|
|
|
0.0, |
|
|
|
|
0.0, |
|
|
|
|
0.0 |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|