Acquiring 24-bit sound with a third-party sound card... truncation issues.

I am having a very strange problem when using LabVIEW to acquire audio
data via the Windows API from a Creative Professional E-MU 1616m sound
card.  The goal is to acquire sound in 24-bit resolution. 
When capturing sound in 16-bit mode (as set in the LabVIEW software),
the E-MU 1616m behaves as expected, with a 105dB SNR and approximately
-130dB noise floor, after dithering.  However, when switching to
24-bit capture mode, a very severe truncation occurs.  This sends
the harmonic distortion and noise through the roof.  After
investigating fairly deeply in our LabVIEW code, I am wondering what
might be the problem.
I have compiled a number of screenshots which showcase the problem in more detail.
Here is a background of the experiment:
For these tests, both the analog and digital audio was generated by an
Audio Precision System Two system, and was passed directly into the
respective line-level or digital audio inputs.  Digital audio was
tested using both coax and optical cable.  In the sound card
control software, the audio was sent directly from the input channel
into the WAVE IN L/R (via the Windows API, I assume).  The
sampling rate for the profile was 96kHz.
The sampling rate in all LabVIEW functions was set to 96kHz.  The sample rate set in the AP Digital generator was 96kHz.
ANALOG 20dBu 96kHz 16bit.jpg
In this test, everything looks fine.  The audio input is at
Full-scale for the E-mu's ADCs.  It is exhibiting expected 16-bit
performance (with dithering).
ANALOG 20dBu 96kHz 24bit.jpg
Now we instruct the driver to capture sound in 24 bits.  Notice
that the noise floor and THD+N go up considerably.  Effects of
truncation become visible on the time-domain display.
ANALOG -20dBu 96kHz 16bit.jpg
Now we drop the input level to -20dBu.   The performance
starts to look a little messy but is still acceptable.  Note,
however, the high peaks on the odd harmonics.
ANALOG -20dBu 96kHz 24bit.jpg
Now we try to capture at 24 bits.  The effects of truncation are extreme at this low signal level.
ANALOG -60dBu 96kHz 16bit.jpg
Now we are at extremely low signal levels.  Individual
quantization levels can be seen on the signal.  Dither is also
present.  Performance is still good.
ANALOG -60dBu 96kHz 24bit.jpg
However, when increasing the resolution to 24 (which should increase
the number of quantization levels), our signal is reduced to a square
wave.  Obviously something is wrong.
DIGITAL 0dB 16bit 96kHz 16bit.jpg
Now on to the digital tests.  We start with full-scale.  We
used an AP outputting a properly dithered 16-bit signal over an optical
cable.  The soundcard is instructed to receive in 16 bit
mode.  It looks good.
DIGITAL 0dB 16bit 96kHz 24bit.jpg
Using the same input, we change to 24 bit receive mode. 
DIGITAL 0dB 24bit 96kHz 16bit.jpg
Now we set up the AP to output a properly dithered 24-bit signal at
full-scale.  The dips in the frequency domain show us that
something is wrong.
DIGITAL 0dB 24bit 96kHz 24bit.jpg
Receiving in 24-bit mode.  Same story as before.
DIGITAL -90dB 16bit 96kHz 16bit.jpg
Now we decrease the amplitude to a low level.  Well-implemented dither is shown here clearly.
DIGITAL -90dB 16bit 96kHz 24bit.jpg
However, receiving in 24-bit mode reduces the signal to a dithered square wave.
DIGITAL -90dB 24bit 96kHz 16bit.jpg
Here is the low-level signal with the AP generating a 24-bit
signal.  Dither is applied, but vanishes in the e-mu 1616m. 
It seems the dither level has been changed.  This is the cause of
our dips from before.
DIGITAL -90dB 24bit 96kHz 24bit.jpg
And finally, we transmit and receive in 24-bits.  Here are the results.
We have achieved similar results using several of your breakout boxes and soundcards.
Attached are all screenshots, as well as the main VI (AP Test.vi) and
the dependent vi's.  There are a number of SVT vi's in the
project, but they can be ignored since they are not related to the
problem.
Any help would be greatly appreciated.
Best Regards,
Brett Gildersleeve
Attachments:
AP Test.zip ‏2381 KB

Hi Brett,
I took a look at the code you attached, but it appears that you may have left out the subvi that actually acquires the sound. When you say Windows API, I assume that you are calling a DLL at some point. How are you configuring the inputs (or what function are you using)? It could be (and this is just a guess) that when you specify 24 bits, the DLL returns the data in a very specific format. If you don't interpret the bits that are returned correctly, LabVIEW may not know what to do with them, as LabVIEW does not have a native 24-bit datatype. If there is any documentation for these function calls, our answer might there...
Just some thoughts -- thanks for posting your solution!
Charlie S.
Visit ni.com/gettingstarted for step-by-step help in setting up your system

