Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Cleaning up the cm106 audio card DAC output

  1. #1
    Join Date
    Oct 2006
    Location
    Cleveland, Ohio
    Posts
    2,342

    Default Cleaning up the cm106 audio card DAC output

    A little known fact of the inexpensive cm106-based bluebox USB audio cards that some of us use as experimental DACs is that they implement a 'feature' called output sample rate doubling. This feature, on by default, effectively doubles the sample rate output of the card from 48kHz to 96kHz and because it doesn't accept data at 96k, it interpolates the data every other sample to create an artificial 96k output rate. This interpolation could be seen as beneficial, but it's not normally what a laser DAC is supposed to do. In their wisdom, the folks at CMedia allowed a way to turn it off via a driver interface control (that doesn't appear in the control panel)

    Here are the steps:
    Download and decompress SimpleHIDWrite3.zip
    To turn off interpolation and the s/pdif output,
    select the USB audio device "USB Audio" VID 0D8C PID 0006 (Rev 0010 in my case)
    enter report ID 00, data 20 02 30 01 (write 0x3002 to register 1) click 'set report' on XP or 'Write' on win2k.

    to read back to make sure:
    report ID 00, data 30 00 00 01 (read 00 00 register 1) click 'set report' on XP or 'Write' on win2k.
    up should pop up "RD 00 30 02 30" indicating (last 2 bytes) that the register is 0x3002

    This method is very *manual* and I plan to code it automatically into EzAudDac in the future.

    Vector Scope photos made possible by a generous donation from Steve AKA mixedgas. The vectorscope really makes the difference clear. The image from the galvos doesn't reveal much difference.
    Before:


    After:



    To reiterate, I really didn't see much difference in the scanned output before and after, both look great. This tweak won't help your horribly distorted output caused by improper tuning, bad connections, or neglected ground. But it does make things look nicer on the vectorscope
    Enjoy!

  2. #2
    Join Date
    Jul 2008
    Location
    Maryland
    Posts
    1,691

    Default

    NICE ! ! ! ! ! ! ! ! ! im all over it..

    wonder if it will help any with my blanking issues..
    Quis custodiet ipsos custodies?
    Solid State Builders Group

  3. #3
    Join Date
    Jan 2009
    Location
    Hannover, Germany
    Posts
    102

    Default

    well done !

    ...i will spend you a drink if you manage to make a dedicated driver for Soundcard DAC's so only the Showsoft has control

  4. #4
    Join Date
    Oct 2006
    Location
    Cleveland, Ohio
    Posts
    2,342

    Default

    Quote Originally Posted by Xer0 View Post
    well done !

    ...i will spend you a drink if you manage to make a dedicated driver for Soundcard DAC's so only the Showsoft has control
    Haha, thanks. If you put your sound card DAC as secondary or tertiary, etc. (not default) audio device in windows sound control panel, then no other software will try to access it, only the EzAudDac driver will after you configure it to use the secondary card in the EzAudDac.ini file.

  5. #5
    Join Date
    Oct 2006
    Location
    Central Florida
    Posts
    7,067

    Wink

    Quote Originally Posted by drlava View Post
    Haha, thanks. If you put your sound card DAC as secondary or tertiary, etc. (not default) audio device in windows sound control panel, then no other software will try to access it, only the EzAudDac driver will after you configure it to use the secondary card in the EzAudDac.ini file.
    That sounds like the script for a video tutorial...
    Love, peace, and grease,

    allthat... aka: aaron@pangolin

  6. #6
    Join Date
    Jan 2009
    Location
    Hannover, Germany
    Posts
    102

    Default

    Quote Originally Posted by drlava View Post
    Haha, thanks. If you put your sound card DAC as secondary or tertiary, etc. (not default) audio device in windows sound control panel, then no other software will try to access it, only the EzAudDac driver will after you configure it to use the secondary card in the EzAudDac.ini file.
    yeah... i know... but... i mean... wouldnt it be great to make the soundcard no soundcard anymore? without the need to change its priority, just plug-and-its-a-real-USB-dac-device anywhere on any pc

  7. #7
    Join Date
    Oct 2006
    Location
    Cleveland, Ohio
    Posts
    2,342

    Default

    Yes, but once you set the default order once, it remembers it for future plug-ins in that port.
    I doubt what you describe will happen. If one were to expend the effort to write a new kernel-mode driver for an un-documented chip then they might as well make it easy on themselves and drop the sound card chip altogether and instead interface to a microcontroller DAC.. and then charge $300 for it etc etc. So there would be no economic benefit over existing solutions.

  8. #8
    Join Date
    Jan 2009
    Location
    Hannover, Germany
    Posts
    102

    Default

    Quote Originally Posted by drlava View Post
    Yes, but once you set the default order once, it remembers it for future plug-ins in that port.
    so when i plug it in all 4 ports of my laptop and det it to secondary; next times i can plug it wherever in which port i want without resetting?

  9. #9
    Join Date
    Oct 2006
    Location
    Cleveland, Ohio
    Posts
    2,342

    Default

    Yep.. at least that's how my system has worked.

  10. #10
    Join Date
    Jul 2008
    Location
    Maryland
    Posts
    1,691

    Default

    bad link
    http://hacylon.case.edu/laser/EzAudD...eHIDWrite3.zip

    ----------------\

    nvm your site is down...


    ---------------\

    Its also available here
    http://www.lvr.com/files/SimpleHIDWrite3.zip
    Quis custodiet ipsos custodies?
    Solid State Builders Group

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •