Csound Csound-dev Csound-tekno Search About

Re: [Csnd] about latency and buffer value

Date2005-09-15 17:59
From"Art Hunkins"
SubjectRe: [Csnd] about latency and buffer value
Have you shut down all background processes/programs possible? (On Windows
ME and lower, this can be everything except Explorer and Systray.)

Also, my experience was that on CsoundAV at least, better latency could be
had with older versions of the audio drivers than with the new (old being
0.431 for AV, newer being 0.432). Why this is true, I do not know - though I
did report this to Gab Maldonado. Both are still available at:
http://sourceforge.net/projects/csoundav
under "View ALL Project Files."

I don't recall whether this observation applies to ASIO or just MME - it
could well be just the latter.

Art Hunkins

----- Original Message -----
From: "sokratesla" 
To: 
Sent: Thursday, September 15, 2005 10:59 AM
Subject: [Csnd] about latency and buffer value


# Hello,
# I'm writing a simple instrument for fun, something like this:

instr 1
amic in
adummy delayr 10
asig deltapi 4
ainput = asig+amic
delayw ainput
out asig+amic
endin

# It uses real-time audio input from a microphone.I start Csound with
this command line:

csound.exe -i adc -o dac -B1024 -b4096

(buffer values smaller than 4096 produce clicks.)
# I'm using Asio4All, and its buffer is set to 512 samples. And I've
built this same instrument with Native Instrument's Reaktor (a moduler
synth with fancy GUI, knobs, wires etc.) Reaktor's latency is equal to
the buffer value in Asio4all. So, this shows that my computer is
strong enough to calculate this real-time data w/o clicks.
# 4096 samples is approximately 100 msec long (which makes realtime
input useless). And if I use stereo output the buffer length and also
the latency doubles.
# So, how must I configure Csound according to decrease the buffer
length? synchronize it with Asio4All? (perhaps I'm using bad
terminology...)
# Thanks!
-ugur guney-
--
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-09-15 18:00
FromIstvan Varga
SubjectRe: [Csnd] about latency and buffer value
The report was not about CsoundAV. Or do you suggest using
that instead ?

Art Hunkins wrote:

> Have you shut down all background processes/programs possible? (On Windows
> ME and lower, this can be everything except Explorer and Systray.)
> 
> Also, my experience was that on CsoundAV at least, better latency could be
> had with older versions of the audio drivers than with the new (old being
> 0.431 for AV, newer being 0.432). Why this is true, I do not know - though I
> did report this to Gab Maldonado. Both are still available at:
> http://sourceforge.net/projects/csoundav
> under "View ALL Project Files."
> 
> I don't recall whether this observation applies to ASIO or just MME - it
> could well be just the latter.
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk