[ecasound] Re: splitting files into multiples of 2352 bytes

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

Subject: [ecasound] Re: splitting files into multiples of 2352 bytes
From: Frank Meurer (Frank.Meurer@gmd.de)
Date: Sat Sep 16 2000 - 12:34:53 EEST


On Fri, 15 Sep 2000, S. Massy wrote:

> You want to use the -y and -t options to split your big file; it
> requires you to find out how long you want each track to be before
> going ahead. Suppose a 15 minutes recording that you would want to
> divide into three 5 minutes tracks:
> # ecasound -b:512 -c -f:16,2,44100 \
> -a:1,2,3 -i:whole.wav \
> -a:1 -t:300 -o:track1.wav \
> -a:2 -y:301 -t:300 -o:track2.wav \
> -a:3 -y:601 -o:track3.wav

First: Sorry for forgetting the subject (I used one *now*)

Second:
Thanks for your help, it's another nice example like the one in
examples.html of the docs.
Unfortunately the length of the splitted files don't have a multiple of
2352 bytes for burning audio CD's.

I found a solution by converting the single big wave file with
ecasound into a cdr file (without the 44 bytes header) and splitting it up
with "dd bs=2352 skip=... count=..."
Splitting the big cdr file into smaller cdr files causes the summary of
the lengths of the single files to be bigger than the length of the big
file! (Maybe the first/last sector is repeated??)

I guess that there must be a more simple solution.

Thanks,
Frank

-------------------------------------------------------------------------
"'Well,' the man said, 'the job description is General
Operative(Dilapidations).'"
Tom Holt, Faust Among Equals, p.266

Sending unsolicited commercial email to this address may be a violation
of the Washington State Consumer Protection Act, chapter 19.86 RCW.
Das Verschicken unverlangter kommerzieller email an diese Adresse ist
verboten (LG Traunstein, 2 HK O 3755/97 vom 14.10.1997, CR 1998, 171f).

(Frank Meurer, <meurer@gmx.de>, PGP ID: 0x5E756DA8)

--
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 : Sat Sep 16 2000 - 12:59:33 EEST