Re: [ecasound] Loops: can someone explain?

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

Subject: Re: [ecasound] Loops: can someone explain?
From: S. Massy (theanaloguekid@tak.net.dhis.org)
Date: Fri Mar 02 2001 - 02:05:01 EET


Here's an example, it should work theoritically even though it obviously
has no practical use...
$ ecasound -a:1 -i:test.wav -o:loop,0 -a:2 -i:loop,0 -o:alsahw,0,0 -c

Well, it doesn't work, the chainsetup is considered valid but then:
- [ Chainsetup/Enabling audio inputs ] -------------------------------------
(eca-audio-objects) Audio object "test.wav", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-audio-objects) Audio object "loop,0", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup/Enabling audio outputs ] ------------------------------------
(eca-audio-objects) Audio object "loop,0", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-audio-objects) Audio object "alsahw", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.

I only get silence...
I do feed input into the loop before using it as output, don't I? So what's
the matter here?

On Fri, 02 Mar 2001, Kai Vehmanen wrote:

> On Wed, 28 Feb 2001, S. Massy wrote:
>
> > Silly me! Thanks for that. Now the cs connects fine but I only get
> > silence, also I noticed something funny:
>
> Be sure to check the signal path you are building. You need to
> run your signal first to loop-output. You then add a loop-device
> with the same id-number as a input device. The loop device always copy
> data from loop-outputs to loop-inputs.
>
> > - [ Chainsetup/Enabling audio inputs ] -------------------------------------
> > (eca-audio-objects) Audio object "test.wav", mode "read".
> [...]
> > - [ Chainsetup/Enabling audio outputs ] ------------------------------------
> > (eca-audio-objects) Audio object "loop,0", mode "read".
> [...]
> > Reading when you're supposed to OUTPUT does indeed produce silence. Why
>
> This does look a bit weird, but doesn't (or at least shouldn't) cause
> problems. Loop-devices which share the same id-number, actually all point
> to the same audio object.
>
> --
> . http://www.eca.cx ... [ audio software for linux ] /\ .
> . http://www.eca.cx/sculpscape [ my armchair-tunes mp3/ra/wav ]
>
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request@wakkanet.fi>.
>

--
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 : Fri Mar 02 2001 - 02:15:57 EET