Ecasound Mastering: Stereo Width and Brickwall Limiter

This guide explains how to build a clean, terminal-based audio mastering chain using Ecasound, focused on stereo field expansion and transparent brickwall limiting. By leveraging LADSPA plugins within Ecasound's command-line interface, you will learn how to route an audio signal, adjust stereo spread without introducing phase issues, and catch digital inter-sample peaks using a fast-lookahead brickwall limiter.

1. Prerequisites and Required LADSPA Plugins

Ecasound relies on LADSPA plugins for complex signal processing. To configure stereo expansion and brickwall limiting, install the Steve Harris (swh-plugins) and TAP (tap-plugins) packages on your system:

This configuration uses two specific plugins:

2. The Mastering Chain Command

Run the complete mastering process directly from the command line using the following syntax:

ecasound -i:mix_premaster.wav \
  -o:master_final.wav \
  -ea:100 \
  -el:matrixSpatialiser,40 \
  -el:fastLookaheadLimiter,-0.3,20,0.1

3. Understanding the Chain Parameters

The signal flow moves linearly through the defined options:

4. Interactive Real-Time Monitoring

To audition changes before rendering to disk, replace the output file flag with your sound card's ALSA driver to monitor in real time:

ecasound -i:mix_premaster.wav -o:alsa -el:matrixSpatialiser,35 -el:fastLookaheadLimiter,-0.5,10,0.08

You can interactively tweak plugin parameters while audio plays by entering interactive mode:

ecasound -c -i:mix_premaster.wav -o:alsa -el:matrixSpatialiser,35 -el:fastLookaheadLimiter,-0.5,10,0.08

Inside the interactive console: