Re: [ecasound] ecasound syntax

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

Subject: Re: [ecasound] ecasound syntax
From: toby (toby@tobiah.org)
Date: Mon Jul 16 2001 - 07:28:08 EEST


On a Unix system, it may be, that file name extensions
are used to a great degree in order to distinguish file
types to the user, but the inverse ratio of *programs*
actually use the extension to decide the type. They
either use the first four bytes of the file, look at
command line options, or just
trust that the user gave the proper data type. In this
sense, I don't think that examining a file extension (or
any part of it's name) is 'ordinary' to Unix, although
it has been chosen from time to time (gzip and others).

I think that you have a fine point about the syntax
however, and I would not want to change the usage of
ecasound in a way that would affect people using it
now. I agree that it should be some optional add on
argument. Yeah, why not at the end of the -f bit?

> I agree that being able to override the type as defined by the file
> name is a feature that is needed; however it seems to me that the
> ordinary way of selecting the filetype is what 99% of the people will
> want 99% of the time. So it'd be a pity to clutter the -i/-o syntax
> unless it's done in an unobstrusive way. Best ways seem to me to be:
> - Make it an optional argument to -f like in -f:bits_end,ch,sr[,type]
> - Make it an optional argument to -i/-o (after the actual file/pipe
> name) as in -i:stdin,wave
>
> Makes any sense?
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request@wakkanet.fi>.

--
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 : Mon Jul 16 2001 - 07:27:58 EEST