Re: [ecasound] Smooth on-the-fly volume control?

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Tue Sep 11 2007 - 23:22:42 EEST


Julien already gave quite a few options, but just in case you are looking
for something even simpler...

On Mon, 10 Sep 2007, textchimp wrote:

> USB radio device into the Jack server. I'm also using the '-ea:nn' option to
> change the volume of the radio stream, but in order to change the volume on
> the fly (in interactive mode) I seem to have to use the two commands
> 'c-clear' and then 'cs-option -ea:nn', and these commands disconnect the
> chainsetup and stop processing, causing gaps in the audio.

You might be looking for 'cop-set' and other "real-time commands" (see
ecasound-iam(1) man page and the section on real-time commands). In short,
"cop-set XX" will set amplify to XX (and do so without interrupting playback).
Check the man page for more details.

> It also seems worth pointing out that I'm having trouble using the
> daemon-mode of ecasound - I can send commands to the ecasound server via
> telnet but sooner or later a command (one of the two I mentioned above) will
> cause the server to start maxing out the CPU, and the only way to stop it is
> to kill the server process. I'm not sure if this is something the developers
> are already aware of. Maybe it would be a useful feature to be able to
> define a file or files which ecasound could poll for changes and read
> parameter values from, to allow them to be changed on the fly?

Hmm, that is new to me. Sounds like a bug in the polling mechanism... tips
on how to reproduce this with a mimimal ecasound setup would be welcome.

  links, my public keys, etc at
This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
Ecasound-list mailing list
Received on Wed Sep 12 00:15:06 2007

This archive was generated by hypermail 2.1.8 : Wed Sep 12 2007 - 00:15:06 EEST