Re: [ecasound] Can I cut a wav file at file size?

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Sat Dec 17 2005 - 12:40:24 EET

Hello,

sorry for the late reply.

On Mon, 28 Nov 2005, jj@email-addr-hidden wrote:

> $ mpg123 -s original.mp3 > original.raw
> $ split -b 10m original.raw split_original.raw
> $ mv split_original.rawaa split_original.raw
> $ ecaconvert .wav split_original.raw
[...]
> OK?

Yep, that'll work. One thing to watch out for is the audio format.
Raw-files do not contain the necessary header that contain information
about the format used, so ecaconvert has to assume the params (16bit,
stereo, 44100). If this is not the case, you'll have to convert with:

ecasound -f:bits,channels,srate -i split_original.raw -o split_original.wav

See ecasound(1) for more info about -f.

--
  links, my public keys, etc at http://eca.cx/kv
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sat Dec 17 16:15:05 2005

This archive was generated by hypermail 2.1.8 : Sat Dec 17 2005 - 16:15:05 EET