WDM Drivers and ASIO..whats the difference. Aren't they both WDM

Author
Axel
Max Output Level: -86 dBFS
  • Total Posts : 218
  • Joined: 2003/12/15 23:34:03
  • Location: Canada
  • Status: offline
2004/02/19 14:30:24 (permalink)

WDM Drivers and ASIO..whats the difference. Aren't they both WDM

HI,

I read alot of threads talking about the pros and cons of using the WDM Vs Asio drivers. I get problems with both so so far its just dialect.

Now the Delta 1010 has produced WDM drivers version .36.

In the audio/advanced tab of Sonar one selects ASIO to use these WDM drivers, yes? So when one selects the WDM drivers, are we selecting a Microsoft generic WDM? And is there an updated WDM Microsoft driver (I haven't found one and I've looked)?

Cheers, Axel
#1

21 Replies Related Threads

    ohhey
    Max Output Level: 0 dBFS
    • Total Posts : 11676
    • Joined: 2003/11/06 16:24:07
    • Location: Fort Worth Texas USA
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/19 14:49:51 (permalink)
    On mine I never did get the AISO drivers to work very well. The WDM drivers worked fine. I'm using Sonar 2.2 XL with the Audiophile 2496 card. Sonar 2.2 just seems to like WDM drivers.
    #2
    D.Triny
    Max Output Level: -73 dBFS
    • Total Posts : 870
    • Joined: 2003/11/04 10:24:39
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/19 15:03:58 (permalink)
    In the audio/advanced tab of Sonar one selects ASIO to use these WDM drivers, yes? So when one selects the WDM drivers, are we selecting a Microsoft generic WDM? And is there an updated WDM Microsoft driver (I haven't found one and I've looked)?


    you're running into a semantics issue that will probably never be clear, but in the case of Delta 1010, they deliver a "driver" with several "interfaces". In essense these interfaces are alternatives that SONAR can use to stream audio through the Delta.

    Delta supports the following interfaces: MME, GSIF, ASIO and KS all of these are implemented using an approach called the Windows Driver Model (WDM).

    Of these, Sonar can use MME, ASIO and KS. "KS" has become synonymous with "WDM" So when you choose "WDM" you are really choosing "KS" which means "kernel streaming".

    Use the interface that works best for you
    < Message edited by D.Triny -- 2/19/2004 3:06:09 PM >


    -------------
    David Abraham 
    My Awesome Movie

    #3
    michael japan
    Max Output Level: -22.5 dBFS
    • Total Posts : 5252
    • Joined: 2004/01/29 03:01:03
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 01:43:56 (permalink)
    ORIGINAL: Axel

    HI,

    I read alot of threads talking about the pros and cons of using the WDM Vs Asio drivers. I get problems with both so so far its just dialect.

    Now the Delta 1010 has produced WDM drivers version .36.

    In the audio/advanced tab of Sonar one selects ASIO to use these WDM drivers, yes? So when one selects the WDM drivers, are we selecting a Microsoft generic WDM? And is there an updated WDM Microsoft driver (I haven't found one and I've looked)?

    Cheers, Axel


    Here it is Axel-when you select WDM/KS you are selecting the WDM drivers. When you choose ASIO you are using the ASIO drivers. When you leave it at default you are using the Microsoft drivers. I would go with the WDM/KS and work on your sysyem till it works. Sonar was supposedly designed to work best with these. I went through the same issue with my MOTU and there are a couple of threads. If you choose the WDM/KS drivers, go to your aud. ini and change to KsUseInputEvent=1 -this will make latency sloiders (that's Brooklyn for sliders) respond correctly.

    Take care.
    < Message edited by michael japan -- 2/20/2004 1:45:35 AM >
    #4
    woody24
    Max Output Level: -87 dBFS
    • Total Posts : 191
    • Joined: 2004/01/07 16:01:54
    • Location: Out in the woods somewhere in Oregon
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 03:24:53 (permalink)
    yep....wdm works best for me too...delta66/omni
    #5
    Oengus73
    Max Output Level: -87 dBFS
    • Total Posts : 198
    • Joined: 2003/11/18 04:14:02
    • Location: Palermo - Italy - Spaghetti & Mandolino
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 07:58:32 (permalink)
    I think that it all depends on the quality of the sound card driver. For example the WDM driver of my Pulsar it's comparable to a piece of ****, so I use ASIO that work very fine




    PIV 2.6 - Pulsar 2 - A16 ultra - Sonar 3.1.1 SE
    #6
    michael japan
    Max Output Level: -22.5 dBFS
    • Total Posts : 5252
    • Joined: 2004/01/29 03:01:03
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 08:20:38 (permalink)
    I see.
    #7
    Master Chief [Cakewalk]
    Max Output Level: -69 dBFS
    • Total Posts : 1053
    • Joined: 2003/11/03 19:20:44
    • Location: Boston, MA, USA
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 08:33:09 (permalink)
    The difference between various driver models boils down to how the driver's kernel-mode component talks to its user-mode component.

    Quick aside: User-mode is where applications like SONAR, IE, Word, etc. live. Kernel-mode is the lowest level area in the OS, where OS features such as memory protection, thread scheduling, etc. are implemented. As in most modern OS's, you cannot directly access hardware in user-mode; you must be in kernel-mode. A "device driver" is the code whose job it is to live in kernel-mode and talk directly to the hardware.

    Win32 Driver Model (WDM) is very thoroughly designed and documented framework that defines how kernel-mode drivers talk to hardware. Microsoft provides documentation, driver qualification, etc, for WDM drivers. Furthermore, for audio drivers, WDM provides a way for user-mode applications to talk directly to the kernel-mode drivers. This is the Kernel Streaming (KS) interface.

    Thanks to this design, SONAR can implement it's lower edge (the part that talks to the driver) using the KS interface, knowing that any WDM compliant driver will behave in the expected ways.

    By comparison, ASIO is pretty different beast. ASIO defines how an audio application can talk to an audio driver, but doesn't specify *anything* about how the driver is to be implemented. So a host can implement a lower edge that talks ASIO, and can usually get consistent behavior just like KS. But there are some subtle and important differences.

    First, I said with ASIO you can "usually" get consistent behavior. The issue here is that ASIO doesn't have nearly the degree of documentation and support that WDM/KS has. Let's face it, Microsoft is an orders of magnitude bigger company than Steinberg. The documentation team for KS is probably bigger than Steinberg's entire development team.

    For ASIO, the end result is that many driver vendors test ASIO under Cubase, and then declare victory. Because the ASIO specification is unclear in some places, different hosts behave differently, and without a qualification system there's no easy way to ensure consistent behavior.

    The other subtle difference between ASIO and WDM/KS is that ASIO doesn't specify how the kernel-mode piece gets written. A vendor is pretty much left on their own to figure out how to write their .SYS driver.

    Ironically, if an audio hardware vendor wants to write an ASIO driver, they'll probably grab the Windows driver development kit (DDK), and look up the chapter on writing kernel-mode audio drivers. This chapter is all about writing WDM/KS drivers!

    So in many cases, an ASIO driver has a WDM/KS kernel-mode piece at its core. This means that SONAR can automatically talk to the driver through the KS interface. This point is crystallized in the "ASIO4ALL" driver, which takes the low-level KS interface and wraps it in an ASIO interface.
    #8
    Poni
    Max Output Level: -85 dBFS
    • Total Posts : 276
    • Joined: 2003/11/06 17:55:46
    • Location: Toronto
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 08:44:15 (permalink)
    Ron your handy guy to have around, thanks.
    #9
    michael japan
    Max Output Level: -22.5 dBFS
    • Total Posts : 5252
    • Joined: 2004/01/29 03:01:03
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 09:55:59 (permalink)
    Ron, any time you want to come to Japan let me know. I have a room for you in my house. (and lots of room in my studio. <G>
    #10
    cmusicmaker
    Max Output Level: -52 dBFS
    • Total Posts : 2328
    • Joined: 2004/01/18 08:21:47
    • Location: UK
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 12:21:29 (permalink)
    For ASIO, the end result is that many driver vendors test ASIO under Cubase, and then declare victory. Because the ASIO specification is unclear in some places, different hosts behave differently, and without a qualification system there's no easy way to ensure consistent behavior.


    ...this may be true but is there any difference in the sound quality using WDM instead of ASIO in Sonar 3.

    It seems odd to me that using ASIO 4 ALL rules out the need for a dedicated soundcard or mobile audio interface such as the firewire audiophile which I have.Surely there is more to it than just latency when using WDM VS ASIO?

    Anyone?
    #11
    tomhan
    Max Output Level: -87 dBFS
    • Total Posts : 158
    • Joined: 2003/11/22 09:18:32
    • Location: NW Indiana
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 12:50:07 (permalink)
    Axel,

    Glad you brought up this topic! I've been struggeling with this issue for some time. Ron made a good case in pointing out that in all likelyhood WDM will provide a more uniform level of stabilization between various manufacturers because the protocol specifies the handling requirements down to the kernal level. However my problem is this:

    Both my UAD-1 DSP card and my melodyne state that I must use ASIO drivers in order for their products to work properply. In the case of the UAD-1 the statement is to use ASIO as opposed to MME, and their is no mention of WDM as part of the equation. The melodyne is specific about ASIO, period. I currently run with the WDM/KS drivers in Sonar 3.1. I have tried to use ASIO to at least see if I could detect any differences but I have not been able to make ASIO work. If I select ASIO, my ASIO panel button is disabled, the latency slider is gray, and all of I/O dissappear. I am using a MOTU 2408 /w the 324PCI card. In 2.2XL I could use the ASIO drivers without a problem. Any thoughts? Should I worry about the ASIO drivers? If so any suggestions on how to get them to work in 3.1?

    Tom H
    #12
    Master Chief [Cakewalk]
    Max Output Level: -69 dBFS
    • Total Posts : 1053
    • Joined: 2003/11/03 19:20:44
    • Location: Boston, MA, USA
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 12:52:33 (permalink)
    ...this may be true but is there any difference in the sound quality using WDM instead of ASIO in Sonar 3.
    ...
    Surely there is more to it than just latency when using WDM VS ASIO?
    On the same hardware, either driver should sound the same. A driver doesn't color or affect the sound of a signal. It simply moves the sample bits out to the digital to analog converters. In other words, changing the kind of driver doesn't change the kind of hardware, therefore there is no sonic difference.
    #13
    ba_midi
    Max Output Level: 0 dBFS
    • Total Posts : 14061
    • Joined: 2003/11/05 16:58:18
    • Location: NYC
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 13:12:10 (permalink)
    ORIGINAL: Ron Kuper [Cakewalk]

    On the same hardware, either driver should sound the same. A driver doesn't color or affect the sound of a signal. It simply moves the sample bits out to the digital to analog converters. In other words, changing the kind of driver doesn't change the kind of hardware, therefore there is no sonic difference.


    Doesn't that depend on the phase of the moon? <G>

    Billy Arnell (ba-midi)

    http://www.ba-midi.com/music/files
    Music gives me life, so I give life Music.
    Thanks for listening - Let's Dance to the rhythm of life! :)
    #14
    cmusicmaker
    Max Output Level: -52 dBFS
    • Total Posts : 2328
    • Joined: 2004/01/18 08:21:47
    • Location: UK
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 18:44:46 (permalink)
    On the same hardware, either driver should sound the same. A driver doesn't color or affect the sound of a signal. It simply moves the sample bits out to the digital to analog converters. In other words, changing the kind of driver doesn't change the kind of hardware, therefore there is no sonic difference.


    Thanks Ron!!!
    #15
    ebinary
    Max Output Level: -64 dBFS
    • Total Posts : 1336
    • Joined: 2003/12/23 08:58:54
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/20 18:58:34 (permalink)
    Win32 Driver Model (WDM) is very thoroughly designed and documented framework that defines how kernel-mode drivers talk to hardware. Microsoft provides documentation, driver qualification, etc, for WDM drivers. Furthermore, for audio drivers, WDM provides a way for user-mode applications to talk directly to the kernel-mode drivers. This is the Kernel Streaming (KS) interface.


    Ron,

    Unlike ASIO, doesn't WDM rely on a successful dynamic analysis of the soundcard? There are many cases I can recall, where - if you don't change the detected parameters or make a tweak to your AUD.INI file - you won't get the best performance from WDM. In the case of the MOTU 828mkII, for example, I have to set KsUseInputEvent=1, else the WDM latency is about twice of ASIO (tip from Noel). Once set, everything is fine. ASIO doesn't seem to require this potentially problematic step.

    Eric
    #16
    krizrox
    Max Output Level: -35 dBFS
    • Total Posts : 4046
    • Joined: 2003/11/23 09:49:33
    • Location: Elgin, IL
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/21 07:30:33 (permalink)
    Thanks Ron Kuper for explaining the whole ASIO thing! That was very informative. In fact I'll probably print that out and keep it handy for future reference.

    Someone mentioned crappy Pulsar drivers. I have Pulsar too (Creamware).

    I'm using the ASIO drivers that came with Pulsar. For some odd reason, I'm only seeing odd (or left) ASIO channels in Sonar. Creamware admits no fault and neither did Cakewalk when I called their tech support line about it.

    Others have confirmed the problem. It's not stopping me from using the program but I wish someone at Cakewalk would take a look at this. It's kind of annoying to only have half of the ASIO channels available. I always seem to magically pick the wrong combinations of software :-)

    Larry Kriz
    www.LnLRecording.com
    www.myspace.com/lnlrecording

    Sonar PE 8.5, Samplitude Pro 11, Sonic Core Scope Professional/XTC, A16 Ultra AD/DA, Intel DG965RY MOBO, Intel Core 2 Duo E6600 2.4GHz processor, XFX GeForce 7300 GT PCIe video card, Barracuda 750 & 320GB SATA drives, 4GB DDR Ram, Plextor DVD/CD-R burner.
    #17
    Master Chief [Cakewalk]
    Max Output Level: -69 dBFS
    • Total Posts : 1053
    • Joined: 2003/11/03 19:20:44
    • Location: Boston, MA, USA
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/21 12:24:02 (permalink)
    Even though you are only seeing the left channels, in fact SONAR is accessing all of them as a stereo pair. In other words, if you ASIO driver has channels named:
    MyASIO (1)
    MyASIO (2)
    MyASIO (3)
    MyASIO (4)

    SONAR will present them as MyASIO (1) and MyASIO (3). However, (1) will be a stereo pair consisting of 1 and 2, and 3 will consist of 3 and 4.

    I hope this helps.
    #18
    Billy Buck
    Max Output Level: -54 dBFS
    • Total Posts : 2101
    • Joined: 2003/11/05 22:25:15
    • Location: Atlanta, GA.
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/21 14:13:49 (permalink)
    ORIGINAL: tomhan
    Both my UAD-1 DSP card and my melodyne state that I must use ASIO drivers in order for their products to work properply. In the case of the UAD-1 the statement is to use ASIO as opposed to MME, and their is no mention of WDM as part of the equation.



    This is not true. I use my Delta in WDM mode, all the time, when using SONAR 3 and my UAD-1. Both ASIO and WDM modes will work well, in SONAR, when using the UAD-1. The higher latency MME drivers are problematic in most cases though, unless you are using Sound Forge 6/7, where the UAD-1 works great in native MME mode. What is nice about the Delta, is I can use the most suitable driver mode for the host app I am using, SONAR(WDM), ACID/Vegas(ASIO) or Sound Forge 7 (MME). The UAD-1 works in all of them.

    Win 10 Pro x64 | i7 4770k | ASUS Z87 Deluxe/Quad w/ TB 2.0 | 16GB Corsair RAM | Apollo Twin Duo USB | UAD Satellite Octo USB | UAD-2 Quad + UAD-2 Solo PCIe | SONAR Platinum x64 | REAPER 5 x64| TranzPort


    #19
    krizrox
    Max Output Level: -35 dBFS
    • Total Posts : 4046
    • Joined: 2003/11/23 09:49:33
    • Location: Elgin, IL
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/22 09:54:30 (permalink)
    ORIGINAL: Ron Kuper [Cakewalk]

    Even though you are only seeing the left channels, in fact SONAR is accessing all of them as a stereo pair. In other words, if you ASIO driver has channels named:
    MyASIO (1)
    MyASIO (2)
    MyASIO (3)
    MyASIO (4)

    SONAR will present them as MyASIO (1) and MyASIO (3). However, (1) will be a stereo pair consisting of 1 and 2, and 3 will consist of 3 and 4.

    I hope this helps.


    Yeah - that's the story I got originally too. In terms of Creamware's 16-bit ASIO drivers, this is all true. However, with their 24/32 bit ASIO drivers, there is still a problem. Sonar shows only odd numbered channels but ASIO channel 3 in Sonar actually ends up in ASIO channel 2 in Pulsar. Whatever. Seems illogical to me personally but the main thing is that I can get audio in and out. That's what counts. The numbering schema is just an annoyance as far as I'm concerned.

    Larry Kriz
    www.LnLRecording.com
    www.myspace.com/lnlrecording

    Sonar PE 8.5, Samplitude Pro 11, Sonic Core Scope Professional/XTC, A16 Ultra AD/DA, Intel DG965RY MOBO, Intel Core 2 Duo E6600 2.4GHz processor, XFX GeForce 7300 GT PCIe video card, Barracuda 750 & 320GB SATA drives, 4GB DDR Ram, Plextor DVD/CD-R burner.
    #20
    puffer
    Max Output Level: -74 dBFS
    • Total Posts : 836
    • Joined: 2003/11/04 11:17:02
    • Location: Providence
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/22 13:36:28 (permalink)
    ORIGINAL: tomhan

    The melodyne is specific about ASIO, period.
    Tom H


    Tom, are you using Melodyne 2.1. If you are, you *can* use WDM/KS drivers. This from the release notes:

    The MelodyneBridge is now available as a DXi plugin an can be used within Sonar. For now Sonar user should make sure to choose ASIO or WDM/KS as the driver mode and to switch off "Share dirvers with other programs".

    digitallofi.bandcamp.com
    #21
    tomhan
    Max Output Level: -87 dBFS
    • Total Posts : 158
    • Joined: 2003/11/22 09:18:32
    • Location: NW Indiana
    • Status: offline
    RE: WDM Drivers and ASIO..whats the difference. Aren't they both WDM 2004/02/22 19:04:10 (permalink)
    Puffer,

    Thanks for that info. I don't mean to steal Axel's topic, but I have installed the 2.1 update for the Melodyne and it doesn't show up as a DXi plug anywhere on my menu. I think I will try reinstalling again. Anything special about the install?

    Tom H
    #22
    Jump to:
    © 2025 APG vNext Commercial Version 5.1