summaryrefslogtreecommitdiff
path: root/libs/backends
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-27 12:12:00 +0200
committerRobin Gareus <robin@gareus.org>2016-05-27 12:12:00 +0200
commit94187e66a2ae2bc2ab082ef614c25b35ec0d5e24 (patch)
treedf17196d7f58fad32772819d279a608ede87ee94 /libs/backends
parent56471fd3527416672664700bd2c1491419ced57a (diff)
add a test-sequence for polyphonic pressure
Diffstat (limited to 'libs/backends')
-rw-r--r--libs/backends/dummy/dummy_midi_seq.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/libs/backends/dummy/dummy_midi_seq.h b/libs/backends/dummy/dummy_midi_seq.h
index 1d2032fd9d..a79966b808 100644
--- a/libs/backends/dummy/dummy_midi_seq.h
+++ b/libs/backends/dummy/dummy_midi_seq.h
@@ -754,7 +754,20 @@ static const MIDISequence s5[] = { // channel1, CCs only
{ 5.00, 3, {0xff, 255, 0xff} }, // sentinel
};
-static const MIDISequence s6[] = { // channel1, nonsense
+
+static const MIDISequence s6[] = { // Keypressure, Aftertouch
+ { 0.00, 3, {0x90, 64, 0x7f} },
+ { 0.25, 3, {0xa0, 64, 0x40} },
+ { 0.50, 3, {0xa0, 64, 0x60} },
+ { 0.75, 3, {0xa0, 64, 0x7f} },
+ { 1.00, 3, {0xa0, 64, 0x7f} },
+ { 1.25, 3, {0xa0, 64, 0x00} },
+ { 1.50, 3, {0x80, 64, 0x00} },
+ { 2.00, 3, {0xff, 255, 0xff} }, // sentinel
+};
+
+
+static const MIDISequence s7[] = { // channel1, nonsense
{ 0.00, 3, {0x90, 64, 0x7f} }, // note-on
{ 0.50, 3, {0x90, 64, 0x7f} }, // duplicate note-on
{ 1.00, 3, {0x80, 64, 0x00} }, // note-off
@@ -767,7 +780,7 @@ static const MIDISequence s6[] = { // channel1, nonsense
};
static const MIDISequence *sequences[] = {
- s0, s1, s2, s3, s4, s5, s6
+ s0, s1, s2, s3, s4, s5, s6, s7
};
static const char *sequence_names[] = {
@@ -777,6 +790,7 @@ static const char *sequence_names[] = {
"Velocity Sweep, chan 1",
"Sustain Pedal Test",
"CCs only",
+ "Aftertouch",
"Nonsense, Dups"
};