Re: Ecasound volume/EQ control

Sjoerd Venema <[email protected]> Sun, 29 Apr 2018 21:00:27 +0200
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <CAPzckP6LTB+kh_68EzjX325tBG1V1ZCPJbpoj=d5jY-OvuzOhg@mail.gmail.com>
--===============4056160138790712639==
Content-Type: multipart/alternative; boundary="94eb2c122f84b57ce3056b0159ef"

--94eb2c122f84b57ce3056b0159ef
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Joel,

Thanks, I managed to control the Ecaserver using Python.
This is very good. I love the amount of control you have over the chains.
Brilliant.

kind regards,
Sjoerd Venema

On 19 April 2018 at 20:58, Sjoerd Venema <[email protected]> wrote:

> Hi All,
>
> I am using Ecasound on a Raspberry Pi, which functions as a music player
> in my car and in a boombox.
> It has quite a variety of audio sources, which are all outputting into a
> Jack daemon.
>
> I=E2=80=99ve setup Ecasound to receive input from that Jack daemon, add a=
n active
> filter, to spit out two mono signals, one for the sub and one for the
> woofer, and output to Alsa for playback on the speakers. This is the
> command I use:
> ecasound --server -z:nodb -z:mixmode,sum -a:pre -f:s32_le,2,44100 -i:jack
> -pf:/etc/pre.ecp -o:loop,1 -a:woofer,tweeter -i:loop,1 -a:woofer
> -pf:/etc/woofer.ecp -chorder:1,0 -a:tweeter -pf:/etc/tweeter.ecp
> -chorder:0,2 -a:woofer,tweeter -f:16,4,44100 -o:alsa
>
> So far, so good.
>
> Unfortunately, my Alsa output, a DAC, doesn=E2=80=99t have a volume contr=
ol
> interface. Could (should?) I (ab)use Ecasound as a volume controller and
> as =E2=80=9Csimple consumer=E2=80=9D-style equaliser?
> Or is Ecasound not intended for these things? And if so, would I need a
> (LADSPA?) plugin for this? If so, suggestions welcome ;-)
>
> (Jack doesn't have volume controls (the available plugins are all GUI, no=
t
> suitable for my CLI-based Pi)).
>
> I have Pyecasound running, so ideally I=E2=80=99d control the EQ and Vol =
using the
> ECI commands using Python.
>
> In regards to volume control, I=E2=80=99ve found this message by Luke (
> http://nosignal.fi/ecasound-list/2007/09/0004.html). In a reply Kai
> suggest using cop-set on the amplification level to control volume. But
> (and this illustrates my lack of experience with Eca), cop-set requires a
> chain-op-id and param-id, how do I get these for the amplifier operator? =
Do
> I have to actively add this chain-op to my chain setup, or is it always
> there? Also, in the above setup the -ea switch couldn't be parsed by
> ecasound.
>
> Sorry for the =E2=80=9Cgreen=E2=80=9D question ;-)
>
> Kind regards,
> Sjoerd Venema
>
>
>

--94eb2c122f84b57ce3056b0159ef
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Joel,<div><br></div><div>Thanks, I managed to control t=
he Ecaserver using Python.</div><div>This is very good. I love the amount o=
f control you have over the chains. Brilliant.</div><div><br></div><div>kin=
d regards,<br></div><div>Sjoerd Venema</div></div><div class=3D"gmail_extra=
"><br><div class=3D"gmail_quote">On 19 April 2018 at 20:58, Sjoerd Venema <=
span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div dir=3D"ltr"><div>Hi All,</div><div><br></div><div>I am using Eca=
sound on a Raspberry Pi, which functions as a music player in my car and in=
 a boombox.<br></div><div>It has quite a variety of audio sources, which ar=
e all outputting into a Jack daemon.<br></div><div><br></div><div>I=E2=80=
=99ve setup Ecasound to receive input from that Jack daemon, add an active =
filter, to spit out two mono signals, one for the sub and one for the woofe=
r, and output to Alsa for playback on the speakers. This is the command I u=
se:<br></div><div><font face=3D"monospace, monospace">ecasound --server -z:=
nodb -z:mixmode,sum -a:pre -f:s32_le,2,44100 -i:jack -pf:/etc/pre.ecp -o:lo=
op,1 -a:woofer,tweeter -i:loop,1 -a:woofer -pf:/etc/woofer.ecp -chorder:1,0=
 -a:tweeter -pf:/etc/tweeter.ecp -chorder:0,2 -a:woofer,tweeter -f:16,4,441=
00 -o:alsa</font></div><div><br></div><div>So far, so good.</div><div><br><=
/div><div>

<span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:s=
mall;font-style:normal;font-variant-ligatures:normal;font-variant-caps:norm=
al;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;t=
ext-transform:none;white-space:normal;word-spacing:0px;background-color:rgb=
(255,255,255);text-decoration-style:initial;text-decoration-color:initial;f=
loat:none;display:inline">Unfortunately, my Alsa output, a DAC, doesn=E2=80=
=99t have a volume control interface.</span>=C2=A0<span style=3D"color:rgb(=
34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;fo=
nt-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter=
-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-=
space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decora=
tion-style:initial;text-decoration-color:initial;float:none;display:inline"=
>Could (should?) I (ab)use Ecasound as a=20

<span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:s=
mall;font-style:normal;font-variant-ligatures:normal;font-variant-caps:norm=
al;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;t=
ext-transform:none;white-space:normal;word-spacing:0px;background-color:rgb=
(255,255,255);text-decoration-style:initial;text-decoration-color:initial;f=
loat:none;display:inline">volume controller</span>=C2=A0and as =E2=80=9Csim=
ple consumer=E2=80=9D-style equaliser?</span>

</div><div><span style=3D"text-align:start;text-indent:0px;background-color=
:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initi=
al;float:none;display:inline">Or is Ecasound not intended for these things?=
 And if so, would I need a (LADSPA?) plugin for this? If so, suggestions we=
lcome ;-)<br></span></div><div><span style=3D"text-align:start;text-indent:=
0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-de=
coration-color:initial;float:none;display:inline"><br></span></div><div>(Ja=
ck doesn&#39;t have volume controls (the available plugins are all GUI, not=
 suitable for my CLI-based Pi)).</div><div><br></div><div>I have Pyecasound=
 running, so ideally I=E2=80=99d control the EQ and Vol using the ECI comma=
nds using Python.<br></div><div><br></div><div>In regards to volume control=
, I=E2=80=99ve found this message by Luke (<a href=3D"http://nosignal.fi/ec=
asound-list/2007/09/0004.html" target=3D"_blank">http://nosignal.fi/ecasoun=
d-<wbr>list/2007/09/0004.html</a>). In a reply Kai suggest using cop-set on=
 the amplification level to control volume. But (and this illustrates my la=
ck of experience with Eca), cop-set requires a chain-op-id and param-id, ho=
w do I get these for the amplifier operator? Do I have to actively add this=
 chain-op to my chain setup, or is it always there? Also, in the above setu=
p the -ea switch couldn&#39;t be parsed by ecasound.<br></div><div><br></di=
v><div>Sorry for the =E2=80=9Cgreen=E2=80=9D question ;-)<br></div><div><br=
></div><div>Kind regards,</div><div>Sjoerd Venema</div><div><br></div><div>=
<br></div></div>
</blockquote></div><br></div>

--94eb2c122f84b57ce3056b0159ef--


--===============4056160138790712639==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============4056160138790712639==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list

--===============4056160138790712639==--