Subject: Re: [ecasound] Cutting with ecasound?
From: Kai Vehmanen (kaiv@wakkanet.fi)
Date: Thu Sep 30 1999 - 14:56:34 EEST
On Wed, 29 Sep 1999, Jeremy Hall wrote:
>> Seconds are always floating-point values in ecasound...
>> (for instance "setpos 1.5000029" works). Not very
> In my ecasound, setpos works as integers. No matter what I type in there,
> it rou ds up.
Are you sure? :) Although seconds are floating-points internally, when
printing position and length, values are currently rounded.
> well that may be a bit ugly if it works. Also, if you ever start looping,
> you can't turn looping off in 13R6.
Oops, that's a bug.
>> Hmm, why do you want to use sectors?
> because when I am making up files to be sent to cdrecord, they must break
> on sector boundaries. I suppose if I used dd to craft the initial track,
> then I could use ecasound to add additional tracks. As long as the
> ecasound process won't add bits to the length, I'm fine.
Hmm, .cdr format is meant just for this. *.cdr outputs have bigendian
byte-order and are always padded to sectorsize (file_length_in_bytes
modulo 2352 is always 0).
> Is this a hard one to solve, or does it naturally show up with region
> support? Please expound on what region support is.
Well, I'm not sure just yet. There're many ways to do it and I want
to consider all aspects carefully. I don't want ecasound to be
a collection of various hacks, but a well-designed and easily
maintainable program.
One way would be to interpret regions as input/output masks. You could
attach a region to a file-input and in practice the region would act
as a wrapper. From engine's point of view, this region replaces the
input object. Currently this seems to be the best solutions as it's
fairly generic and I wouldn't have to change any engine code. The only
problem is, once again, providing a usable user-interface for this
mechanism.
-- Kai Vehmanen <kaiv@wakkanet.fi> -------- CS, University of Turku, Finland . http://www.wakkanet.fi/ecasound/ - linux audio processing . http://www.wakkanet.fi/sculpscape/ - ambient-idm-rock-... mp3/ra/wav
This archive was generated by hypermail 2a24 : Thu Sep 30 1999 - 16:42:30 EEST