Apple Logic Express 7.2 Manuel d'utilisateur Page 240

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 255
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 239
240 AppendixBLogicControl—MIDIImplementation
GlobalControlMessages
HostConnectionandInitialization
Received:
<Hdr>00F7
DeviceQuery
<Hdr>02ssssssssssssssrrrrrrrrF7
HostConnectionReply
<Hdr>0F7FF7
GoOffline
Transmitted:
<Hdr>01ssssssssssssssllllllllF7
HostConnectionQuery
<Hdr>03ssssssssssssssF7
HostConnectionConfirmation
<Hdr>04ssssssssssssssF7
HostConnectionError
ss =Serialnumber(7bytesASCIItext,nonnull-terminated)
ll =Challengecode(4bytes)
rr =Responsecode(4bytes)
OfflineMode:
LogicControlemploysaquerysystemtomaintainaconnectiontothehostsoftware.
WhenLogicControlisinitiallypoweredup,itdefaultstoOfflinemode.InOfflinemode,
LogicControl’sfadersmovetotheirlowestsetting,andtheLCDreads“EMAGICLOGIC
CONTROL--byMACKIE.”Afterpower-on,LogicControlalsotransmitsasystem
exclusiveHostConnectionQuerymessagethatisused(bythehost)todetecta
connection,andwhattypeofdeviceisconnected(LogicControl/LogicControlXT).
CommunicationsInitialization:
WhenthehostsoftwarereceivesaHostConnectionQuerymessage(containingaserial
numberandarandomchallengecode),itshouldtransmitaHostConnectionReply
commandwithin300mstoinitializeLogicControl.Thecommandmustcontainthe
sameserialnumberandthecorrec tresponsecodeforthechallengecode.Hereisthe
algorithm(l1tol4=challengecodebytes1to4,r1tor4=responsecodebytes1to4):
r1=0x7F&(l1+(l2^0xa)l4);
r2=0x7F&((l3>>4)^(l1+l4));
r3=0x7F&(l4-(l3<<2)^(l1|l2));
r4=0x7F&(l2-l3+(0xF0^(l4<<4)));
LogicControlwill,inturn,respondwitheither:
 aHostConnectionConfirmationmessagethatcontainstheserialnumber,andswitch
toOnlinemode—whereitwillawaitfurtherinstructionsfromthehost,or
 replywithaHostConnectionErrormessage,iftheresponsecodewaswrong.
Vue de la page 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 254 255

Commentaires sur ces manuels

Pas de commentaire