Hello,
I’m developing a little python program to send midi messages to our theater’s gld-80, to automate setting volume levels for the different shows and presentations that we do. (The choice of python is because it integrates well with other software in our system.) I have got the program to a point where it sometimes works and sometimes fails, and the failure seems to be related to timing, because I can get different success rates by varying the placement of “sleep” calls before and after writing to the TCP socket. Obviously I would not like my program to depend upon such guesswork, but would just like it to work every time! 🙂
I wonder if anybody here has experience with midi-over-tcp and the GLD-80, and could advise. I understand that MIDI itself runs at a certain clock rate, but I read that midi-over-tcp should not have that limitation, and one can send messages at any rate.
I’ll attach a copy of the program – it’s about 80 lines and is pretty simple. Basic usage is like this:
>>> import gldcontrol
>>> gldcontrol.set_levels(input=[0,-10,-5]) # set inputs 1,2,3
The midi messages are constructed by format_fader_level_message, concatenated, and written to the tcp port.
Any thoughts?
Thanks!