|
|
@ -46,7 +46,7 @@ typedef struct drum_config_s { |
|
|
|
|
|
|
|
|
|
|
|
enum {DRUM_NONE, DRUM_BASS, DRUM_SNARE, DRUM_HIHAT, DRUM_HANDCLAP, DRUM_RIDE, DRUM_CHRASH, DRUM_LOWTOM, DRUM_MIDTOM, DRUM_HIGHTOM, DRUM_PERCUSSION}; |
|
|
|
enum {DRUM_NONE, DRUM_BASS, DRUM_SNARE, DRUM_HIHAT, DRUM_HANDCLAP, DRUM_RIDE, DRUM_CHRASH, DRUM_LOWTOM, DRUM_MIDTOM, DRUM_HIGHTOM, DRUM_PERCUSSION}; |
|
|
|
|
|
|
|
|
|
|
|
#define NUM_DRUMSET_CONFIG 16 |
|
|
|
#define NUM_DRUMSET_CONFIG 20 |
|
|
|
drum_config_t drum_config[NUM_DRUMSET_CONFIG] = |
|
|
|
drum_config_t drum_config[NUM_DRUMSET_CONFIG] = |
|
|
|
{ |
|
|
|
{ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -69,7 +69,7 @@ drum_config_t drum_config[NUM_DRUMSET_CONFIG] = |
|
|
|
-1.0, |
|
|
|
-1.0, |
|
|
|
0.6, |
|
|
|
0.6, |
|
|
|
0.0, |
|
|
|
0.0, |
|
|
|
0.4 |
|
|
|
0.1 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
DRUM_HANDCLAP, |
|
|
|
DRUM_HANDCLAP, |
|
|
@ -80,7 +80,7 @@ drum_config_t drum_config[NUM_DRUMSET_CONFIG] = |
|
|
|
1.0, |
|
|
|
1.0, |
|
|
|
0.6, |
|
|
|
0.6, |
|
|
|
0.0, |
|
|
|
0.0, |
|
|
|
0.4 |
|
|
|
0.2 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
DRUM_SNARE, |
|
|
|
DRUM_SNARE, |
|
|
@ -169,6 +169,17 @@ drum_config_t drum_config[NUM_DRUMSET_CONFIG] = |
|
|
|
0.3, |
|
|
|
0.3, |
|
|
|
0.0, |
|
|
|
0.0, |
|
|
|
0.0 |
|
|
|
0.0 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
DRUM_BASS, |
|
|
|
|
|
|
|
MIDI_B4, |
|
|
|
|
|
|
|
"808Kick", |
|
|
|
|
|
|
|
AudioSample808Kick, |
|
|
|
|
|
|
|
"B", |
|
|
|
|
|
|
|
0.0, |
|
|
|
|
|
|
|
0.8, |
|
|
|
|
|
|
|
0.0, |
|
|
|
|
|
|
|
0.0 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
DRUM_BASS, |
|
|
|
DRUM_BASS, |
|
|
@ -181,14 +192,25 @@ drum_config_t drum_config[NUM_DRUMSET_CONFIG] = |
|
|
|
0.0, |
|
|
|
0.0, |
|
|
|
0.0 |
|
|
|
0.0 |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
DRUM_SNARE, |
|
|
|
|
|
|
|
MIDI_E5, |
|
|
|
|
|
|
|
"LNsnare1", |
|
|
|
|
|
|
|
AudioSampleLnsnare1, |
|
|
|
|
|
|
|
"S", |
|
|
|
|
|
|
|
0.0, |
|
|
|
|
|
|
|
0.5, |
|
|
|
|
|
|
|
0.0, |
|
|
|
|
|
|
|
0.0 |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
DRUM_HANDCLAP, |
|
|
|
DRUM_HANDCLAP, |
|
|
|
MIDI_DIS5, |
|
|
|
MIDI_DIS5, |
|
|
|
"clap1", |
|
|
|
"LNclap1", |
|
|
|
AudioSampleClap1wav, |
|
|
|
AudioSampleLnclap, |
|
|
|
"C", |
|
|
|
"C", |
|
|
|
1.0, |
|
|
|
0.1, |
|
|
|
0.9, |
|
|
|
0.5, |
|
|
|
0.0, |
|
|
|
0.0, |
|
|
|
0.1 |
|
|
|
0.1 |
|
|
|
}, |
|
|
|
}, |
|
|
@ -198,7 +220,7 @@ drum_config_t drum_config[NUM_DRUMSET_CONFIG] = |
|
|
|
"rims1", |
|
|
|
"rims1", |
|
|
|
AudioSampleRims1wav, |
|
|
|
AudioSampleRims1wav, |
|
|
|
"R", |
|
|
|
"R", |
|
|
|
-0.3, |
|
|
|
-0.2, |
|
|
|
0.5, |
|
|
|
0.5, |
|
|
|
0.0, |
|
|
|
0.0, |
|
|
|
0.0 |
|
|
|
0.0 |
|
|
@ -213,6 +235,28 @@ drum_config_t drum_config[NUM_DRUMSET_CONFIG] = |
|
|
|
0.6, |
|
|
|
0.6, |
|
|
|
0.0, |
|
|
|
0.0, |
|
|
|
0.0 |
|
|
|
0.0 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
DRUM_PERCUSSION, |
|
|
|
|
|
|
|
MIDI_FIS6, |
|
|
|
|
|
|
|
"Tamb", |
|
|
|
|
|
|
|
AudioSampleTamb, |
|
|
|
|
|
|
|
"T", |
|
|
|
|
|
|
|
-0.2, |
|
|
|
|
|
|
|
0.6, |
|
|
|
|
|
|
|
0.0, |
|
|
|
|
|
|
|
0.0 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
DRUM_PERCUSSION, |
|
|
|
|
|
|
|
MIDI_GIS6, |
|
|
|
|
|
|
|
"Cowbell", |
|
|
|
|
|
|
|
AudioSampleCowbell, |
|
|
|
|
|
|
|
"S", |
|
|
|
|
|
|
|
0.2, |
|
|
|
|
|
|
|
0.6, |
|
|
|
|
|
|
|
0.0, |
|
|
|
|
|
|
|
0.0 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
DRUM_NONE, |
|
|
|
DRUM_NONE, |
|
|
|