Subject: Re: [ecasound] 1.6.x development info
From: Kai Vehmanen (email@example.com)
Date: Wed Oct 27 1999 - 02:11:43 EEST
On Sun, 24 Oct 1999 firstname.lastname@example.org wrote:
> > co_add_controller -kos:1,50,500,0.5,0.0
> It could be a good idea to use hyphens instead of underlines in
> command names, so we wouldn't waste those precious microsecs
> pressing shift.
Hey, you have two hands, right? ;) Seriously, I tend to prefer
underlines. In many places, hyphens can't be used to replace
whitespace (C/C++ routine names!). And also, command line arguments
always start with a hyphen... Oh well, I'll think about this. ;)
>> cop_select 2 // - select chainop's 2nd parameter
>> cop_set 500 // - change parameter value to 500
> `cop-set 2, 500' and the like might be nice.
There are two issues involved: 1) Does one line of input equal
to one command? Currently you can "pipe" command-pairs, but I guess
this isn't very useful. 2) Where to draw the line? I might as well
add commands like ...
... which will affect the 2nd chainsetup, its 1st chain, the
4th chain operator, its 2nd parameter and change the value to 500.
Not very handy. ;) But I guess 'cop_set 2,500' would be a reasonable
>> ... and so on. I've tried to use the command-line syntax whenever
>> possible. This should make iactive-mode easier to use.
> How about direct command-line commands? Like just writing -foo:1,2,3
> at the (ecasound) prompt without preceding blah_blah_blah commands.
Well, there's a small logical problem. Users look at ecasound's
manual and there's "cop_remove", "cop_set", "cop_add_controller", but
hey, where's "cop_add"!??! Using "-ea:300", "-ec:300,0.2" directly
would be handy, but not very intuitive. Hmm, but I guess we could
have them both. "cop_add -efl:400" and "-efl:400" would do the same
thing. This sounds like a good compromise.
-- Kai Vehmanen <email@example.com> -------- CS, University of Turku, Finland . http://www.wakkanet.fi/ecasound/ - linux audio processing . http://www.wakkanet.fi/sculpscape/ - ambient-idm-rock-... mp3/ra/wav . http://www.wakkanet.fi/kerttulin_listat/ - music&movies (in Finnish)
This archive was generated by hypermail 2a24 : Wed Oct 27 1999 - 18:17:19 EEST