Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Pro Tools Software > Pro Tools

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-22-2024, 11:22 AM
damo76 damo76 is offline
Member
 
Join Date: Jun 2024
Location: Geelong Victoria Australia
Posts: 29
Default HUI/MCU handshake information

Hi all,

Does anyone have the information regarding the handshake protocol between HUI/MCU midi controllers and Protools. I have designed a HUI/MCU controller for Protools but it causes Protools to freeze periodically because ProTools is not receiving the correct response back from the Midi Controller to show that it is a legit device and that it is active. Any help in this regard would be appreciate.
Reply With Quote
  #2  
Old 06-22-2024, 11:34 AM
Top Jimmy's Avatar
Top Jimmy Top Jimmy is offline
Moderator
 
Join Date: Oct 2005
Location: Spokane, WA
Posts: 6,074
Default Re: HUI/MCU handshake information

Would something like this help you analyze the traffic on another HUI device that does respond correctly?
https://hautetechnique.com/midi/midiview/
__________________
James Cadwallader

Mac Studio, 64GB RAM, 1 TB SSD, Glyph 2TB USB3 HDD, OWC drive dock, Mac OS Monterey 12.6.8

Pro Tools Ultimate 2023.9, HD Native, Focusrite Red 8Pre

Presonus Faderport, Pro Tools | Control
Reply With Quote
  #3  
Old 06-22-2024, 11:56 AM
damo76 damo76 is offline
Member
 
Join Date: Jun 2024
Location: Geelong Victoria Australia
Posts: 29
Default Re: HUI/MCU handshake information

Yes but I dont have another Hui device here. I am also suspecting, but hoping not to be the case, that each hui device might have a different response, or perhaps will respond to some special sys ex sent by protools that might be different each time it sends it.. just hoping for a possible protocol document or example .. thanks for your advice
Reply With Quote
  #4  
Old 06-22-2024, 12:09 PM
Top Jimmy's Avatar
Top Jimmy Top Jimmy is offline
Moderator
 
Join Date: Oct 2005
Location: Spokane, WA
Posts: 6,074
Default Re: HUI/MCU handshake information

Quote:
Originally Posted by damo76 View Post
Yes but I dont have another Hui device here. I am also suspecting, but hoping not to be the case, that each hui device might have a different response, or perhaps will respond to some special sys ex sent by protools that might be different each time it sends it.. just hoping for a possible protocol document or example .. thanks for your advice
It’s just a ping and reply.
http://stash.reaper.fm/12332/HUI.pdf
__________________
James Cadwallader

Mac Studio, 64GB RAM, 1 TB SSD, Glyph 2TB USB3 HDD, OWC drive dock, Mac OS Monterey 12.6.8

Pro Tools Ultimate 2023.9, HD Native, Focusrite Red 8Pre

Presonus Faderport, Pro Tools | Control
Reply With Quote
  #5  
Old 06-22-2024, 12:17 PM
Darryl Ramm Darryl Ramm is offline
Member
 
Join Date: Nov 2010
Location: USA
Posts: 21,090
Default Re: HUI/MCU handshake information

You do mean pure HUI right? Pro Tools has never supported MCU.

There is no magic sysex handshake that I can recall the one or two times I've looked at MIDI control stuff. Are you sending the keep alive pings frequently enough? Almost everything I've needed to hack together some very basic control stuff has come from just reading theageman's reverse engineering doc: https://www.bome.com/wp-content/uplo...669723_HUI.pdf

I can't imagine there being stuff that is too special to Pro Tools here, after all HUI was co-developed originally to work with Pro Tools and it still works with an original Mackie HUI surface.

Although this stuff is not complex you are just likely to waste time unless you have something working to compare to. Why not go buy an old Mackie HUI surface, *the* HUI reference platform, they are a few hundred US dollars on EBay. Regardless of the hassle in obtaining one, not having anything to compare to is just a bad idea.
Reply With Quote
  #6  
Old 07-01-2024, 05:35 AM
damo76 damo76 is offline
Member
 
Join Date: Jun 2024
Location: Geelong Victoria Australia
Posts: 29
Default Re: HUI/MCU handshake information

Quote:
Originally Posted by Darryl Ramm View Post
You do mean pure HUI right? Pro Tools has never supported MCU.