Similar Messages

  • A "VZW free msg" says a phone on my account "made a charge with a third-party vendor ... ."

    This evening, I got a "VZW free msg" alerting me that a phone on my account had "made a charge with a third-party vendor." This is the second such message I've gotten this billing period. The messages are identical. My bill for the current billing period won't be ready till this weekend, so I have no way to track down any details. The phone belongs to my wife, and I am absolutely certain that she has not billed anything to her phone. The maddening thing about these messages is they give no details. Who's the third-party vendor? How much was the charge? What did my wife supposedly buy? No such details appear in the text message, and I can't find details anywhere on the My Verizon site.
    This text message does add: "For details or to block such charges: www.verizonwirel." (That's correct as written—I presume some of the message got truncated. That's how the message appeared both times.) However, I can't find any documentation about how to block these charges.
    After I got the first of these messages, I called Verizon's customer service number (800.922.0204). A very pleasant gentleman noted my concern and checked my account. He found no such third-party charges, and he advised me to look carefully at my next bill. I left it at that until I got the second message this evening.
    Speaking of customer service: This evening, I tried twice calling Verizon's customer service number. Both times, the call ended with a recorded voice telling me, "I'm sorry, but your call cannot be processed at this time. Please try your call later." Huh? Why not an offer to leave my number for a call-back? They as much as hung up on me. Not impressed. And, by the way, why doesn't Verizon post their customer service number on the Web site? I had to dig up the number by way of www.gethuman.com.

    Contact us on every page has the number.
    *611 from your device works as well.
    That third party stuff is probably "cramming" Verizon just got hit with this practice which is illegal.
    The law states you can call Verizon up and have them place a permenant block on third party services.
    They cannot refuse and you do not have to pay for them.
    Notify the FCC http://www.FCC.gov or the Federal Trade Commission http://www.FTC.gov
    Good Luck

  • Integration of Oracle Apps with the Third Party Label Printing Software

    Hi,
    I am integrating Oracle Apps R12 with the third party Label Printing Software(Bartender).
    For generating the Label, I have to create the XML file in Oracle Apps and with the help of Oracle WMS i have to transfer the XML file to the TCP/IP Port.
    Third Party Label Printing Software will pick the file from the TCP/IP Port.
    I am not able to find the way to send the XML file generated by the concurrent program to the TCP/IP Port using Oracle WMS.
    Below are the few links for Oracle WMS:
    http://docs.oracle.com/cd/B25284_01/current/acrobat/115wmsug.pdf
    http://docs.oracle.com/cd/E18727_01/doc.121/e13434/T210618T210847.htm#T210864
    Thanks In Advance..

    Hi,
    I assume, i have already setup profile 'WMS: Label Print Mode' to Synchronous - TCP/IP.
    Basically, you dont have to create any concurrent program for XML creation, Oracle will do it for you 'out of box'.
    Also set 'WMS: Synchronous TCP/IP label request delay' to 100, this is a required step, though none of the documentation talks about it.
    if you think that all the requests are not handled correctly, then you will need to increase this delay further.
    Lastly, verify that the printer is setup correctly in Oracle (Place where you specify IP Address and port)
    Thanks,
    Hrishikesh

  • Integration of Oracle Apps with the Third Party Label Printing Software(Bar

    Hi,
    I am integrating Oracle Apps R12 with the third party Label Printing Software(Bartender).
    For generating the Label, I have to create the XML file in Oracle Apps and with the help of Oracle WMS i have to transfer the XML file to the TCP/IP Port.
    Third Party Label Printing Software will pick the file from the TCP/IP Port.
    I am not able to find the way to send the XML file generated by the concurrent program to the TCP/IP Port using Oracle WMS.
    Below are the few links for Oracle WMS:
    http://docs.oracle.com/cd/B25284_01/current/acrobat/115wmsug.pdf
    http://docs.oracle.com/cd/E18727_01/doc.121/e13434/T210618T210847.htm#T210864
    Thanks In Advance..

    Pl do not post duplicates - Integration of Oracle Apps with the Third Party Label Printing Software

  • I received a text from verizon saying i made a charge with a third party  vendor that would show up on by bill

    I got a text from Verizon saying I made a charge with a third party vendor that will be on my verizon bill.  What the heck?????

    Don't be surprised. I received this same notice but verizon has almost no way for a person to find the answer easily. Plus there are several charges on my bill that are on the web page that link to the contract. The links go no where! !
    If they are going to charge something they need to find a way for people to know what is being charged.
    An Iphone6 was upgraded on October 6 under the Edge program. The charge was added almost immediately and appeared on the October 12 billing cycle. The older phone was returned to them under the Verizon Edge plan and it was received by verizon on the 13th of October. That credit has still not been applied to our account. It took them a matter of minutes to charge us for the new IPhone 6 but so far they have not been able to apply the credit for the edge return after eight days. All the links to this transaction are dead and there are no records on the verizon billing site to back up the charges. The message today is the first 'hint' that there may be a charge coming but no mention of the credit.

  • Home Monitoring and Control with a third party also monitoring and controllin​g?

    I was wondering if anyone has tried to install Home Monitoring and Control with a third party monitoring, and or controlling the same devices. I know many systems offer multiple control points such as auxilary control touch screens. Has anyone made this work? I have Z wave devices on my home security system (lighting), and would also like to monitor them via Verizon. Possibly also adding some energy monitoring and control, that is not available via my security company. My security monitoring company provide support through Alarm.com, but has limited energy monitoring to thermostat control and such.
    The only interactive control with my security company is for alarm monitoring and control, with limited lighting control. All of my devices are GE in the wall mounted lighting controls, and I would prefer to pay Verizon the few extra dollars for the additional features VIA the web, rather than pay Verizon. There used to be an energy package, that included the main power panel load and I thing Thermostat, but I believe some of the bundles have been split up.
    There are other options out there now, but I have neen exploring. My GE Switches are from the Lowes Iris system. Much less expensive, and can replace existing wall switches, not like the power cord switches. Plus the store is four miles from my house.

    I started with Verizon home monitoring, but if you read through the threads the service is extremely unreliable, still to this day. I am stillusing it, although I am waiting for a refund on the services that I have used since it is so bad but I bought a MiCasaVerde Vera3 system.  You pay appoximately $300 for the unit and there is no monthly charge and you get all the features plus pretty much unlimited types of z wave devices to use on it. I would seriously consider using that before Verizon.

  • The E-filling interface with a third party

    This is the E-filling  interface with a third party and we dont require  through FTP server ,for  this interface it includes PI content import onto integration repository.
    May I know how to develop these kind of interfaces..

    E-Filing is contry specific, and the content provided by SAP, may be different for each country and in some cases for each year.
    as an example, for E-Filing GB you can see http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13616,
    regards,
    BJagdishwar.

  • Help With Third Party Wireless Cards

    Hello, I am needing some help with third party wireless cards. I have purchased and installed the Linksys WMP54G wireless PCI card into my G4. From what ive seen on the discussions page here, this card is known to work with the G4s in place of the more expensive Airport Extreme card. The only problem is that my G4 doesnt even recognize that the card is in the PCI slot. Ive tryed the other PCI slots and still nothing. Previously, i have tried using a belkin and a d-link card that have been known to work in the G4s as well, and had the same problem. I am 100% sure that the card is seated correctly, and cant think of any other reason why it shouldnt detect that something is in the slot. If anyone can inform me what im doing wrong, or has any info on how to get it working, that would be great. Thanks for your time,
    ~Jared
    Powermac G4   Mac OS X (10.3.8)   2 gb ram, 200 gb hd, dual display

    Yes, i run Digidesigns audio editing program called Protools on my Mac. It uses a PCI card to import mic/line audio signals into the program from the hardware interface. I tried moving the Digidesign card and putting the wireless card in the same slot, and still nothing, although the Digidesign card works fine in the other slots. Each time i moved the Digidesign card, it showed up in the different slots, although the ones that were open did not show up at all. Only the PCI slots that are in use show up in ASP on my machine. I have the FW-800 version of the G4, so im not sure if that makes any difference. I have never erased the PRAM before, would you be able to give me directions on how to do that? Thanks a ton for your help. =)
    Powermac G4   Mac OS X (10.3.8)  

  • Third party Wireless Card on a Power Mac G5, bipro 1.8 GHz

    Does anyone has a definite answer whether or not a TrendNet 403 PI+ PCI card would work or not along with my G5 bipro 1.8 Ghz (beginning 05- OS 10.3.9) ?
    I have the same card installed on my B&W, which is recognized as an airport extreme card.
    Installed into the G5, it is recognized by the hardware :
    System Profiler says on Airport Card "Wireless Card Type : Third Party Wireless Card", but "Current Wireless Network : wireless network not available"
    I have the 5 bars on airport icon, but they are grey
    When I go to Other network and give the name of my network, it keep saying : "There was an error joining the Airport network".
    Any clue why it works into my W&B (G4- 400 Mhz) and not into the G5 ?
    Thank's for any advice
    Luc

    See Luc's new thread "AirPort Extreme Driver Update did not solve my problem".

  • Adding third party video card to P700 - no power connectors? New Power Supply Question...

    Hello,
    I have a new P700 30A90012US with a 650W PSU and that didn't come with a video card. I am planning to use it as a DAW and for occasional gaming via a dual boot.
    I wanted to put in a third party video card like a nVidea 970 but there aren't ANY connectors for video cards that I can find inside. The monitor I have is a 3440x1440 monitor. I have ordered a second 2609 Processor and RAM from Lenovo and have the following questions:
    Once I install the second processor, how much wattage for a video card is available to me?
    I understand that the 3rd party video card isn't supported but how do I attach power to it?
    If it is required that I have to replace the 650 power supply with an 850, does it come with the required cable? I only see a 4 pin connector on the mobo that is unused (and I believe it is for additional hdd)
    I tried searching but I am at a loss.
    Thanks,

    Your config isn't really power hungry (and the 85W CPUs help a lot).  Though technically outside of the official spec, I think you could easily go to a 225W card for graphics if you had the connectors available to support it.  I'll double check the current when I get a chance, but it's probably really low risk if you want to convert your single 6-pin connector to dual 6-pin or a single 8-pin (via a dongle) to get to 225W TDP if you wanted to.
    The PSU design is very modular, but unfortunately it's the aux power cable drops that kept it from being an easy field upgradable part.  I always recommend that people buy the larger PSU if they ever think they'll be doing any upgrades in the future just to make sure they are covered.
    And like I said if you're comfortable working inside the system, it's not impossible to upgrade that cable drop on your own if you want to go up to the 850W.  You'd have to get the cable and PSU, but after that it would require removing the motherboard and PSU, cutting some cable ties and routing the new cable, then getting everything routed correctly such that the motherboard reinstalls cleanly.

  • Third party RAID card. . .

    Greetings. 3 questions (with by-questions added).
    1. I have "read" that you can't use third-party RAID cards with apple HDD or Apple RAID with third-party HDD because of formatting from Apple. Is this true?
    a) I've also "read" that there aren't any third-party RAID cards available for the "new" 2009> Mac Pros. Is this true
    b) If question 'a' is false and it IS possible to install or "adapt" a third-party RAID card to the Pro, how would one go about it?
    2. If I kept the OS running off of the 640GB HDD from apple, would I have to also add ONLY apple HDD?
    3. Is it true that software RAID can only do RAID0 and 1? I'm planning on adding 2x 500GB drives for my video editing needs, which should be plenty to start out with; the answer to the question will help allow me to plan for when I should start saving for a RAID card.
    Of course, I plan on playing and exploring the "RAID world" before actually working with it, but these questions still needed answering.
    Thanks. Links are welcome if they help me understand your answers to my questions!

    If you only want a Video editing striped RAID pair and a System drive:
    a) You do not need the frighteningly expensive RAID card with its 72-hour backup battery.
    b) Apple software RAID (built into Disk Utility) is perfectly adequate for most uses. There is other software you can buy, and it also works just fine.
    c) You can use whatever SATA drives please you, but "Green" drives are for economy, not performance.
    d) You do not need to keep that 640GB as your System Drive. You can replace it with a smaller drive and use the 640GB as half the RAID, if you wish.

  • Third-party networking card in 17" PowerBook?

    I have a 1.67MHz 17" G4 with Airport connection problems. I want to test it by installing a third-party wireless card to see if it's the built-in Airport or the network.
    What will happen if I insert this card? Will it override the built-in Airport? Will it cause problems? The card is a BuffaloTech g54 and I am using it in my 867MHz G4 since Apple didn't make an Airport Extreme card for my model [boo hiss].

    When testing third party wireless cards then you should disable built in airport as some devices can be damaged if they are in too closer proximity to another wireless device.
    The card is a BuffaloTech g54 and I am using it in my 867MHz G4 since Apple didn't make an Airport Extreme card for my model [boo hiss].
    Apple's extreme cards are mini agp cards and there is no physical way they could be fitted to your 867mhz G4 anyway.

  • Third Party WiFi Card

    Hello - I've recently purchased leopard and put it on one computer - it's quite nice and everything worked almost immediately, but I'm very reluctant to put it on my second computer, as the second one has a third party airport card - the driver which powers this 802.11g Proxim card is Orangware v3.3, who say that they will not be supporting Leopard. Does any one know of other drives that may work, or have they tested the Orangware driver? any info will be appreciated....

    The Sonnet card can be used to connect to the same wireless networks as those you would be able to access with the AirPort card.
    (14173)

  • IPod Classic Compatibility With Third-Party Sound Dock

    I own a TEAC Micro HI-FI CD-X10i and I was wondering if it would work with an iPod classic 160GB. I was considering purchasing an iPod classic (I already own a 5.5 G 80GB iPod). Has anybody tried using third-party audio systems with docks? If you have, please respond.

    Hey Funky,
    I have a Bose SoundDock (from 2005) and my Classic-160 works like a charm with it. It also works fine with my Altec-Lansing inMotion portable speaker unit.

  • SAP R/3 integration with (Manual) Third-party App

    Hi All
    I am working on a scenario in which Third Party application has functionality which actually refines & correct the data upto the accuracy of 99%. So for this end-user needs to enter bit of information on their front-end then application will return the data on the basis of that information.
    Now the problem has different parts  -->
    *) If I choose that SAP R/3 will initiate the ( Synchronous ) process then ABAPers raised the concern that they will not be able to display the response data on correct SAP screen also how to actually access the front-end of Third party.
    Third-Party is ready to replace the Front-end with the web-service but then end-user will not be having the functionlity to select different options which is the strong part of Third-party application & also client is not agree to that.
    Do you think I should use BPM in above solution with correlation on some field to identify the SAP screen.
    *) If I choose Third Party application to initiate the ( Asynchronous ) process then again ABAPers raised the concern that how to display it on the correct SAP screen & how they know that data is coming at this point of time & they need to display it. Also Third Party said in this case they don't have expertise to customize their Front-end application & which will lead to additional cost to hire other developers.
    Now can you suggest some good solutions for this kind of scenario in which an application needs the Manual intervention & needs to be integrated with SAP R/3. Also suggest from which direction I should initiate the process.
    Thanks
    - Lalit Chaudhary -

    Matias
    <<<< with front-end do you refer to SAP R/3 ?
    No Matias with Front-End I meant Third Party is providing the web-page where end-user can enter the details & those will be refined & corrected by the Third-Party Application.
    <<<<< Which ways has the Third-Party app to connect with (file, database, jms, etc.).
    Third-Party App is providing Java Classes & Web-Services for integration but we don't want to access them directly, first of all we would like to invoke/access the Front-end application.
    <<<< What is the purpose of this third-party app ? just to receive data, validate it and return it once it is corrected ?
    Actually in this Front-end user can enter the data on given fields & data will be keep on refining while he is entering the more information into that given field. For e.g if the field says "City" & user enters "DE", a drop-down will come with all the cities in the world starting with "DE" like Delhi, Denmark etc.Once all the fields are populated with correct data user will click on "Submit" button which will send the data to SAP R/3 ( which we wish to do ).
    Now in this case when user will click on Submit button ( means Third-party will initiate the process ) & data will be send to XI using ( for e.g ) HTTP sender then ABAPer's raised concern that how they will be able to show it in the right screen without using proper thread ID.
    Pls. let me know in case you require any further information. My problem is this how to relate the Third-Party data with correct screen of SAP.
    Thanks
    - lalit -

Maybe you are looking for

  • How can I convert the variable expression stored as string back to variable expression

    How can I convert the variable expression stored as string back to variable expression? I am storing the expression enterd in the TSExpresssionEditControl as simple string and want to convert back to expression since I want to get the data type of th

  • Has anyone here configured a google calendar component?

    I recently bought a flash AS3 Google Calendar component.  I installed in a Flash site I'm building http://www.droolpigs.com/April5/ It lookd great I'm having no problems with it other than I don't know how to make it work and it came with no instruct

  • Photo Albums Blank When Viewed Online

    I have three websites that have photo albums posted inside them and NONE of the albums are showing they have pictures in them. I can see some of them on the album menu page but not all. And none of the albums have photos inside them. It is just a bla

  • How do I turn off email notification for a shared calendar?

    I've a shared calendar and when someone makes a new appointment I get notified by email. Those emails are annoying and I would like to get just a notification on my iDevice instead of the email. Therefor I logged in to iCloud.com, went to Calendar, S

  • Reg Transcation PU12

    Hi, I have to develop a  PAYROLL interface  for USA, which generates flat file on pc. My client said that the functionality of this transaction PU12 will satisfy their needs , so my job is to  explore what it is doing. I went into this transaction bu