Exemple #1
0
 /// <inheritdoc />
 public void DumpPartial(Partial partial, DigitalPartial partialNumber, int deviceId)
 {
     using (var output = new OutputDevice(deviceId))
     {
         _logger.DataDump($"Dumping Patch.Partial[{partialNumber}]");
         output.Send(SysExUtils.GetMessage(PartialAddressOffset(partialNumber), partial.GetBytes()));
     }
 }
Exemple #2
0
 /// <summary>
 ///     Partial address offset
 /// </summary>
 private byte[] PartialAddressOffset(DigitalPartial partial)
 {
     return(new byte[] { 0x19, (byte)_synthNumber, (byte)partial, 0x00 });
 }