Ecasound Interactive Mode: Modify Master Amplification

This article explains the exact syntax and command sequence used to adjust the master output amplification level within Ecasound Interactive Mode (EIAM). It covers the required chain operators for linear and decibel gain control, as well as the interactive parameter commands needed to modify output volume in real time.

In Ecasound, amplification is handled using the amplify chain operators: -ea (linear amplification percentage) or -eadb (amplification in decibels). To modify the output amplification level while running in interactive mode, you must target the specific amplify chain operator attached to your output chain and update its parameter.

1. Adding an Amplification Operator

If your current setup does not already have an amplify operator attached to the output chain, add one using cop-add:

2. Modifying Amplification in Real Time

If the amplify operator is already present in your chain setup, adjust its level using the copp-set parameter syntax:

  1. Select the target chain (if multiple chains exist):
    c-select <chain-name-or-index>
  2. Select the amplify chain operator by its index:
    cop-select <operator-index>
    (You can verify operator indices using cop-list.)
  3. Select the gain parameter (parameter 1 corresponds to the gain amount):
    copp-select 1
  4. Set the new amplification level using copp-set:
    • For -ea (e.g., setting volume to 150%):
      copp-set 150
    • For -eadb (e.g., cutting volume by -6 dB):
      copp-set -6

Once copp-set is executed, Ecasound immediately updates the master amplification level of the audio stream without interrupting playback or processing.