Acquire from a sound card at 96kHz

I want to use a high quality sound card (sampling rate of 96kHz) to aquire sound data and process it with LabView7. Is it possible? I have seen that sound vi's seems to be limited at 44100 Hz... Thank you in advance!

Hello,
The high value of 44K is only listed as a common rate.  The Help for the function states that "Common rates are 44,100 S/s, 22,050 S/s, and 11,025 S/s." however, this is not to imply that these are the only options available.  The limitations of this VI will be imposed by your sound card and the driver you are using.  I tried using 96000 as a value for my sampling rate in the shipping example (Help >> Find Examples) Continuous Sound Input.vi and it seemed to work fine.  Let me know if you have questions.
One note for future reference,  this post is in the Spanish discussion forums.  You will probably get answers more quickly if you post in the English forums.
Arves
S. Arves S.
National Instruments
Applications Engineer

Similar Messages

  • How can collect the data from laptop sound card and serial port at the same time?

    I'm working on a project, I need to collect the data from laptop sound card, and also from serial port at the same time.
    The attachments are my VIs for sound card and serial port communication, I'm wondering that can I combine these two VIs together? Or can I run these two VI at the same time?
    Thank you!
    Attachments:
    AC_Radar_Receive.vi ‏46 KB
    RadarAudioPlug.vi ‏774 KB

    A smarter way is just to put all your code in the same VI.
    Two parallel loops if rates are different.
    Attachments:
    RadarAudioPlug.vi ‏450 KB

  • Microphone calibratrion for dB reading from pc sound card?

    We are trying to acquire a sound signal from a regular laptop sound card into labview, and obtain a sound intensity reading and a frequency reading. Through FFT we are able to acquire the strongest signal, but the dB readings are all over the map. Using a sound generator we were able to conclude the frequency readings were indeed correct, but the sound intensity was way off, and non-repeatable. So what I'm looking to know is if it is possible to calibrate the mic within labview or to read in a sound level measurement in dB with a regular PC mic and sound card. Even if it was a gain measurement, how do set the baseline for 0 dB? Please help!
    thanks
    Adrien Samson
    Halla Climate Control INC

    A computer sound card is simply a low cost audio input/output. Low cost means that it has usually no calibration options at all, and even if it had, Windows would not know how to access it and even less so allow an application to use it through a known API.
    So you have to do your calibration yourself in software. The way that works is to apply a known signal, measure the sound signal in Volts and then calculate a calibrarion function that translates those Volt into the dB you know you have applied. Additional problems could be that the analog path on your sound card is good enough for the human ear, but totally useless for measurement purposes, since the amplifier transfer function is anything but constant over the frequency range. Also sound measurements with cheap microphones is another big problem, since those microphones are at best a guessimator, but no accurate measurement device.
    Basically you have to do the calibration repeatedly at the same frequency and also at various frequencies too, in order to see if the microhone is actually useful at all (repeatability of calibration value at the same frequency), as well as reasonaby constant over the frequency range for both the mic and the sound card.
    With most standard sound cards none of this is a given, and unless you also use a really good microphone, even the most accurate sound card can't do much for you.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Duriong Voice Chat Voice is not Receiving from Creative Sound Card but going correct

    Hi!
    I have recently faced a problem in my Creative Sounce Card. When i play a sound, no? sound is coming from sound card, No?error message is coming but monitor screen is displaying the sound animations in?Windows media player. I have also tested my speakers & connections and no problem found in it. I also changed the Creative Sound Card Software's settings to default but all in vain. Besides when i?unchecked?the check box ("Only Show Digital Sound") in the Creative Sound Card Software, the analog music is being received, but it is only music without any human voice. The same problem is during voice chat.
    Plz help me in this regard.
    Thanks in advance.

    There is no confusion (anymore) I'm just trying to get the word out that nobody wants to supprt these OEM cards. Not you and not Dell. Does Dell even have the rights to redistibute the apps to work with there versions of your cards? Card works, Drivers Work, No ap
    ps.
    .see my delima? Just a heads up to anyone else with this problem. I've looked to no avail for a updated set of apps for this OEM card. Really kinda anoyed by this. I mean why can't creative support there own card. I know dell bought it, but it is creative and you made money from it support it. Seems pretty cut and dried to me. Digrunteld Axe

  • HP Mini 110-1160SA problem recording sound from sound card

    I am trying to record sound from the sound card itself rather than an external or internal microphone, using a free software called Sonarca Sound Recorder. For example, I play radio from the internet using the BBC Iplayer. I have Windows 7 Starter. When I use the Windows Control Panel > Hardware and Sound > Manage Audio Devices, I get a window called Sound. I press the Recording tab, and get a choice of Internal Microphone, External Microphone, and Stereo Mix. According to my sound recorder software's documentation, I need to select that Stereo Mix, because it means "record whatever the sound card is playing". However, the Stereo Mix recording device, despite having a red tick mark next to it is "Currently Unavailable". How do I make it available?

    to be honest, i am not sure about your problems, normally, you need to set stereo mix as default device, then using recording devices to record sound on windows 7. Since you cannot make it, why not insall a virtual sound device, it works like a real one, install this streaming music recorder on your system, start recording. Just test it out by yourself.

  • Capturing audio from sound card

    Hi everybody, I need to record the output from my sound card, I've investigated and I've just found how record sound from the microphone and I don't need this ..... I hope somebody helps me ...
    thanks

    Dear seniors,
    i have tried to display my audio file as a graph as
    x axis being the Time and the y axis beeing the frequency/pitch.
    look at this post, i have mentioned all here...
    http://forum.java.sun.com/thread.jspa?messageID=3073027&#3073027
    is it possible to display as i desired?
    wht the audio stream has? is it frequency or pitch?...
    pls do give me some tips on that...
    thanx in advance
    -Munas.

  • Can JMF capture audio from sound card?

    I want to know if JMF can capture sound/audio from the sound card. Until now we have been capturing audio from microphone. but is there any possibility of capturing audio from sound card using JMF.
    The audio captured from the sound card is to be streamed using JMF/RTP API.

    Dear seniors,
    i have tried to display my audio file as a graph as
    x axis being the Time and the y axis beeing the frequency/pitch.
    look at this post, i have mentioned all here...
    http://forum.java.sun.com/thread.jspa?messageID=3073027&#3073027
    is it possible to display as i desired?
    wht the audio stream has? is it frequency or pitch?...
    pls do give me some tips on that...
    thanx in advance
    -Munas.

  • Capture audio from sound card

    Is there a way to capture the sound from a sound card, but
    not the microphone?

    Please see this post for response.
    Moved discussion to the Desktop Development forum.
    Chris

  • Stream audio from sound card input thru network

    Good Day:
    I have an application where I need to access instruments at a remote location.  Command/Control of the instruments is not a problem, but I also need to stream the audio present at the remote system's sound card thru the network connection.  Any suggestions on how to accomplish this via LabWindows?
    Thanks in advance for any replies.
    -Ed

    Hi Ed,
    First, I was wondering, how do you get the audio from the sound card?  Is it from a LabWindows program? I've never done that.  Second, I was wondering how do you play the audio on the remote machine?  Is that through a LabWindows program?  I've never done that either.
    But I was wondering if just a remote PC app would do the job.  Like admins use to take over your PC from there desk and fix problems.  I assume they have these that send the audio thru the net as well as the screen.  Then on the radio's PC you just need a LabWindows program to control the radio and some other app to play sound from the sound card input to the local speaker.  Then the remote PC app would magically transfer the screen and audio from the radio PC to the remote PC.
    Otherwise, I can just say that to stream the audio thru the net, after the Radio's PC gets it off the sound card somehow, I would just set up two TCP servers on the remote PC, one for audio and one for the commands/control.  When the remote PC client connects to the audio server the audio server would just start sending audio data to the client.  The client would receive the data and put it in a big buffer to handle network speed variation.  Let the buffer fill up to like a second or more worth of data before having anothe function/thread read the buffer data and give the data to the client PC's sound card.  Big problem is that the client PC's sound card will alway's consume the data at a slightly different speed than the servers sound card produces it.  Different clocks running at slightly different frequencies.  So the client function that reads the audio buffer to give it to the sound card must play games.  If the buffer is shrinking over time then it has to create extra samples to give to the sound card, just duplicating a sample every 100 samples or whatever. If the buffer is growing over time then it throws away a sample every 100 sample or whatever.  So it's kind of a challenge to manage the buffer with the variable speed of the net transfering data and the two different rates of producing and consuming the audio data.
    LabWindows has the TCP server create and client create functions so that's pretty easy.  The harder part is that you probibly want to set the Radio's PC to a fixed IP address so that you can connect to it without worrying about domain names and such.  Then the two TCP ports that the LabWindows uses for command and audio might need to be setup in all the routers to let you establish a connection.  Your IT guy's can answer that.
    PS. you can play around with this suff on one PC by using the RegisterTCPServerEx function and setting the local host address to "localhost", or "127.0.0.1" on one LabWindows project and using the corresponding ConnectToTCpServerEx with "NULL" as the server host name on another LabWindows project.  This creates a virtual TCP connection on the same machine.  This does not duplicate the different audio clock issue I talked about above.

  • How playing the sound from sound card backward?

    hello
    I write the following program for playing backward the sounds from the sound card:
    package sound;
    import java.io.ByteArrayOutputStream;
    import javax.sound.sampled.*;
    public class SoundLimiter {
          //final AudioFormat format = new AudioFormat(44100, 8, 1, true, false);
         final AudioFormat format = AudioSystem.getClip().getFormat();
         final DataLine.Info info = new DataLine.Info(SourceDataLine.class, format, 1);
         final SourceDataLine soundLine = (SourceDataLine) AudioSystem.getLine(info);
          boolean stopped = false;
          int total;
         public SoundLimiter() throws LineUnavailableException {
              TargetDataLine line;
              if (!AudioSystem.isLineSupported(info)) {
                  // Handle the error ...
              // Obtain and open the line.
              try {
                  line = (TargetDataLine) AudioSystem.getLine(info);
                  line.open(format);
                  // playing back audio
                  line.start();
               // Assume that the TargetDataLine, line, has already
               // been obtained and opened.
               ByteArrayOutputStream out  = new ByteArrayOutputStream();
               int numBytesRead;
               byte[] data = new byte[line.getBufferSize() / 5];
               // Begin audio capture.
               line.start();
               soundLine.open(format);
               int totalToRead = data.length;
                  while (total < totalToRead && !stopped){
                      //numBytesRead = stream.read(data, 0, numBytesRead);
                       numBytesRead =  line.read(data, 0, data.length);
                      if (numBytesRead == -1) break;
                      total += numBytesRead;
                      soundLine.write(data, 0,numBytesRead);
                      //(data, 0, numBytesRead)
              } catch (LineUnavailableException ex) {
                  // Handle the error ...
                   ex.getStackTrace();               
         public static void main(String[] args) {
              try {
                   new SoundLimiter();
              } catch (LineUnavailableException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }Using the above code i received the following error:
    Exception in thread "main" java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian, and buffers of 1 to 1 bytes is supported.
         at javax.sound.sampled.AudioSystem.getLine(Unknown Source)
         at sound.SoundLimiter.<init>(SoundLimiter.java:12)
         at sound.SoundLimiter.main(SoundLimiter.java:59)
    Edited by: 982163 on Jan 16, 2013 1:46 AM
    Edited by: 982163 on Jan 16, 2013 2:32 AM

    Well, first of all, use the tags to format your code.
    Second of all, your code looks pretty horrible (fair enough, you posted in New to Java).
    Lastly, the error message seems to be quite clear, you're trying to open a SourceDataLine with an unsupported format.
    Where did you get this code?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can I record what the sound card is outputting?

    I have an app. that I need to be able to capture what the
    sound card is outputting.  That is I want to record anything that plays
    from the sound card.  I don't want to
    have to route the speaker out to the mic in.  Is there a way to
    "capture" the sound as it is being played?
    Thanks
    Bob

    As I understand you would like to record the sound (wave, midi, others...) generated by a third party application without a cable loop between soundcard output and any soundcard input (mic, line, aux).
    Have you already tried to set the record input on the recording control panel of Windows to stereo mix and to use any standard labview vi (eg: snd read waveform) for recording?
    Tomi 
    Attachments:
    Setting of record input.png ‏59 KB

  • Is there a sound card capable of receiving PS3 sound and output it to my PC 7.1 speakers

    I don't necessarily want the analog output from the sound card. If it would be easier to output the sound through the motherboard, than so be it. But at the very least, a sound card is needed for the optical input.
    I emailed Creative about this and this is what they responded with:
    I understand that you would like to know if there is a Creative Sound Card that can decode digital signal from the Playstation 3 via toslink and redirect it out to your surround sound system via analog.
    David, please note that Creative Sound Card cannot decode signal from an AC3 or Compress sound from a source such as Playstation 3.
    Since, for a setup that involves digital connections such as from Playstation 3, the decoding is done by the "AV Recei'ver" instead of the soundcard. Therefore, if you are trying to obtain surround sound for a stereo source file, you will need to use the upmix feature on your receiver such as Dolby ProLogic II, Dolby ProLogic or DTS Neo: 6 to obtain a virtual surround sound.
    It is recommended to connect the Playstation 3 digital output (optical) to an AV receiver and then output it via AV receiver speakers. The decoding will be done on the Playstation 3. By design, our latest Creative Sound Card currently do not have decoding options."
    I understood very little of this message, but it basically told me that it's impossible to connect a PS3 to PC speakers (at least with anything from Creative). I highly doubt this is true. At the very least, there must be other manufacturers that can achieve this. Since my speakers aren't that great, I don't even care about sound quality. All I want it surround sound. As mentioned before, even if the PS3 went into the sound card via optical, but came out of my motherboard's sound, that would be fine. I don't need it to input and output from the same sound card.
    So if anyone has successfully achieved this, please post what sound card you're using and what configuration you have. Thank you

    Okay, I did my best searching and I couldn't find anything that matched all your descriptors. I did do a search on both decoder numbers. SB0256 returned very little results, but with SB0466, I was able to find this ebay listing:
    http://cgi.ebay.com/ws/eBayISAPI.dll...6_fvi%3D&_rdc=
    This card isn't a Champion like you suggested. And with my complete lack of knowledge, I don't know what I/O dri've bay means. But since it is PCI and the decoder matches the number you gave me, this card should be adequete, right?
    Whether it works or not, my search indicated it might be very hard for me to find that card (or any PCI card for that matter). Everything I saw was out of stock. I know this is a forum for Creative, but are there any other manufacturers that will allow me to accomplish my goal, either with current cards, or discontinued cards? Thanks again
    Oh, and I will vote on that thread. I probably won't wait for them to release the decoder since I need it now, but I still believe Creative should be giving the customer what they want

  • How to capture sound by sound card and convert it into frequency value

    As the title mentioned, i wan to detect the frequency value from a sound and find its peak frequency, any solution and suggestion? Thanks alot 1st...

    i tried get the sound from the sound card and display as a graph, but it a bit slow responce. and now viewing example on the FFT example...

  • Multichannel sound card setup

    Hey!
    I am trying to, in some way, enable multichannel output from my sound cards as a part of the default audio output from my MacBook Pro.
    The main goal is to use four of the total 10 outputs i have available.
    At the moment i have this hardware:
    Usb sound card: Native instruments Core 1. 2 outputs, 2 inputs
    Usb sound card: DAC driver, 2 outputs. These are actually a pair of Argon speakers which do have a USB input.
    FireWire: Infrasonic Deux 0448. 4 outputs, 2 inputs.
    Speakers:
    Pair of Yamaha HS-50
    Argon Speakers(not sure of model, it really does not matter)
    Both of the speaker do have analog inputs.
    I have merged all of these sound cards in all different constellations but I am still not able to make my macbook output audio in 4 channels as default. My main idea is to make the speakers work like a pair of stereo speakers. So I have one Yamaha speaker on top of an Argon speaker and they both play the same sound. So what I am really looking for is, not to merge two sound cards but, to merge output channels.
    For example i want to deliver the same "left pan" audio to the hardware output on the Deux soundcard, say channel 1 and 3 is the left ones and 2 and 4 are the right ones. The problem is this: I only get audio from 1,2 or 3,4 not all four at the same time.
    The Sound/Midi settings does not allow me to use quadraphonic output as a tool of delivering sound to all of the speakers. I don't understand this, is the quadraphonic setup only for quadraphonic designed sound only? Cause what i really do need is two pairs of stereo outputs, software wise.
    Does anyone know how I can overcome this problem?
    Any answers that can help me with this are welcome!
    My MacBook Specs:
    MacbookPro late 2011
    Processor  2,2 GHz Intel Core i7
    Memory 8 GB 1333 MHz DDR3
    OS X 10.9.5

    OK, that link did help some.  KDE isn't giving the error any more, but sound still isn't working, sort of.
    I tried mpg321 and xmms on one of my mp3 files that I know works fine, both report that they are playing the file, but nothing comes out of the speakers.  Yes, I've checked the volume on the speakers, they work fine in windows and redhat. 
    Info Center shows Sound Driver:3.8.1 a-980706 (ALSA v0.9 Orc3 emulation code)
    My rc.local looks like:
    modprobe snd-cs4236
    modprobe snd-cs4236-lib
    modprobe snd-pcm-oss
    chown sasdav.users /dev/sound/*
    And my modules.conf has:
    alias sound-slot-0 snd-cs4236
    alias eth0 3c59x
    Obviously I'm missing something, any clue what it might be?

  • Satellite A300 and Win7 - Strange problem with speakers\sound card

    Hello everyone,
    I am working on a - A300-1MO with win 7 ultimate 32 bit
    In the last few days (since I have installed the Bluetooth driver but I dont think it matters), the sound card, and therefore the laptop speakers, switch from being mute to being active, sometimes in high volume.
    It disturbs me a lot because my computer is making sounds while I am in classes (from apps running\web sites etc.). I almost got kicked out of class several times because of it.
    I tried muting the sound card from the windows mixer and from the sound card application, it's no use.
    I will appreciate any help.
    Thanks a bunch
    Roi.

    Hi roibs,
    > It disturbs me a lot because my computer is making sounds while I am in classes (from apps running\web sites etc.). I almost got kicked out of class several times because of it.
    Maybe you should leave your computer at home and not play with it in your class ;)
    Anyway, I would recommend disabling all Windows sounds in control panel. That means no sounds will be played while you navigate through the Internet or use the Explorer.
    Check this!!!

Maybe you are looking for

  • F4 help is not working in Bex

    Hi, In one of our Bex query, we are using a variable(0S_CO_AREA) for characterstics 0CO_AREA. We are facing an issue with F4 help no values are displaying in Production system. But for the same in Dev system working fiine. We have checked the variabl

  • IPlanet Message installation problem

    hi, I am getting the following error while installing iPlanet Message Server. Anyone encoutered this problem please help. ERROR A serious problem occurred while installing the iPlanet Messaging Server Domain Component Tree (msg.ugldap.dctree.inf). It

  • Simple Window Close Script

    I have a simple script to close all the windows of the drives I mount at login, but right now the amount of windows to close is hardcoded in to the script. Is there a way to make this script just close all open finder windows instead of a set amount

  • No iPhone detected on Vista (32bit) + iTunes 9

    Hi all I installed iTunes 9 on Vista (32bit) but it doesn't recognize the iPhone...when plugged in it's not even charging. Any help? THANKS Marketa

  • Backing up different volumes to different disks

    Im going to try to explain this as best that I can. I've got an original 500GB Time Capsule that I would like to serve as the backup disk for my internal hard drive. I've also got an external FireWire drive that stores all of my media connected to my