Re: [ecasound] ctrl-select, ecasound-iam

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Sat Sep 22 2007 - 12:57:24 EEST

Hi,

On Mon, 17 Sep 2007, sara lidgey wrote:

> //pink noise eq
> eci_command("cop-add -el:mbeq");
> eci_command("ctrl-add -kos:6,-70,30,1,0.5");
> eci_command("ctrl-add -kos:7,-70,30,.12,0");
> //jack connect and ecasound start stuff here
[...]
> eci_command("c-select pink1");
> eci_command("ctrl-select 6"); //select controller band 6

hmmm, I think that's a bug: "ctrl-select" selects a controller, not a
specific controller parameter. And as you only have two controllers,
selecting controller "6" will lead to undefined behaviour. So what you
want is probably:

eci_command("ctrl-select 2"); //select controller 2
eci_command("ctrlp-select 6"); //select controller param 6 (band selection)

Hopefully that solves your problem!

PS As for the undefined behaviour, ecasound should detect that raise an
    error instead of crashing.

-- 
  links, my public keys, etc at http://eca.cx/kv
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sat Sep 22 16:15:02 2007

This archive was generated by hypermail 2.1.8 : Sat Sep 22 2007 - 16:15:03 EEST