| View previous topic :: View next topic |
| Author |
Message |
thabuteau
Joined: 11 Dec 2007 Posts: 34
|
Posted: Tue Feb 19, 2008 11:46 am Post subject: What is the propagation time between HP back to microphone ? |
|
|
I need to have a precise measurement of the delay in this loop :
- Generate Noise -> HP -> ASIO -> Mic -> FileWrite
With my configuration I obtain 70 ms of delay between the time I produced a sound and the time it is recorded to a file.
I am using a Creative X-Fi sound card with its ASIO driver and NuTech is configured to run at 48kHz with 4ms delay and 192 playbuffer size.
* Can the Leaff team tell me if this delay is know and clearly defined ?
* Can everyone using NuTech do the experimentation in order to know if this delay is dependant of the configuration / driver / hardware ...
Thank you in advance to everyone |
|
| Back to top |
|
 |
maxBr
Joined: 02 Dec 2005 Posts: 10
|
Posted: Tue Feb 19, 2008 6:15 pm Post subject: Re: What is the propagation time between HP back to micropho |
|
|
it's dependent also on driver and hardware, but it should be predictable. _________________ Max |
|
| Back to top |
|
 |
thabuteau
Joined: 11 Dec 2007 Posts: 34
|
Posted: Tue Feb 19, 2008 6:30 pm Post subject: |
|
|
I made a NUTS that do need to be configured considering that delay.
If you know a way to estimate this delay automatically, I am definetely interrested.
Thank you for your awnser |
|
| Back to top |
|
 |
NUTechAdmin
Joined: 30 Jun 2005 Posts: 21
|
Posted: Wed Feb 20, 2008 7:30 pm Post subject: |
|
|
You can use the CBFunction with the NUTS_GETLATENCY opcode to get the sound card input /ouput latency.
lParam: 0=to get INPUT latency 1=to get OUTPUT latency
wParam: (LPVOID) TriggerType (i.e. (LPVOID)AUDIOPROC to get sound card latency)
ReturnValue: the return value is the requested latency.
For Example:
AudioInputLatency=CBFunction(this,NUTS_GETLATENCY,0,(LPVOID)AUDIOPROC); |
|
| Back to top |
|
 |
|