diff options
author | Tim E. Real <termtech@rogers.com> | 2013-02-02 07:37:31 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2013-02-02 07:37:31 +0000 |
commit | f118ed0cfca8ab717b87e1f00459199acba80bb9 (patch) | |
tree | 7a5a46771dcea1a978182d0da0134e6a5d049745 /muse2/muse/midiedit/drummap.h | |
parent | 5d8ab88bd418da3a4047b38707b5a49f32e912ba (diff) |
Solved: "Old style" Drums: Track channel/port re-enabled, drum list columns default to them.
Required some icon and colour changes. See ChangeLog.
Fixed Old Style Drum lockup: Certain item channel overrides caused infinite loop in Audio::processMidi().
Diffstat (limited to 'muse2/muse/midiedit/drummap.h')
-rw-r--r-- | muse2/muse/midiedit/drummap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/muse2/muse/midiedit/drummap.h b/muse2/muse/midiedit/drummap.h index 2dca10d6..f8633b2f 100644 --- a/muse2/muse/midiedit/drummap.h +++ b/muse2/muse/midiedit/drummap.h @@ -40,8 +40,11 @@ struct DrumMap { unsigned char vol; // playback volume, percent. int quant; int len; // len of event in ticks + + // Default to track port if -1 and track channel if -1. int channel; // midi channel int port; // midi port + char lv1, lv2, lv3, lv4; // velocities char enote, anote; // input note - output note bool mute; @@ -57,6 +60,7 @@ struct DrumMap { extern DrumMap iNewDrumMap[128]; extern void initNewDrumMap(); +extern void clearDrumMap(); // One-time only early init extern void initDrumMap(); extern void writeDrumMap(int level, Xml& xml, bool external); extern void readDrumMap(Xml& xml, bool external); |