required int32 note_number = 1;
}
+message MIDILightProto {
+ required int32 note_number = 1;
+}
+
// All the mappings for a given a bus.
message MIDIMappingBusProto {
// TODO: If we need support for lots of buses (i.e., more than the typical eight
optional MIDIButtonProto select_bank_3 = 16;
optional MIDIButtonProto select_bank_4 = 17;
optional MIDIButtonProto select_bank_5 = 18;
+ optional MIDIButtonProto toggle_limiter = 19;
+ optional MIDIButtonProto toggle_auto_makeup_gain = 20;
// These are also global (they belong to the master bus), and unlike
// the bank change commands, one would usually have only one of each,
// but there's no reason to limit them to one each, and the editor UI
// becomes simpler if they are the treated the same way as the bank
// commands.
- optional MIDIControllerProto locut = 19;
- optional MIDIControllerProto limiter_threshold = 20;
- optional MIDIControllerProto makeup_gain = 21;
+ optional MIDIControllerProto locut = 21;
+ optional MIDIControllerProto limiter_threshold = 22;
+ optional MIDIControllerProto makeup_gain = 23;
+
+ // Per-bus lights.
+ optional MIDILightProto locut_is_on = 24;
+ optional MIDILightProto auto_gain_staging_is_on = 25;
+ optional MIDILightProto compressor_is_on = 26;
+ optional MIDILightProto has_peaked = 27;
+
+ // Global lights. Same logic as above for why they're in this proto.
+ optional MIDILightProto bank_1_is_selected = 28;
+ optional MIDILightProto bank_2_is_selected = 29;
+ optional MIDILightProto bank_3_is_selected = 30;
+ optional MIDILightProto bank_4_is_selected = 31;
+ optional MIDILightProto bank_5_is_selected = 32;
+ optional MIDILightProto limiter_is_on = 33;
+ optional MIDILightProto auto_makeup_gain_is_on = 34;
}
// The top-level protobuf, containing all the bus mappings, as well as
optional int32 limiter_threshold_bank = 13;
optional int32 makeup_gain_bank = 14;
- repeated MIDIMappingBusProto bus_mapping = 15;
+ // Global buttons.
+ optional int32 toggle_limiter_bank = 15;
+ optional int32 toggle_auto_makeup_gain_bank = 16;
+
+ repeated MIDIMappingBusProto bus_mapping = 17;
}