Re: [ecasound] ECI documentation

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] ECI documentation
From: janne halttunen (jhalttun@pp.htv.fi)
Date: Sun Dec 10 2000 - 15:49:12 EET


> Ok, documentation in Documentation/programmers_guide/eci_doc.html (and
> online, see the 'Developers' section) contains brief descriptions of all
> ECI services. I've also added some implementation specific notes and a
> short example for all languages.
>
> The example code can also be found from the './examples' dir. There's also
> another python example, 'normalize.py', which takes a file as a
> command-line argument and normalizes it. There are few known problems
> (when compared to ecanormalize), but anyway, it should help to understand
> how ECI works.
>
> PS The API isn't yet frozen, so comments and questions are welcome!

    Yes, thanks for the effort. One small thingie. (isn't there ever) The introduction of 'command_float_arg' made me realize that also ecasound has to parse it's
input! I think this aspect of passing info with minimal parsing *both ways* should perhaps still need little tuning. Example:

command_with_args('-o', '/dev/dsp')

compared to:
command('-o:/dev/dsp')

So that the 'command_with_args' caller would be responsible for using it with right amount, and correct type of args. (design by contract, was it?)

jsh

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 10 2000 - 15:54:53 EET