Subject: Re: [ecasound] picking up stattic with -b:64
From: Jeremy Hall (jhall@UU.NET )
Date: Mon Jan 24 2000 - 14:37:21 EET
it does a read() on 1024 bytes, then does a write() of the same data. It
is a very simple program, and has no disk access. It then multicasts this
data onto the local network.
In the new year, Kai Vehmanen wrote:
> On Fri, 21 Jan 2000, Jeremy Hall wrote:
> > The following ecasound command picks up some static.
> > ecasound -i /dev/dsp -o stdout -z:db -b:64 | msend 188.8.131.52/24430/7
> > What causes this? -b:128 seems to do better, but I'd like to understand
> > what makes the static.
> You're probably suffering from overruns (ecasound doesn't read data
> from /dev/dsp fast enough). With -b:64, ecasound has only 1.45ms (srate
> 44100) to go through the input-process-output cycle. This really is
> not much (think about harddisk average seek times!) You should expect
> trouble if you go under -b:128. In this case, I suspect msend is not
> able to pipe data fast enough (meaning latency, not transfer rate).
> Kai Vehmanen <email@example.com> -------- CS, University of Turku, Finland
> . http://www.wakkanet.fi/ecasound/ - linux multitrack audio processing
> . http://www.wakkanet.fi/sculpscape/ - ambient-idm-rock-... mp3/ra/wav
This archive was generated by hypermail 2a24 : Mon Jan 24 2000 - 14:38:04 EET