Ecasound Continuous Peak Level Monitoring Command
In Ecasound’s Interactive Mode (EIAM), the primary command used to
enable continuous peak and input level monitoring is
start-monitoring (shorthand mon). This article
explains how the start-monitoring command works, how to
configure chain operators like -ev to view real-time peak
amplitudes, and the exact steps to initiate continuous level metering in
a terminal session.
The Monitoring Command:
start-monitoring
In Ecasound Interactive Mode, standard playback or recording is
started with the start command. However, to monitor
incoming audio signals and their peak levels continuously without
committing audio data to disk or write-capable targets, Ecasound
provides:
start-monitoring
You can also use its shorthand equivalent:
mon
When issued, the engine starts processing audio from all configured inputs. Audio flows through the chain setup, calculating dynamic statistics such as peak and RMS levels, while disabling recording to file-based outputs.
Displaying Peak
Levels with the -ev Operator
While start-monitoring activates the engine, displaying
peak amplitude data requires attaching a level-analysis operator to the
active chain. Ecasound uses the -ev (Envelope/Peak Level)
operator to track peak and average amplitude in decibels (dB) and linear
percentages.
To add the peak analyzer directly inside Interactive Mode:
c-add -ev
Alternatively, you can launch Ecasound with the operator already assigned from the command line:
ecasound -c -i alsa,default -evStep-by-Step Workflow in Interactive Mode
Follow these steps to establish a continuous peak monitoring session inside an interactive terminal:
Launch Interactive Mode:
ecasound -cAdd an Audio Input: Specify the audio source (e.g., an ALSA, JACK, or OSS device):
ai-add alsa,defaultAttach the Peak Level Analyzer: Add the peak and envelope volume analysis operator to the current chain:
c-add -evStart Continuous Monitoring: Trigger the monitoring state:
start-monitoringOr:
monStop Monitoring: To halt the level monitoring session at any time, run:
stop
Key Commands Summary
| Command | Shorthand | Description |
|---|---|---|
start-monitoring |
mon |
Starts the engine in non-recording monitoring mode. |
c-add -ev |
— | Attaches the peak amplitude analysis operator to the chain. |
stop |
s |
Stops the engine and halts monitoring. |
status |
st |
Prints the current state and engine statistics. |