Upload guides to using the FFADO Mixers to this page

Please include a copyright notice in the document together with the licence conditions (for example, a Creative Commons licence)

Controlling Mixer via dbus-send

It is possibile to manage mixer settings with dbus-send in order to control the device inside a script. First thing to do is analyzing the messages ffado-mixer sends to ffado-dbus-server. You can do it by executing dbus-monitor in this way

dbus-monitor "member=setValue" 

Once started you have to fiddle with your mixer applet to discover the control element name and index shown by the dbus-monitor utility.
I.E. the following message seen in dbus-monitor when i touch the mute button in ffado-mixer:

method call sender=:1.9 -> dest=:1.10 serial=169900 path=/org/ffado/Control/DeviceManager/001486009ab43346/Mixer/MonitorMute; interface=org.ffado.Control.Element.MatrixMixer; member=setValue
   int32 0
   int32 0
   double 1

Can be replicated with the command

dbus-send --print-reply --dest=org.ffado.Control /org/ffado/Control/DeviceManager/001486009ab43346/Mixer/MonitorMute org.ffado.Control.Element.MatrixMixer.setValue int32:0 int32:0 double:1

Dice Mixer & Router

(written by Arnold Krille in an email, licence unknown)

The main part of the dice-based devices (if they implement the EAP, the extended application protocol) is a big router. This can route any source to any sink. Sources are for example the analog, spdif and adat inputs but also the computers output (named 1394). All these can be routed to sink like analog, spdif and adat out but also to the computers input. The router is only a router, not a mixer. So only one source can be connected to each sink at a time. Sidenote: One source can of course be connected to several sinks.

The matrix-mixer is a real mixer. To make use of it, the mixers inputs are sinks in the router, while the mixers outputs are sources in the router. To actually mix something, you have to connect them accordingly.

The gui of the mixer is a bit different then normal mixers as it doesn't have sliders or knobs. This would blow up the gui far beyond todays screen sizes... The black or colored boxes are the actual sliders. Either click and drag the mouse up and down to change the value of use the context-menu to select from pre-defined values or use the text-input.

The Saffire Pro24 and Pro40 contain an extension where you can mute and dim the outputs. While dim is global for the channels selected, the volume can be controlled for all (not working correctly) or individually.

Attachments