Re: achieving very low latency
Re: achieving very low latency
- Subject: Re: achieving very low latency
- From: Robert Martin <email@hidden>
- Date: Wed, 04 Jul 2012 14:18:29 -0400
Use smaller buffers?
On Jul 4, 2012, at 11:42 AM, Daphne Ippolito wrote:
> In the experiment, a physical pushbutton is pressed (the old system used a
> National Instruments card to record this; I am using an Arduino) that plays
> a sound. I am referring to latency as the time between when the physical
> button is pressed and when the sound outputs from the audio jack. I have
> been measuring this with an oscilloscope.
>
> With Core Audio, I have not been able to get this time gap lower than 30
> ms. I have tested the Arduino independently and it is not contributing more
> than 1 ms of delay.
>
> This is my first time programming with audio, so I am still a bit unclear
> on how it works. I've been told that I can't have more than 10 ms delay
> between when the pushbutton is pressed and when the sound leaves the
> speakers, and preferably less than 1 ms.
>
> Any advice on how I can accomplish this?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden