what sort of sound hardwre are you using? does it have ASIO drivers, and if so, are you telling PD to us them? ASIO is pretty much the only way to get truely low latency on pd for windows.
On Mon, 11 Nov 2002, João Miguel Pais wrote:
Hello,
I'm trying to set a live-patch, with adc feed, and I'm coming with some latency questions. It is in the moment at 200ms (quite a lot). The system is xp, 900Mhz, v.35 t26, with lots of libs. Is there any method of reducing the latency, or just use the least memory as possible?
Thank you,
João Miguel Pais
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
Josh .. Yoshi .. Joschi .. http://mp3.com/vitriolix
I am using a SoundMax "integrated digital audio" card. Just tried with -asio, and it says "Error number -9997 occured opening portaudio system Error message: Invalid device ID" I guess that means no asio. Besides that, lowering the buffer only works until 100, less than that is quite shaky (it is already a 50% improvement compared with 200).
Thanks for the help,
João
----- Original Message ----- From: "Josh Steiner" joschi@eds.org To: "João Miguel Pais" jmmmpl@netcabo.pt Cc: "PD list" pd-list@iem.kug.ac.at Sent: Monday, November 11, 2002 5:26 PM Subject: Re: [PD] latency xp
what sort of sound hardwre are you using? does it have ASIO drivers, and if so, are you telling PD to us them? ASIO is pretty much the only way to get truely low latency on pd for windows.
did you try something like "pd -asio -sounddev 1" ?
from /doc/1.manual/x3.htm :
ASIO
As of version 0.35 Pd supports ASIO. Invoke Pd as "pd -asio" and, if needed, specify "-sounddev" (etc.) flags to specify which device (see "the Pd command line" below.) You can also specify a "-blocksize" different from the default (256 samples) and "-audiobuf" in milliseconds. Pd will round this down to a power of two buffers, each of "-blocksize" in sample frames.
Using an RME Hammerfall, and specifying "-audiobuf 5 -blocksize 32" I was able to get about 7 milliseconds of throughput delay (as measured by the latency-measurement patch in 7.stuff/tools.) As always, you can specify "-channels" to any even number up to the maximum (32, I think) or can specify channel count separately for input and output (-inchannels and -outchannels).
-joschi
João Miguel Pais wrote:
I am using a SoundMax "integrated digital audio" card. Just tried with -asio, and it says "Error number -9997 occured opening portaudio system Error message: Invalid device ID" I guess that means no asio. Besides that, lowering the buffer only works until 100, less than that is quite shaky (it is already a 50% improvement compared with 200).
Thanks for the help,
João
----- Original Message ----- From: "Josh Steiner" joschi@eds.org To: "João Miguel Pais" jmmmpl@netcabo.pt Cc: "PD list" pd-list@iem.kug.ac.at Sent: Monday, November 11, 2002 5:26 PM Subject: Re: [PD] latency xp
what sort of sound hardwre are you using? does it have ASIO drivers, and if so, are you telling PD to us them? ASIO is pretty much the only way to get truely low latency on pd for windows.
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
I've got a midiman quattro and I know that the quattro's driver
has to be set to "asio mode" in order for it to work with asio applications. Maybe your device has a similar thing going?
. . David McCallum . Music wants to be free . http://mentalfloss.ca/sintheta/ .
João Miguel Pais wrote:
I am using a SoundMax "integrated digital audio" card. Just tried with -asio, and it says "Error number -9997 occured opening portaudio system Error message: Invalid device ID" I guess that means no asio. Besides that, lowering the buffer only works until 100, less than that is quite shaky (it is already a 50% improvement compared with 200).
Thanks for the help,
João