Subject: Re: [ecasound] problems with the loop device and changing formats
From: Jeremy Hall (jhall_AT_uu.net)
Date: Wed Oct 31 2001 - 13:11:38 EET
ok not sure about my ghosting--am still investigating that--but with the
outputting to wav at a rate other than 44100 produces incorrect noises, as
if ecasound is doing some crude rate calculation to 44100 then back to
48000. I had to use sox to give me a valid wav and do the rate
calculation because ecasound just doesn't do it right. Does ecasound use
libsndfile for any of this rate calculation stuff?
In the new year, Kai Vehmanen wrote:
> On Tue, 30 Oct 2001, Jeremy Hall wrote:
> > then I tried outputing to a wav, this caused the wierd noises I was
> > hearing before, so I checked and all the rates and formatting were
> > correct. Next, I tried output to a raw file and that sounded correct.
> Hmm, I found at least one place in the loop-device code which might cause
> trouble when -sr is not 44100... I'll put the change to CVS.
> > I noticed I was hearing a ghost image in the right channel for something
> > based on frames_per_cycle, so I decided to use a larger
> > frames_per_cycle. I used 1024 and thought I noticed it more, so decided
> > to use 4096. well that was fun, except the process hung and given that it
> > was RT priority, it has happily consumed the resources of the computer,
> > somehow both cpu's, I guess some of its multithreaded process got onto
> > both of them
> > and yes I think double buffering was enabled
> This isn't non-realtime operation anymore, right (-> both rt-priority and
> double-buffering are disabled if there are no rt-devices)?
> Were you possibly outputting to an ALSA-device, and if yes, alsa,hw:0 or a
> plugin device? I've noticed weird behaviour with big buffersizes with
> older ALSA 0.9.x/0.6.x versions... Does the same problem occur with
> /dev/dsp emulation?
> Audio software for Linux!
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request_AT_wakkanet.fi>.
-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Wed Oct 31 2001 - 13:06:17 EET