10.07.2015 Views

Opcode PatchTalk User Guide - House of Synth

Opcode PatchTalk User Guide - House of Synth

Opcode PatchTalk User Guide - House of Synth

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• While some formats are shown on several lines for clarity,<strong>PatchTalk</strong> commands are written one line per command. (See“<strong>PatchTalk</strong> Notes” for a way to get around this limitation.)SendSend ListOfValuesThis transmits the data in the ListOfValues to the MIDI device. Anydata may be sent: system exclusive commands, note commands, patchdata. It’s up to you to ensure that valid MIDI messages are sent andthat any device IDs or channel assignments get encoded into the data(see the second example).Send $F7 send an end-<strong>of</strong>-system-exclusivemessageSend ($C : DeviceID) $7F send a patch change to patch127. Note the use <strong>of</strong> adding theDevice ID variable to send theprogram change on the rightchannel.SendBulkReceiveSendBulkThis sends the contents <strong>of</strong> a bulk window to the MIDI device. Use theReceiveBulk command to get the data. Use this only with patch typesthat have their Patch Size set to Bulk.Receive MaximumSize { into | after } Destinationrequire ExactSize bytes --optionaltimeout after Time {seconds | milliseconds } --optionalwait <strong>User</strong>Message --optionalThis gets one system exclusive message over MIDI and places it into orafter the Destination. Any additional data beyond the number stated,MaximumSize, are lost.The optional require clause specifies the exact number <strong>of</strong> MIDI bytesrequired. If a different number <strong>of</strong> bytes is received (too many or to<strong>of</strong>ew), then the operation fails and the user will get a message. Use thiswhenever you know exactly how many bytes the MIDI device shouldsend to you.The optional timeout clause specifies the amount <strong>of</strong> time to wait for amessage. If this time is exceeded, the receive command will fail andthe user will get a time out message. Note that s and sec are acceptableabbreviations for seconds, as are ms and msec for milliseconds. If notimeout is specified, a default timeout will be used.<strong>Opcode</strong> Publication 1950906 - 13 - <strong>PatchTalk</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!