[ecasound] Trying to normalize two channels independently

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

Subject: [ecasound] Trying to normalize two channels independently
From: Andy Loening (loening@ucla.edu)
Date: Wed Oct 18 2000 - 09:10:08 EEST


Hey list members,

Allright, so I have an audience recording where the left channel uses only
about 2/3 of the dynamic range, and the right channel uses less than 1/2.
What I'd like to do is renormalize both channels independently, this is
what I've come up with so far (my problem is I'm getting a core dump in
the last stage, and if there's a simpler way to do this, please tell
me...)

1) split the file into two files, one with the right channel, one with
the left.

ecasound -a:1,2 -i original.wav \
 -a:1 -f:s16_le,1,48000 -o channel_1.wav \
 -a:2 -f:s16_le,1,48000 -o channel_2.wav -erc:2,1

2) run ecanormalize on each of these channel files.

3) combine the two renormalized channel files back into a single file:

ecasound \
 -a:1 -i channel_1.wav \
 -a:2 -i channel_2.wav -erc:1,2 \
 -a:1,2 -f:s16_le,2,48000 -o new.wav

When I try to run this command, however, I get a coredump. The output of
ecasound is as follows:

****************************************************************************
* ecasound v1.8.3d15 (C) 1997-2000 Kai Vehmanen *
****************************************************************************
- [ Chainsetup/Adding chain operator "Channel copy" ] ----------------------
Setting parameters: from-channel = 1.00, to-channel = 2.00
- [ Chainsetup/Enabling audio inputs ] -------------------------------------
(eca-audio-objects) Audio object "channel_1.wav", mode "read".
(audio-io) Format: s16_le, channels 1, srate 48000.
(eca-audio-objects) Audio object "channel_2.wav", mode "read".
(audio-io) Format: s16_le, channels 1, srate 48000.
- [ Chainsetup/Enabling audio outputs ] ------------------------------------
(eca-audio-objects) Audio object "new.wav", mode "read/write".
(audio-io) Format: s16_le, channels 2, srate 48000.
- [ Engine/Init - mixmode "normal passive" ] -------------------------------
Segmentation fault (core dumped)

When I run gdb on the core, the offending line appears to be:
#0 0x40130cef in WAVEFILE::write_samples () from /usr/local/lib/libecasound.so.7

Any suggestions?
        Andy

--
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 : Wed Oct 18 2000 - 09:15:25 EEST