There is no magic sysex handshake that I can recall the one or two times I've looked at MIDI control stuff. Are you sending the keep alive pings frequently enough? Almost everything I've needed to hack together some very basic control stuff has come from just reading theageman's reverse engineering doc: https://www.bome.com/wp-content/uplo...669723_HUI.pdf

I can't imagine there being stuff that is too special to Pro Tools here, after all HUI was co-developed originally to work with Pro Tools and it still works with an original Mackie HUI surface.

Although this stuff is not complex you are just likely to waste time unless you have something working to compare to. Why not go buy an old Mackie HUI surface, *the* HUI reference platform, they are a few hundred US dollars on EBay. Regardless of the hassle in obtaining one, not having anything to compare to is just a bad idea.
Ok I managed to get a hold of an Xtouch. and the only thing it seems to be sending back is a ping reply. I have copied this reply on my DIY controller..but Protools still continues send a seemingly endless list of controller commands that will not stop. Am at a loss of what to do next. And help welcome
Reply With Quote
  #7  
Old 07-01-2024, 07:17 AM
junkgear's Avatar
junkgear junkgear is offline
Moderator
 
Join Date: Jan 2012
Location: USA
Posts: 1,990
Default Re: HUI/MCU handshake information

Quote:
Originally Posted by damo76 View Post
Ok I managed to get a hold of an Xtouch. and the only thing it seems to be sending back is a ping reply. I have copied this reply on my DIY controller..but Protools still continues send a seemingly endless list of controller commands that will not stop. Am at a loss of what to do next. And help welcome
Does PT send an endless list of commands to both the Xtouch and your device or just your device?

Like Darryl said, there isn't much going on except that you need to send a 'keep alive' ping about once a second and you don't really need to do anything with the ping reply if you don't want to. If your pings are too far apart, PT may think that you are disconnecting and reconnecting, and it sends a dump of info so that you can update the controller to the current state. That seems a little proactive on PTs part, but who knows.
__________________
Will

System Details
Reply With Quote
  #8  
Old 07-02-2024, 01:05 AM
Felix Rost Felix Rost is offline
Member
 
Join Date: Feb 2006
Location: Berlin, Germany
Posts: 616
Default Re: HUI/MCU handshake information

Quote:
Originally Posted by damo76 View Post
... but Protools still continues send a seemingly endless list of controller commands that will not stop.
I do this in my app and it works:

MIDI Message from host (Pro Tools) every 1 sec:
[0x90, 0x00, 0x00] or decimal [144, 0, 0]

MIDI Message response from surface (my app):
[0x90, 0x00, 0x7F] or decimal [144, 0, 127]

(These are simple MIDI "Note On" commands: "Note "On", pitch= 0, volume= 0/127)

Pro Tools sends an "endless list" while transport is stopped?
Have you checked you are responding on the correct MIDI channel?
In PT, do you see the alerts "Pro Tools is unable to communicate with HUI..."?
__________________
http://felixrost.de

Last edited by Felix Rost; 12-07-2024 at 01:49 AM. Reason: added decimal values and command description
Reply With Quote
  #9  
Old 07-12-2024, 07:36 AM
damo76 damo76 is offline
Member
 
Join Date: Jun 2024
Location: Geelong Victoria Australia
Posts: 29
Default Re: HUI/MCU handshake information

Yes I got the handshake working in the same way. Thanks
Reply With Quote
  #10  
Old 07-13-2024, 12:42 AM
henningaround henningaround is offline
Member
 
Join Date: Feb 2012
Location: Cologne, Germany
Posts: 186
Default Re: HUI/MCU handshake information

What is you app for? Interested :)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Information in Sig SpinningDisk General Discussion 7 03-04-2010 10:50 AM
No Information Available timcorder VENUE Live Sound Systems 2 10-22-2009 03:46 PM
Mac OS X 10.5.5 Information Avid Technical Alerts 0 09-17-2008 11:37 AM
Tracking information jdren Aspera DigiDelivery 0 09-20-2006 07:17 AM
Mis-information on the DUC AvidCS General 0 06-14-2001 05:47 PM


All times are GMT -7. The time now is 07:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com