Setting Levels in Virtual Communication
Audio Feedback / LOLA / ZOOM / & MIDI
Looking Back - and Feedback
As 2021 comes to an end, a particular virus might hopefully find its way to follow. A look back on all of what two years of special measures has brought to change - and without wish or patience to circle round any darker corners - it is apparent that virtual communication has arrived. It certainly had to - and also: it works.
MCT_Portal virtual communication persists in 2021 through lectures and seminars, group collaborations, and scattered non-academic pursuits. Well documented throughout this blog - the MCT_Portal is the audio/video link connecting students in Trondheim (NTNU) and Oslo (UiO) and part-takers from around the globe joining classes and workshops via ZOOM.
The particulars of the Portal audio-communication architecture engender some seemingly inherent artifacts. Seeking to squeeze every drop of intelligibility from the LOLA sound, anyone might be tempted to turn the volume up just a little too far. Resulting is the much dreaded Audio Feedback.
Rules of audio thumb dictate that microphones should not be routed to nearby loudspeakers if avoidable. The amplified signal from the loudspeakers potentially bleeding back into the microphones, and if gained to hot, causing a self-amplifying loop.
Where multiple microphones in Trondheim and Oslo are live by default - receiving and transmitting once the power is turned on - the MCT_Portal has its inherent feedback structure. Although local loudspeakers do not amplify local microphones - Oslo mics are not sent to Oslo speakers, Trondheim mics are not sent to Trondheim speakers - the system itself constitutes an augmented audio loop. As fig.1 illustrates - if the gain staging done at both communication nodes is set too hot local microphones might very well receive their own amplified signal, only by the detour of the other nodes’ loudspeakers and microphones.
Complicating things further is the transitory latency governing the Trondheim/Oslo communication. Once acoustic feedback has occurred in the system, the initial response is naturally: mute everything! Just make that howling noise disappear! To later establish what instigated the problem has proven particularly tricky. The Portal audio moves so counterintuitively that traditional approaches to feedback-reduction (EQing, Gating) have fallen short.
And yet, rules of thumb, again, dictate that if acoustic feedback occurs, it is because IT IS TOO LOUD! Gain the microphones DOWN by 6dB - or even 12dB - and that incessant ringing disappears.
Looking forward
Cooperative communication in 2020 and 2021 has been exercised by speaking into a computer keyboard while looking at a small screen. Regardless of age, education, ethnicity, gender - regardless of most any socio-cultural context or geographical divide - people have learned to adopt a new language allowing those communications to be good ones.
ZOOM, Teams, and Skype have some very impressive echo-canceling algorithms working to make the laptop meeting more pleasant. But more important still might be the unmute button. Simply turning the microphone off when not using it is an excellent idea. If everyone does their part - acoustic feedback becomes a non-issue.
Which has inspired this simple proposition:
Fighting Audio Feedback with MIDI
The quickSet_TotalMix.pd patch is directly inspired by the mentioned unmute buttons of ZOOM et al. With simple, customizable keystrokes or similarly settable MIDI ControlChange messages - or MIDI notes - the patch sends six presets to safeguard against acoustic feedback. [download_patch]
This control is made possible by the technological backbones providing for the Portal virtual communication. LOLA: the “Low Latency AV Streaming System” requires one of six RME Audio Interfaces to operate. All of these sound cards utilize the MIDI programmable TotalMix software as the graphical user interface.
Selecting a TotalMix output operates similar to a Sends On Fader function - as found in many digital mixing consoles. fig. 2 shows how the quickSet_patch has mapped the four input-faders directly corresponding to their output mix. This way, the quickSet_patch affords an intuitive hands-on control of any sub-mix fader. In turn, allowing for triggering six sub-mix presets affecting all outputs. Three of these presets are seen at the top of fig. 2
The “… is talking” presets give that when one of the LOLA nodes is talking, the other nodes’ microphone outputs are attenuated by -20dB. A particularly safe buffer against that looping signal from fig. 1. If “ZOOM is talking” or “MUSIC is playing” both LOLA nodes microphone outputs are attenuated. A “Default” preset sets all microphone outputs to an equal level at -6dB - again, a safety buffer. Finally, there is a “MUTE ALL” preset - because, well… Just in case.
Routing MIDI from the quickSet-patch to TotalMix and LOLA is relatively straightforward. Although LOLA is Windows only, and internal MIDI-routing can be cumbersome, all LOLA-compatible RME sound cards have dedicated MIDI-ports. This makes possible for the quickSet_PureData-patch to send its information through any MIDI interface that utilizes standard 5-pin DIN-cables directly into the LOLA operating RME-card as illustrated in fig. 3. Here: the TotalMix MIDI input port is set to its own Fireface UCX input. Set the PureData MIDI input to what controller one wishes to use
!NOTE! the PureData MIDI Output sending control messages to TotalMix must be set to the topmost of the Output Devices slots for the quickSet_patch to operate as intended straight out of the box (seen left in fig. 3).
For the Future…
There is much still wanting in the quickSet_patch. A preset storing system… OSC routing… Optimizing MIDI timing… As it is, it also “requires” another fixture of the laptop meeting: The Moderator. Perhaps a path forward is with automating these tasks? Assuming that with use in real-world application, there might be arise more questions than answers…
… but hopefully less Audio Feedback
POST SCRIPT — These somewhat hypnotizing silver sinewaves are the faders on a Midas M32 mixing console. Controlling the M32 - another fixture in the MCT_Portal setup - is another path to reducing feedback. Next year then… Though serving no sensible purpose for any audio - and disregarding the absolute racket emanating from twentyfive hardworking motorized faders - there is a particular satisfaction in sending some MIDI-messages from a MaxMSP_patch to set some things in motion.
… so a huge thanks to Joni Mok for all help, reflections, inspiration, and drive!!
FURTHER READING:
- A fantastic resource on DSP to minimize acoustic feedback:
- https://www.ranecommercial.com/legacy/note158.html
- The TotalMix MIDI-implementation chart:
- http://rmouneyres.free.fr/puredata/MIDI_Assignigation_TotalMix.pdf
- A 5-minute video explaining and demonstrating how to maximize signal quality from any speaking-microphone: