Bypass Ecasound Chain Operators in Real Time

Ecasound does not provide a single, dedicated toggle command to bypass chain operators natively during live playback. However, you can effectively achieve real-time bypassing using several practical techniques through the Ecasound Interactive Mode (EIAM) and the Ecasound Control Interface (ECI). These methods include dynamic parameter neutralization, parallel dry/wet chain routing, and runtime operator removal or replacement.

Method 1: Dynamic Parameter Neutralization

The most reliable way to bypass an effect without causing audio dropouts or clicks is to dynamically set its parameters to neutral values using EIAM commands.

  1. Dry/Wet Adjustment: If using LADSPA or LV2 plugins that feature a direct wet/dry mix control, use the cop-set-parameter command to set the wet level to 0% and the dry level to 100%.
  2. Unity Settings: For basic internal filters or processors, set the parameters to inactive values. For example, change an amplifier operator's gain to 1.0 (0 dB), or shift a low-pass filter's cutoff frequency well above the audible human range (e.g., 20,000 Hz).

Commands are issued during playback via the interactive prompt or standard input:

c-select <chain_name>
cop-select <operator_index>
cop-set-parameter <parameter_index> <neutral_value>

Method 2: Parallel Dry/Wet Routing and Chain Muting

You can create an instantaneous bypass switch by splitting the incoming audio across two parallel chains—one dry and one processed—and controlling their states dynamically.

During live playback, toggle the states using the c-muting or c-bypass command structures in EIAM:

# To bypass the effect:
c-select wet_chain
c-mute

# To re-enable the effect:
c-select wet_chain
c-unmute

Using muted parallel chains ensures audio processing pipelines stay initialized, minimizing the risk of buffer under-runs (xruns) or latency shifts during switching.

Method 3: Dynamic Operator Removal and Insertion

Ecasound allows you to add and remove chain operators on the fly via EIAM, although this method carries a minor risk of audio clicks depending on your buffer sizes.

To remove an operator while audio is playing:

c-select <chain_name>
cop-select <operator_index>
cop-remove

To re-enable the operator, re-add it dynamically to the selected chain:

c-select <chain_name>
cop-add -el:ladspa_plugin_name

Summary Recommendation

For live stage performance or real-time monitoring where audio artifacts must be avoided, use dynamic parameter neutralization or parallel chain muting. For general control where brief buffer transitions are acceptable, dynamic removal and addition (cop-remove and cop-add) provides a true bypass that completely frees up processing cycles.