mmelodies/proto/mmelodies.proto

22 lines
435 B
Protocol Buffer

syntax = "proto3";
message Parameter {
uint32 id = 1;
uint32 value = 2;
optional float scaled_value = 3;
}
message UpdateRequest {
optional bool scope_samples = 1;
optional bool param_refresh = 3;
optional uint32 pgm_event = 4;
repeated Parameter param_changes = 2;
}
message Update {
repeated float scope_samples = 1;
repeated Parameter params = 2;
repeated int32 note_sequence = 3;
optional int32 sequence_index = 4;
}