Since ADI-2 Pro FsR already has a remote, I tought it would be cool if I could "pilote" this remote, or another universal remote.
I found it was possible with Broadlink RM4 Pro universal remote, and a bit of work...
Broadlink RM4 Pro is natively integrated in Home Assistant : an open-source software for home automation and more, running on Debian (Linux OS).
So, you need to have Home Assistant installed, either on a VM or a dedicated device.
When integrated your RM4 Pro in Home Assistant, you can easily learn your ADI-2 Pro remote commands.
Using developper tools and calling "Learn command" service with your RM4 as target.
This will put the RM4 in "learn mode" .
Then you simply press the button you want to learn on your remote and it will write the IR data to a file in .storage folder
/homeassistant/.storage/broadlink_remote_YOUR-RM4-MAC-Address_codes
example of data:
Conclusion:
Until now this is the best way for me because I haven't found another way to implement the "volume push" (= changing selected volume output" ) .
With a wheel click I can toggle between Speakers volume or Headphone volume and I set volume +or- turning knob left or right.
Problems with this solutions:
- You need universal remote (Broadlink RM4)
- You need Home Assistant, so either a local VM or dedicated device (mini PC running VM, or raspberry Pi)
- You need to install a service on your computer to send commands from your computer (Hass Agent) to Home Assistant.
(the device name is the one you got from receivemidi list commands)
Here, you can either use the adi-2 pro, or the remote buttons and it will write the sysex commands on the console.
You just have to copy the code provided and find a way to send the commands, here is an example for me:
Conclusion:
The biggest problem with this method is we can't have the "volume push" to toggle between Output 1-2 or 3-4 for volume control.
It seems it hasn't been implemented in the remote and midi Sysex, as in the IR controls (in the real remote)
So I can either control Output 1-2 or Output/Phone 3-4.
For those understanding a bit of coding or coding logic, second caveheat is the scripting part.
Only working solution I found is:
Create a folder and set a default volume, to write "current volume" to a file.
That way the script can increment/lower from current volume. You only can set a value with that method, so to set a new value related to current value (+0.5db more), you need to write the current value to a file...
Also I have to toggle between decimal and hex value back and forth, not "optimal"
Basically after installing Python and module you can send commands directly from your computer to Broadlink RM4 universal remote.
Then just download those two files, broadlink_cli and broadlink discovery
Regarding setting volume through Home Assistant:
If one already uses Home Assistant maybe your also already familiar with the ESPHome integration? When that is the case, an alternative to Broadlink RM4 could be a cheap ESP device, for example a D1 Mini with an IR controller shield. Of course not exactly plug and play, but I wouldn't call Home Assistant plug and play. Something for the enthousiast! :-)
I registered on the forum to day to do exactly what you're trying with the midi sysex commands, controlling settings on the ADI that are already supported by the app, with a custom remote with a wheel through my Raspberry PI that is set up as a streamer using the USB interface.
I'm calling the script with TriggerHappy, so playback control for next/prev/play/pause is sent to Volumio, while Volume up/down/mute is sent with Midi commands to the RME ADI. Each "click" of the scrollwheel triggers a call to the script.
Should be no issues calling the script in the same way with HomeAssistant.
I finally got around writing a Win app to control the volume and toggle speakers / headphones from global keyboard shortcuts, everything works just as expected.
As I understand it:
- to get the volumes, you need to first query the full ADI config (command 03 09) and read within that the various output volumes, iterate by blocks of 3 bytes until you find the following (the config dump is broken over multiple SysEx messages):
* for Line Out, 1B XX YY with X
I'm a bit afraid to ask one further question on the ADI-2 Pro, after the dumb one I asked in a previous post. But as I've already played the silliest character in the play, I might as well risk whatever face I've left (if any at all), and ask again for your advice, please.
In Digital Through Mode, since a single digital input signal is passed through the unit to be monitored on the analog outputs at the same time, I suppose the Volume control can be used to set the analog output level. But, then, how about the level of the digital outputs? Can any or all of them be controlled by the Volume knob while in Digital Through Mode?
I'd say the main purpose of a format converter is to be totally bit-perfect, at least until SRC is needed, and since a level control on the (digital) signal path is the opposite of bit-perfect by its very definition, I'm forced to ask the question (while expecting a "no" for an answer).
Maybe the background might show the purpose of my asking: one of the features I love most in my UCX is how the level of digital output can be set with no perceivable loss of quality even at serious attenuation values. But, as in my ignorance I can't say whether this is a feature that comes with the TotalMix (FX) package, or it is simply embedded with the DSP coding, I'm wondering if the ADI-2 Pro will allow me to feed the AES/EBU output while enjoying the same, smooth volume control that's needed in my application.
My typical application has no use for analog outputs, just the AES/EBU. Which my UCX/ADI-4DD kit covers perfectly fine, but I honestly can't resist the call of a real AES/EBU output in a half-width-only device, plus an even more robust headphone amp, the Bauer Binaural filter, the M/S processing, the generously-sized volume knob right there... I'm willing to have it, if only I can be sure I'll be able to use it in my environment.
Alternatively, then, if the volume control does not set the level of digital outputs when in Digital Through Mode, is it active on digital outputs, too, when the ADI-2 Pro is operating in USB Interface mode? Would it have the same smooth, perfectly done dithering function, that it has on my UCX? That would still make my day, as my application could be adapted to this scenario.
In fact there is no mode that allows to control the digital output volume on this device directly. The wonderful digital attenuation that you mentioned exists, but for the analog outputs. Using the unit as A/D or D/D converter with digital volume control is not what is was intended for, sorry.
Sure, I've still got plenty options, in the RME offer, but being how AES/EBU isn't the average bread-and-butter medium of the Sacred Triad (of Skateboard, Laptop, Backpack), I'm aware that I'll have to surrender to the 19" rack format I've been trying to run away from, for as long as AES/EBU is my karma.
Half-rack-width's is still my dream, and while I can't say which one I love most between my UCX and Babyface Pro, which serve me in two completely unrelated realms, having to carry an ADI-4DD around all the time spoils much of the fun (of carrying a backpack instead of a rack).
In all honesty, the way you designed your digital attenuation has no equal on the market, hands down: if I can't hear steps on a +kWs PA connected straight to my UCX via ADI-4DD, and if I can't hear reverb and ambience shrink even at -40 (with 16-bit source program, even) when connected to the same PAs, I know why I discarded anything else than RME, I know it any time I launch TotalMixFX on my (most crammed) laptop screen.
I've found the solution I was looking for, which justifies the purchase of the ADI-2 Pro, while keeping the travel bulk as small as possible, and avoiding one more digital-to-analog (and analog-to-digital) conversion in the process.
I had recently bought for personal use a BabyFace Pro, of which I've grown quite fond, which is incredibly comfortable to use thanks to the 5/8" screw socket on its back panel, fixed on top of a foldable tripod for generic camera use.
I've tought of using it as the digital source to ADI-2 Pro via TosLink connection, as the rotary control on the Babyface Pro provides for an easy, hands-on, fade-in and fade-out function during my application.
As long as level output from Babyface Pro is 0, the bit-perfect condition in my signal chain shall be flawlessly met, and I expect that the care in whatever dithering law is applied to the level control in the Babyface Pro DPS is as accurate as the one I've experienced with my trusted UCX.
Hi,
so if it is not possible to regulate the volume with the adi pro on the digital output, you Need the UFX +, dont you? Are the A/D and D/A-Divices in the UFX + equal to the ones in the adi 2 pro? Is the digital volume control in the UFX+ better than in the FF 400 wich I own?
I'd like to connect the Output of the rme divice directly to the DSP of an active Speaker. Is the UFX the best solution or are there alternatives to connect my music files on the Computer to my active Speakers? I feel that I do not need all the some hundred ins and outs of the UFX - but I want max audio performance and I like to connect my Vinyl-Equipment to the setup - so I do need a very good A/D-converter - wich the FF 400 doesn't have - with all respects.
So the questions are: does the UFX+ perform better in digital volume control than the FF400? Does the UFX+ perform equal in A/D converting to the adi2pro? Is there a more simple but equal quality giving solution with rme - keeping in mind that I only need 2-channel playback and maybe vinyl recording?
bw
sascha
Hi Sascha, I'm still waiting to receive the ADI-2 Pro I've ordered a few days ago, I haven't tried it it.
But I have received my new UFX in the meantime, and it adds to my UCX... don't know about the UFX+, no experience on it, and it's not on my path, no need for such a load of functions and channels in my application.