NU-Tech Forum Index Back to NU-Tech Web Site
NU-Tech Forum
 
 Forum FAQForum FAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
What is the propagation time between HP back to microphone ?

 
Post new topic   Reply to topic    NU-Tech Forum Index -> Troubleshooting
View previous topic :: View next topic  
Author Message
thabuteau



Joined: 11 Dec 2007
Posts: 34

PostPosted: Tue Feb 19, 2008 11:46 am    Post subject: What is the propagation time between HP back to microphone ? Reply with quote

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
View user's profile Send private message
maxBr



Joined: 02 Dec 2005
Posts: 10

PostPosted: Tue Feb 19, 2008 6:15 pm    Post subject: Re: What is the propagation time between HP back to micropho Reply with quote

it's dependent also on driver and hardware, but it should be predictable.
_________________
Max
Back to top
View user's profile Send private message
thabuteau



Joined: 11 Dec 2007
Posts: 34

PostPosted: Tue Feb 19, 2008 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
NUTechAdmin



Joined: 30 Jun 2005
Posts: 21

PostPosted: Wed Feb 20, 2008 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    NU-Tech Forum Index -> Troubleshooting All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group