Re: [ecasound] problems with adding an effect while playing to a device

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

Subject: Re: [ecasound] problems with adding an effect while playing to a device
From: Jeremy Hall (jhall@UU.NET )
Date: Wed Jan 12 2000 - 06:25:38 EET


This seems to work ok when feeding from a file like a wav, but it is not
happy when working from mpg123.

_J

In the new year, Jeremy Hall wrote:
> Hello,
>
> I am having trouble sending signal to a real device when in the middle
> adding -etf
>
> ecasound -a:1,2 -i /pongo/tr2/mp3/SLIDERS.mp3 -a:1 -o /dev/dsp1 -a:2 -o
> /tmp/out.raw -c
> ****************************************************************************
> * ecasound v1.6.10d10 (C) 1997-2000 Kai Vehmanen
> *
> ****************************************************************************
>
> (eca-session) Interactive mode enabled.
> - [ Eca-audio-objects/Adding a new input ]
> ---------------------------------
> (eca-audio-objects) Added audio object "/pongo/tr2/mp3/SLIDERS.mp3", mode
> "read".
> (audio-io) Format s16_le, channels 2, srate 44100.
> (eca-chainsetup) Assigning file to chains: 1 2
> - [ Eca-audio-objects/Adding a new output ]
> --------------------------------
> (eca-audio-objects) Added audio object "/dev/dsp1", mode "write".
> (audio-io) Format s16_le, channels 2, srate 44100.
> (eca-chainsetup) Assigning file to chains: 1
> - [ Eca-audio-objects/Adding a new output ]
> --------------------------------
> (eca-audio-objects) Added audio object "/tmp/out.raw", mode "read/write".
> (audio-io) Format s16_le, channels 2, srate 44100.
> (eca-chainsetup) Assigning file to chains: 2
> ecasound ('h' for help)> debug 10
> Debug level set to 10.
> ecasound ('h' for help)> t
> - [ Controller/Processing started ]
> ----------------------------------------
> ecasound ('h' for help)> DEBUG: (eca-controller) Engine-thread pid: 1453
> DEBUG: Created a sample_buffer with 2 channels that are 1024 samples long.
> - [ Engine/Initializing ]
> --------------------------------------------------
> DEBUG: Input "/pongo/tr2/mp3/SLIDERS.mp3: start position 0, number of
> connected chain 2 .
>
> DEBUG: (audioio-types/buffered) Setting buffer size [1024,44100].
> DEBUG: (audioio-types/buffered) Set buffer size [1024].
> DEBUG: Output "/dev/dsp1: start position 0, number of connected chain 1 .
>
> DEBUG: (audioio-types/buffered) Setting buffer size [1024,44100].
> DEBUG: (audioio-types/buffered) Set buffer size [1024].
> DEBUG: Output "/tmp/out.raw: start position 0, number of connected chain 1
> .
>
> DEBUG: (audioio-types/buffered) Setting buffer size [1024,44100].
> DEBUG: (audioio-types/buffered) Set buffer size [1024].
> - [ Engine/Mixmode "normal iactive" selected ]
> -----------------------------
> DEBUG: (eca-main) ecasound_queue: cmds available
> DEBUG: (eca-main) Start
> DEBUG: mpg123 -b -q -s -k 0 /pongo/tr2/mp3/SLIDERS.mp3
> (audioio-mp3) Forked mpg123-child with pid 1455.
> DEBUG: (audioio-oss) Audio device "/dev/dsp1" started.
> -etf:15
> (eca-controller) Warning! This operation requires that chainsetup is
> disconnected. Temporarily disconnecting...
> - [ Controller/Processing stopped ]
> ----------------------------------------
> DEBUG: (eca-main) ecasound_queue: cmds available
> DEBUG: (eca-main) Stop
> DEBUG: (audioio-oss) Audio device "/dev/dsp1" disabled.
> DEBUG: (eca-main) ecasound_queue: cmds available
> DEBUG: (eca-main) ecasound_queue: exit!
> DEBUG: ECA_PROCESSOR destructor!
> - [ Engine/Exiting ]
> -------------------------------------------------------
> (eca-controller) Disconnecting chainsetup: "command-line-setup".
> DEBUG: Disconnecting selected setup from engine.
> DEBUG: Closing chainsetup "command-line-setup"
> DEBUG: (eca-chainsetup) Closing audio device/file
> "/pongo/tr2/mp3/SLIDERS.mp3".
> DEBUG: (audioio-mp3) Killing mpg123-child with pid 1455.
> DEBUG: (eca-chainsetup) Closing audio device/file "/dev/dsp1".
> DEBUG: (eca-chainsetup) Closing audio device/file "/tmp/out.raw".
> DEBUG: (eca-chainsetup) Interpreting general option "-etf:15".
> DEBUG: (eca-chainsetup) Interpreting chain option "-etf:15".
> DEBUG: (eca-chainsetup) Interpreting setup, with args "-etf:15", "".
> DEBUG: (eca-audio-objects) adding file "15".
> - [ Chainsetup/Adding chain operator "Fake stereo" ]
> -----------------------
> Setting parameters: delay_time = 15.00
> DEBUG: Adding chainop to chain 2.
> (eca-oss): Device or resource busy
> ---
> ERROR: [AUDIOIO-OSS] : "unable to open OSS-device to O_WRONLY, /dev/dsp1."
>
> ecasound ('h' for help)>
>
> _J
>


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

This archive was generated by hypermail 2a24 : Wed Jan 12 2000 - 06:26:14 EET