[ecasound] Multitrack recording hangs!

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [ecasound] Multitrack recording hangs!
From: Mikko Nummelin (mnummeli_AT_cc.hut.fi)
Date: Wed Jun 26 2002 - 20:01:19 EEST


And some additional information on the problem:

while trying multitrack recording with

# ecasound -d:255 \
     -a:1 -i janet_drums.wav -o /dev/dsp \
     -a:2 -i /dev/dsp -o hei.wav

the following appears on screen before it hangs:

--- clip begins ---

****************************************************************************
* ecasound v2.0.4 (C) 1997-2001 Kai Vehmanen
*
****************************************************************************
(eca-session) Set debug level to: 255
(eca-chainsetup) Interpreting global option "-a:1".
(chain) constuctor: CHAIN
add_new_chains() added chain 1
(eca-chainsetup) Selected chain ids: 1
(eca-chainsetup) Interpreting global option "-i:janet_drums.wav".
(eca-chainsetup) Interpreting global option "-o:/dev/dsp".
(eca-chainsetup) Interpreting global option "-a:2".
(chain) constuctor: CHAIN
add_new_chains() added chain 2
(eca-chainsetup) Selected chain ids: 2
(eca-chainsetup) Interpreting global option "-i:/dev/dsp".
(eca-chainsetup) Interpreting global option "-o:hei.wav".
(eca-chainsetup) Interpreting object option "-a:1".
(eca-chainsetup) Selected chain ids: 1
(eca-chainsetup) Interpreting object option "-i:janet_drums.wav".
(eca-audio-objects) adding file "janet_drums.wav".
Eca-audio-objects/Parsing input
(eca-object-map) match: \.wav$-.wav
(eca-object-factory) Object "-i:janet_drums.wav" created, type "RIFF wave
file". Has 2 parameter(s).
(eca-audio-objects) Assigning file to chains: 1
(eca-chainsetup) Interpreting object option "-o:/dev/dsp".
(eca-audio-objects) adding file "/dev/dsp".
Eca-audio-objects/Parsing output
(eca-object-map) match: /dev/dsp[0-9]*-/dev/dsp
(eca-object-factory) Object "-o:/dev/dsp" created, type "OSS soundcard
device". Has 1 parameter(s).
(eca-chainsetup) Assigning file to chains: 1
(eca-chainsetup) Interpreting object option "-a:2".
(eca-chainsetup) Selected chain ids: 2
(eca-chainsetup) Interpreting object option "-i:/dev/dsp".
(eca-audio-objects) adding file "/dev/dsp".
Eca-audio-objects/Parsing input
(eca-object-map) match: /dev/dsp[0-9]*-/dev/dsp
(eca-object-factory) Object "-i:/dev/dsp" created, type "OSS soundcard
device". Has 1 parameter(s).
(eca-audio-objects) Assigning file to chains: 2
(eca-chainsetup) Interpreting object option "-o:hei.wav".
(eca-audio-objects) adding file "hei.wav".
Eca-audio-objects/Parsing output
(eca-object-map) match: \.wav$-.wav
(eca-object-factory) Object "-o:hei.wav" created, type "RIFF wave file".
Has 2 parameter(s).
(eca-chainsetup) Assigning file to chains: 2
- [ Chainsetup/Enabling audio inputs ]
-------------------------------------
(audioio-types/buffered) janet_drums.wav: Setting buffer size
[1024,44100].
(audioio-types/buffered) janet_drums.wav: Set buffer size [1024].
(program flow: read_riff_header())
(program flow: read_riff_fmt())
(audioio-wave) find_block(): fmt
(program flow: next_riff_block())
AUDIOIO-WAVE: found RIFF-block
(audioio-wave) find_block(): data
(program flow: next_riff_block())
AUDIOIO-WAVE: found RIFF-block
(program flow: next_riff_block())
AUDIOIO-WAVE: found RIFF-block
(audioio-wave) data length 1896448bytes.
(audioio-wave) find_block(): data
(program flow: next_riff_block())
AUDIOIO-WAVE: found RIFF-block
(program flow: next_riff_block())
AUDIOIO-WAVE: found RIFF-block
(eca-audio-objects) Audio object "janet_drums.wav", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(audioio-types/buffered) /dev/dsp: Setting buffer size [1024,44100].
(audioio-types/buffered) /dev/dsp: Set buffer size [1024].
(audioio-oss) Setting OSS fragment size according to buffersize() 1024.
(audioio-oss) Setting OSS fragment size to 4096.
(audioio-oss) set OSS fragment size to (2^x) 12.
(audioio-oss) OSS set to use fragment size of 4096.
(eca-audio-objects) Audio object "/dev/dsp", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup/Enabling audio outputs ]
------------------------------------
(audioio-types/buffered) /dev/dsp: Setting buffer size [1024,44100].
(audioio-types/buffered) /dev/dsp: Set buffer size [1024].

--- clip ends ---

i.e. the chain a:1 seems to do well, but everything which happens with
chain a:2 is those "Set buffer size"-stuffs on the last two rows and then
... nothing. The attempted multitrack recording does not succeed and I
have to press Ctrl-C to exit.

Mikko Nummelin

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Jun 26 2002 - 20:00:23 EEST