Re: [ecasound] Cutting with ecasound?

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

Subject: Re: [ecasound] Cutting with ecasound?
From: Kai Vehmanen (
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

Kai Vehmanen <> -------- CS, University of Turku, Finland
 . - linux audio processing
 . - ambient-idm-rock-... mp3/ra/wav

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

This archive was generated by hypermail 2a24 : Thu Sep 30 1999 - 16:42:30 EEST