Subject: Re: [ecasound] ecs-files
From: janne halttunen (jhalttun_AT_pp.htv.fi)
Date: Wed Oct 31 2001 - 19:15:44 EET
On Mon, 29 Oct 2001, Kai Vehmanen wrote:
[about map-commands]
> ... commands would return tuples similar to the preset -ppn, -ppd, etc
> options ("map-preset-param-names two_filters" would return
> "lowgain,highgain").
>
> This seems like a good approach, but with one major setback: implementing
> all the above is one hugely boring&repeative task... :(
Such tasks must be avoided at all costs. That's the thing for machine to
do. :)
> Hmm, of course it is possible - although not as elegent - to combine the
> various commands to a single list. Ie. "map-preset-list" would return
> a tuple of strings where one string would contain all the necassary
> information about one preset. Something like:
>
> --cut--
> two_filters 2 lowgain highgain 0 0 1000 - 100 100 - -
> --cut--
>
> The fields are 'preset_name, number_of_params, par1_name, par2_name,
> par1_lbound, par2_lbound, par1_ubound, par2_ubound, par1_default,
> par2_default, par1_flags, par2_flags'.
>
> But while this eases the libecasound implementation, ECI-clients will have
> to do more parsing (and have knowledge of the exact field structure).
As long as all lines are possible to parse with one algorithm, I don't
care, bring it on! (if you deem it plausible)
janne
-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Wed Oct 31 2001 - 18:12:30 EET