[wdmaudiodev] Re: Real Time Processing

  • From: "Bert Schiettecatte" <bert@xxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 2 Mar 2005 23:41:25 +0100

Hi Pieterjan,

From your name I can guess you are from the Netherlands or Belgium? Am I
correct? :-)

Anyway, you might want to look into the ASIO drivers and the gigasampler
interface (GSIF). 
Those standards came into existance when the professional audio industry
was trying to 
Minimize the latency of sound recording/playback on Windows XP. These
days, all professional
Audio interfaces (especially multichannel) use ASIO as a primary
interface to record/play 
Back audio. WDM is only there for the sake of compatibility with
non-ASIO applications.

I hope this helps. Feel free to contact me if you need more information.


Best,

Bert Schiettecatte
PERCUSSA-Creative Technology Providers

Tel/fax: +32-16-440215
Gsm: +32-477-931533
Email: bert@xxxxxxxxxxxx
WWW: http://www.percussa.com/
 

> -----Original Message-----
> From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
> [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of 
> Pieterjan Demarcke
> Sent: woensdag 2 maart 2005 23:20
> To: wdmaudiodev@xxxxxxxxxxxxx
> Subject: [wdmaudiodev] Real Time Processing
> 
> 
> Hello,
> 
> in search of information about audio drivers i came across 
> this discussion group. I have a specific problem and i don't 
> know what's exactly possible, because i don't have the 
> expertise. The situation is as follows: for an engineering 
> project i have to write software that controls a self-made 
> analog device. The controlled variable is the output of 
> -let's say- a sensor which is, with the help of some 
> electronics, connected to the sound card line-in. That signal 
> must then be rescaled and fed back to the line-out for 
> controlling purposes (btw. we have to use WinXP). This 
> problem has to be solved this way, as we can't make use of a 
> microprocessor. My question to you is now: how exactly can i 
> get as less as latency as possible, so that the delay between 
> input and output is minimal? I already 'studied' the WDM 
> driver architecture and the best solution i have found so far 
> is the directks example on this site. But i am convinced it 
> could be even faster. I don't need any buffering as the 
> processing must happen in real time, sample by sample: the 
> next sample of the signal should be taken AFTER the previous 
> one has finished processing and was already sent back to the 
> external device. I also need an interface to a program in 
> user mode which stores the original sample in a file. I don't 
> need the soundcard to do anything else so I thought the best 
> solution was to replace the vendor driver by my own, but as I 
> don't know how i should start with that, I'm also open to 
> other ideas. A certain latency between input and output is 
> allowed, let's say max 5 ms. Is this possible and if so, what 
> is the best way to approach this problem? Any suggestions are 
> welcome. Anyway thank you for your time, I really appreciate it.
> 
> with kind regards,
> Pieterjan Demarcke
> ******************
> 
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    
> mailto:wdmaudiodev-request@xxxxxxxxxxxxx?> subject=subscribe
> 
> Unsubscribe:  
> mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
> 
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.de/
> 
> 
> 

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts: