summaryrefslogtreecommitdiff
path: root/libs/backends
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-09-19 18:32:35 +0200
committerRobin Gareus <robin@gareus.org>2015-09-19 19:00:43 +0200
commitbd5b97e964d23bc51ef737ae239ab9822b254cbb (patch)
treede3b953de0a32fed54ebf42fb0333e6cb62c3bc2 /libs/backends
parentdfd7e80fdaedc4ba65ade081e5a2116917205e15 (diff)
Dummy: add a CC only test-sequence
Diffstat (limited to 'libs/backends')
-rw-r--r--libs/backends/dummy/dummy_midi_seq.h25
1 files changed, 23 insertions, 2 deletions
diff --git a/libs/backends/dummy/dummy_midi_seq.h b/libs/backends/dummy/dummy_midi_seq.h
index da16fb78df..810cb53b20 100644
--- a/libs/backends/dummy/dummy_midi_seq.h
+++ b/libs/backends/dummy/dummy_midi_seq.h
@@ -733,7 +733,28 @@ static const MIDISequence s4[] = { // channel1, sustain pedal test
{ 4.00, 3, {0xff, 255, 0xff} }, // sentinel
};
-static const MIDISequence s5[] = { // channel1, nonsense
+static const MIDISequence s5[] = { // channel1, CCs only
+ { 0.00, 3, {0xB0, 0x01, 0x00} },
+ { 0.25, 3, {0xB0, 0x01, 0x10} },
+ { 0.50, 3, {0xB0, 0x01, 0x40} },
+ { 0.75, 3, {0xB0, 0x01, 0x7f} },
+ { 1.00, 3, {0xB0, 0x01, 0x60} },
+ { 1.25, 3, {0xB0, 0x01, 0x55} },
+ { 1.50, 3, {0xB0, 0x01, 0x20} },
+ { 1.75, 3, {0xB0, 0x01, 0x1f} },
+ { 2.00, 3, {0xB0, 0x01, 0x1e} },
+ { 2.25, 3, {0xB0, 0x01, 0x1d} },
+ { 2.50, 3, {0xB0, 0x01, 0x1c} },
+ { 2.75, 3, {0xB0, 0x01, 0x1b} },
+ { 3.50, 3, {0xB0, 0x01, 0x00} },
+ { 4.00, 3, {0xB0, 0x01, 0x00} },
+ { 4.25, 3, {0xB0, 0x01, 0x7f} },
+ { 4.50, 3, {0xB0, 0x01, 0x40} },
+ { 4.75, 3, {0xB0, 0x01, 0x40} },
+ { 5.00, 3, {0xff, 255, 0xff} }, // sentinel
+};
+
+static const MIDISequence s6[] = { // 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
@@ -746,7 +767,7 @@ static const MIDISequence s5[] = { // channel1, nonsense
};
static const MIDISequence *sequences[] = {
- s0, s1, s2, s3, s4, s5
+ s0, s1, s2, s3, s4, s5, s6
};
}} // namespace