Greetings to all.....
Firstly - to save people's time...
If you don't have a Logic Control (or Mackie Control) I don't think you will be able to help me here as the patch relies on such a unit to be connected to really do anything - but read on if it intrigues you..
OK, to those who haven't now moved on to the next new forum post..........
I wonder if someone can gelp me here, I have scoured the forum, and internet for information/solutions but drawn a complete blank.
What am I trying to do?
Connect to a Lofic Control/XT from within Max/MSP using the Logic Control Midi Implementation Guide from the Logic7.2.1 CS Support Manual (Appendix B, pp 239-242). I haven't included an excerpt from it as that quite probably infringes the copyright of the pdf, so here is the link to download it if you think you can possibly help. http://www.apple.com/support/logic/
on the right hand side 'control surfaces info'.
Below is a patch which;
A - Sends a 'Device Query' sysex string to Logic Control.
B - Receives a 'Host Connection Query' in reply from Logic Control.
C - Deconstructs the Host Connection Query sysex string, works out the response code from the challenge code contained in the last 4 bytes of the string.
D - Recompiles a 'Host Conection Response' sysex string which is then sent out to Logic Control (within 300ms of Logic Control sending the 'Host Connection Query ' string.
From this Response, I would expect to receive back from the Logic Control either a 'Host Connection Confirmation' or 'Host Connection Error' sysex string in reply, but although the Response is definitely sending to the Logic Control I receive no response at all.
It is possible that my expression are incorrectly implemented, but I would still expect a 'Host Connection Error' reply even if no Response was sent.
If anyone has any idea whatsever as to what I might be doing wrong here, I would be so grateful to hear from you. a workaround I have for now is to leave LogicPro running in the bacjground with the Logic Control connected, but all the controller assignments deleted.....a bit messy, although Logic seems to use virtually no cpu when audio is disabled, so not the end of the world, but it would be nice not to have to rely upon LogicPro running as well as Max/MSP.
Thanks for your time in reading this - I do tend to prefer working things out for myself rather than firing questions here all the time but this one really has me stumped!
.and the patch