Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: NAX - Receiving AES67 from Dante Devices
#crestronhome
#nax
Don't know about CHome, but to do it manually:
Enable AES67 on the Dante device in Dante Controller Create AES67 mcast transmiter (must be 2 channels) thru DC and take note of the mcast IP Enter the Mcast IP of the Dnate AES67 Tx into the NAX Rx. |
NAX - Receiving AES67 from Dante Devices
#crestronhome
#nax
Is there any solutions to be able to start a AES67 stream from Crestron Home. I have a secondary processor running SIMPL so I can trigger what's necessary to start the stream. The issue I'm running into is defining the stream as a source in CH. If I use a generic audio driver then there is only a digital or analog connection that can be made to the NAX. I tried to make a connection ?to an unused input and used SIMPL to change to the AES67 ?input and start the stream when the unused input was selected. The problem is that CH automatically turns off the zone if the selected input isn't matching the active source. Any ideas would be ?appreciated!!
Thanks in advance? |
Re: rtpMIDI
I put together a very quick demo of receiving note on/off RTP-MIDI messages directly in Simpl from ProPresenter on a PC.
Since you're on Windows, I assume you're using the rtpMIDI app from Tobias Erichsen.? The rtpMIDI app will need to initiate the session with the Crestron processor. RTP-MIDI requires two UDP connections on sequential port numbers. The typical ports are 5004 and 5005. The Crestron processor will need to respond to the session initiation messages and timestamp synchronization messages. Once the session is established, the note on/off messages can be parsed. Here's a quick demo.? The readme also has links to the protocol documentation. -Dustin |
Re: rtpMIDI
¿ªÔÆÌåÓýI get that. They were overly PC as well, and I begrudgingly accepted that we were moving to Mac in that venue.?
I suggest looking at?
as an intermediary with loopmidi and sending events to Crestron.?
Caleb Radecky | Manager, Online Products & Services
Crestron Silver Certified Programmer | DMC-D-4K | DMC-E-4K
ControlWorks Consulting, LLC | Crestron Services Provider | 8228 Mayfield Rd. #6B Rear Cleveland OH 44026
D. 440.771.4809 | O.440.449.1100 X1109 | F.440.449.1106 | http://www.controlworks.com
From: Phil Moore <phil@...>
Sent: Tuesday, January 9, 2024 18:29 To: [email protected] Subject: Re: [crestron] rtpMIDI Thanks Caleb,
Migrating to Mac is right out. We are a Windows house with next to no Mac experience - having bought a Mac at home to replace an ageing PC some years ago, I do not want to go through that pain again... If I have to I'll implement an rPI as an intermediary to translate rtpMIDI to my own TCP protocol, but I'd REALLY prefer not to... -- Cheers Phil |
Re: rtpMIDI
Thanks Caleb,
Migrating to Mac is right out. We are a Windows house with next to no Mac experience - having bought a Mac at home to replace an ageing PC some years ago, I do not want to go through that pain again... If I have to I'll implement an rPI as an intermediary to translate rtpMIDI to my own TCP protocol, but I'd REALLY prefer not to... -- Cheers Phil |
Re: rtpMIDI
Sorry I see that you said Windows. ? Recently I ejected a Windows ProPresenter PC for a MacStudio because Renewed Vison crippled external control on the Windows implementation. At one point I did have rtpMidi running in a Windows form application receiving data from ProPresenter but honestly it feels like Renewed Vison REALLY wants you to run it on a Mac. Now we are just using a TCP Socket to pretend to be a Ross device and listen for RossTalk for our event triggers. ? In another venue we use ProPresenter to send MIDI to and then send data to GrandMA onPC to trigger lighting scenes. Basically, exactly what you are up to without a control system in that venue. ? Caleb Radecky | Manager, Online Products & Services ? From: [email protected] <[email protected]> On Behalf Of Caleb Radecky via groups.io
Sent: Tuesday, January 9, 2024 16:08 To: [email protected] Subject: Re: [crestron] rtpMIDI ? Are you using Mac ProPresenter or PC ProPresenter? ? Caleb Radecky | Manager, Online Products & Services ? From: [email protected] <[email protected]> On Behalf Of Phil Moore ? Thanks Michael, ? |
Re: rtpMIDI
Hi Phil -- Ok I had it completely backwards.? You want to not send midi, but receive midi, and networked rtpmidi is your only choice based on what application is going to be sending it.
And I'd agree that puts it out of the realm of Arduino. Just for fun I asked ChatGPT (v.4 by the way, the paid one) if it could write me a Python script for Raspberry Pi that could listen for rtpmidi messages over UDP.? It said "yup here ya go" more or less, and it incorporated an external rtpmidi Python library to do it in 15 lines, outputting the incoming midi stream to the console.? Can't say I have much experience with rtpmidi other than to conceptualize it as transporting the serial data I'm accustomed to.? But I guess I learned today that someone has apparently already done the labor of implementing rtpmidi in Python.? In the example it wrote me, ChatGPT decided that I probably wanted to receive rtpmidi over UDP 5004 and 5005 since I didn't give it any other suggestion. If such a script can pick up these messages, maybe it could be tweaked to filter out the messages you're interested in, and pass them along as simple strings using some other way that plays cleanly with Simpl (rs232/udp/etc.)... assuming you don't already locate a native driver or some other solution you find to be cleaner, first, without involving extra hardware. |
Re: rtpMIDI
¿ªÔÆÌåÓýAre you using Mac ProPresenter or PC ProPresenter? ? Caleb Radecky |
Manager, Online Products & Services ? From: [email protected] <[email protected]> On Behalf Of
Phil Moore
Sent: Tuesday, January 9, 2024 15:59 To: [email protected] Subject: Re: [crestron] rtpMIDI ? Thanks Michael, |
Re: rtpMIDI
Thanks Michael,
Whilst I do have plenty of Arduino experience, the Windows version of the program that I need to communicate with (ProPresenter) will only send external cues via MIDI - rtpMIDI to be precise - from my reading of Apple's spec for rtpMIDI it seems to use 2 consecutive UDP ports to send control and data. I already have a DMPS3 controlling a zoom only PTZOptics camera and DMX via a serial to DMX adapter. I'm trying to reduce the need for volunteer operators to remember to trigger lighting cues from the Stream Deck or Xpanel so we have a more consistent production standard (mainly for the recording) - the context is a church where the bulk of the operators are not AV professionals... -- Cheers Phil |
Re: How to on trinnov using crestron command
#crestron
¿ªÔÆÌåÓýAh, yes - thanks for the heads-up on the latest version. Just downloaded. ? ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von ckangis ? Hi Thorsten, |
Re: How to on trinnov using crestron command
#crestron
Hi Thorsten,
I just found it in my spam folder, Thank you!!? I actually received a later version (2.1.10) from another poster so I'm going to work with that (though there's a few things I need to adjust!) Thank you again and Happy New year!! |
Re: How to on trinnov using crestron command
#crestron
¿ªÔÆÌåÓýHi, ? JFYI ¨C i sent you a direct mail a week ago. Hope that find you well. Just checking via the group. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von ckangis ? Yes, My WoL is working now!? probably like you suggested. I'll pivot to the 12v trigger (that's what we did years ago) |
Re: rtpMIDI
So I went down the rabbit hole on this because I have been interested in doing something like this myself.
I know that this is not?rtpmidi, but on the other hand, every single MIDI device I have ever owned that had USB or network MIDI, also still has the 5-pin old-school DIN-plug MIDI jack.? These jacks work about as reliably as RS232 because they effectively are RS232. Turns out, the old-school MIDI is nothing more than plain n-8-1 serial,?except at a non-standard baud rate (31250) that can't be selected in SIMPL, and also?except at TTL voltages reminiscent of the 0-5v on Crestron's IR-drivers-as-serial. However, realizing this, it would be trivial to use a cheap Arduino Uno board to translate input at a Crestron-compatible baud into output at 31250 baud.? Basically to act as a translating bridge.? Then sending MIDI messages from Crestron is as simple as using a normal SIMPL serial send block, and transmitting the bytes out a Crestron serial port, just like any other serial device. I confirm that in ChatGPT, the prompt "Write me an Arduino Uno sketch that uses SoftSerial to accept serial input at 1200 baud (pin 2 RX, pin 3 TX), and retransmit it as MIDI through the UART at 31250 baud" will provide a correct Arduino program that accomplishes this task (it's like 11 lines long) along with the instructions to flash it over USB to an Arduino board. The Arduino "MIDI shield" that gives you a proper 5-pin MIDI jack from the Arduino Uno's built-in serial port (UART) is less than $20 on Amazon.? The RS232 board that gives you a regular DB-9 serial port compatible with "SoftSerial" is also under $20 on Amazon (search "Arduino RS232 shield").? Arduino "shield" boards stack on top of one another, so you simply make a small tower stacking these two expansion boards on top of the base Arduino Uno.? The "SoftSerial mode" must be selected on the RS232 board, required to software-emulate a second serial port on the Uno because the only hardware serial port (UART) is tied up generating the MIDI signal. Two minor caveats. The slower baud rate is required for the software serial emulation... it's 100% reliable at low baud rates like this... midi messages are very short... you'll be fine sending 3 bytes at 1200 baud.? Don't increase it.? Second, the MIDI shield must be removed or switched off (if it has a switch) until you complete the USB flashing step, because the USB flashing function requires exclusive use of the internal UART (temporarily at least). Fashioning this adapter, you can then send MIDI messages from a Crestron to your heart's content just by looking up the bytes and putting them in a normal Serial Send SIMPL block.? ChatGPT will even give you the bytes (e.g. "What are the bytes I need to send over Serial to send a "Program Change 5" message on MIDI channel 1?")... Sending raw bytes, you can send program changes, control changes, note messages, SysEx messages...basically anything the MIDI protocol allows.? That's hard to beat! Yeah it's not rtpMIDI, and requires old school cables, but if you get this working, there's a good chance it will run for a decade without a single reboot or failure! |
Re: rtpMIDI
If it were me, for a purpose like this, I would buy an Arduino-type board, put a MIDI adapter on it (such as MIDI FeatherWing), and ask ChatGPT for the code to (as an example) "send program change 5 on channel 1 whenever Arduino pin 12 gets connected to ground".? Then you're not dealing with relying on Windows to stay running, or computers that need updating or rebooting.? Arduinos boot in milliseconds, basically the instant they get power.? Their biggest downside is needing to fashion an appropriate enclosure (though, mounting them with magnets and standoffs inside a metal cabinet often works in a pinch!).
I have gotten some amazing results mixing Arduinos with Crestron.? Crestron can easily signal them via contact closure, or via RS232. I understand if messing with Arduino it's not your cup of tea.? But being built from automotive microcontrollers, Arduinos tend to be bulletproof when used for the right application (especially so when compared to leaving a Windows program running to do an automation job). |