Add time display.

master
Albert Graef 2018-08-27 04:12:55 +02:00
parent ca4e82ca7a
commit bae52b162c
1 changed files with 24 additions and 12 deletions

View File

@ -163,20 +163,24 @@ B7 C7[2] # Rec, blinks when engaged
G7 C#7
G#7 D7
# MCU shift keys
A#5 D#7
B5 E7
C6 F7
# Feedback for the MCU shift keys. We've disabled this by default since
# it doesn't add much value and clobbers the bar display below.
# meter feedback
#A#5 D#7
#B5 E7
#C6 F7
# The Mackie protocol packs all 8 channel meters into a single channel
# pressure message which we need to transform into the corresponding
# note messages for the LEDs. Note that we only use the upper 5x8 part
# of the grid here, in order not to clobber the 3 rows at the bottom
# with the rec/solo/mute buttons. This means that the meters, which
# actually have 8 different values, have to be squashed into 5 LEDs per
# channel.
# Blinkenlights galore! The Mackie protocol provides us with both time
# and meter data for which we provide some translations here which make
# various LEDs light up in different colors.
# Meter feedback: The Mackie protocol packs all 8 channel meters into a
# single channel pressure message which we need to transform into the
# corresponding note messages for the LEDs. Note that we only use the
# upper 5x8 part of the grid here, in order not to clobber the 3 rows at
# the bottom with the rec/solo/mute buttons. This means that the
# meters, which actually have 8 different values, have to be squashed
# into 5 LEDs per channel.
?CP[16] C2[0,1] G#2[0:3,1] E3[0:5,5] C4[0:7,5] G#4[0:8,3]
@ -187,6 +191,14 @@ C6 F7
#?CP[16][-8] G#4[0,1] A4[0,0,1] A#4[0:3,1] B4[0:4,1] C5[0:5,5] C#5[0:6,5] D5[0:7,5] D#5[0:8,3]
# This decodes the least significant digit in the time display (CC69) to
# count off time on the 4 bottommost scene launch buttons. Note that
# the digits are encoded in ASCII here, therefore the copious amount of
# zeros in the value lists below to skip over all the non-digit
# characters at the beginning of the ASCII table.
CC69[128] F7[0:49,1,0] E7[0:50,1,0] Eb7[0:51,1,0] D7[0:52,1,0]
# no feedback for faders (faders aren't motorized)
# NOTE: Feedback for rec/solo/mute/select also needs to be recognized in shift