Acquire/manipulate audio data from internet stream

I want to acquire the audio data from an audio stream (i.e. pandora, youtube, etc.) from the internet.  If I can get this data and be able to play it/graph it/etc in Labview, I will be pleased.  However, I'm not sure if this is even possible not knowing the details behind how packets are built and transmitted over the internet. 
The closest I've come is using the acquire_sound.vi and taking the data from the sound card; albeit, it's very noisy. 
For fun though, I'd like to do something directly from the audio stream itself (perhaps building a dll?) to gain a better understanding and experience. 
Any advice is greatly appreciated!

Dnor - 
As far as I am aware there is a specific data time for audio streaming online, and it's something specific you would likely need to know on a low level to communicate/copy to.  Although it wouldn't be real-time, you can run a Windows audio recording program like TotalRecorder which should save and convert the audio output to .wav.  Then run a LabVIEW vi to read the wave file, which you could graph.  There is a KnowledgeBase on setting up the read from .wav file here if you'd like to go that route:  http://digital.ni.com/public.nsf/allkb/1BE60DBBFA22ACC186256DFB000B8464.  
Regards,
Ben N.
Applications Engineering
ni.com/support

Similar Messages

  • How to mix audio data from multiple streams without increasing in size?

    For example, two clients use JMF to capture audio in linear format (content type is raw)and both send the captured data to a third client where it performs mixing to generate one data stream. Suppose each source data size is S, the mixed stream (using JMF "merge") size is S+S which is not what I want. Is there any function to generte mixed stream with size S? I don't need to the capability to reverse mixed stream back to two individual source streams.
    Thanks.

    S+S, ahh an academic.
    This is actually a forest-trees issue here.
    What your doing is appending the files, which would result in a size of 2S. What you want is somthing of size S. To do this you would need a Normilized merge. I say normalized merge because thats going to give you the best result while still avoiding out of range values.
    This is easy enough to by hand if both streams S1 and S2 are of the same frequency. If they are not the same frequency, the result will be size of the larger file when convereted to whatever uniformfrequency.

  • How i can transfer XML data from internet to SAP R/3?

    Hi all,
    I have an issue to catch data from internet (perticular website) in xml format and i want to update that xml data format into SAP R/3 database. so how i can do that?
    Can I do directly or i should use any third party tools?

    Hi Deepak,
        Refer these two weblogs,
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    I hope, this will solve your problem
    Regards,
    Deviprasad

  • How i can Catch perticular data from internet and update SAP R/3 data?

    Hi All,
    I want to catch data from internet and want to update those data into SAP R/3 database. So how i can catch those data ?. what will be format of data to update SAP R/3 database?

    Hi,
    You need to create your own BSP pages which would be displayed on internet/HTML.
    Transaction SE80 => Select BSP application.
    Best regards,
    Prashant

  • Reading data from input stream on unix

    I have a program that reads data from input stream from the socket. If the data is over 1500 bytes it is sent in multiple TCP packets. Whats weird is, if I run the program in windows environment it waits till it receives all the packets but when I run the same program in unix environment it only reads the first packet and go further without waiting for all the TCP packets!!
    The line that reads from input stream is
    datalen = inStr.read(byteBuffer);is there anyway I can make it wait till it receives all the packets on unix system? I do not understand why it works fine for windows in this case but not for unix.
    I'll appreciate any help..
    Thanks

    Try using a DataInputStream with the readfully() method.

  • Acquiring High resolution data from usb mouse movement

    Is there a way of acquiring high resolution data from the movement of a usb mouse?  I have a NI PCI 6221 daq card to use. I have a Pentium 4 PC with 1 Gb of RAM. I need to get the position, velocity and acceleration of the mouse.
    Is there a way to do it with the above hardware.
    Thanks in advance

    I don't see how you could use a PCI-6221 to get high resolution mouse movement measurements. The PCI-6221 can acquire voltages at up to 250kS/s, but what voltage would you measure? It could also read in digital data at 1MHz, but you would have to be able to understand the USB communication protocol your mouse uses, and I doubt that your mouse vendor will give out that information. You might be able to take your mouse apart and hook up leads to the sensors around the trackball and do a sort of quadrature encoder application, but there's no guarantee we're dealing with TTL digital signals here (you might even be using an optical mouse!).
    Your best option - and I have no idea how good this option is - is to use the driver already installed for your usb mouse. What software application are you going to use to program your application that will measure the mouse movements?
    If you would consider using LabVIEW, you could set up an event structure to capture mouse movements across the front panel. Each event registered includes a timestamp from the CPU's millisecond clock as well as the coordinates of the mouse. If you stored up a buffer of previous mouse positions and times, you could infer a velocity, perhaps with the help of interpolation functions.
    All of this would have somewhere on the level of millisecond timing accuracy. Were you envisioning something else?
    Jarrod S.
    National Instruments

  • How to extract data from Internet explorer & active MS office applications?

    Hi all,
    Need advice on "How to extract data from Internet explorer & active MS office applications"?
    Thanks in advance
    regards
    DIlip

    If ths search list isn't what you want, just search again:
    http://www.google.com/search?q=get+excel+data+in+java

  • Adobe 9.5.5 can't retrieve any data from internet

    I can't work with Adobe 9.5.5 with some specific PDF files, which must retrieve data from internet in order to proceed further. I tried everything I could find about this, but nothing seems to work in Ubuntu 14.04.
    In order to complete the application files I have to find another computer with Windows installed and all I need is just 2 clicks...
    Can someone help, please!
    Thanks!

    If you have an active link to that online PDF, I suggest that you download it to your local disk, then handle it from there.

  • "Could not get the audio data from the file" error

    Hi
    I get a lot of "Could not get the audio data from the file" errors when opening a project. Sometimes they crash Premiere Pro CC 7.01 (Mac). But if not Premiere works as usual, with the audio.
    I tried to convert the audio files (coming from Audition) from 32 to 16 bit. It worked while opening a project once, but not the following times.
    Where can it come from ?
    Edit: I also get this error when importing audio: "Error: Premiere Pro version 7.0 is not compatible with the Premiere Pro Plug-in version 5.7.4". Maybe it is connected.

    Got it! It was the Smartsound plugin making trouble. Got rid of it and no more errors.

  • I have followed "Importing favorites and other data from Internet Explorer" but although I've worked through the dtages and it says it has worked, the expected internet explorer folder does not appear in bookmarks

    I have installed Firefox today, and like the look of and the speed. But I have an extensive set of foldersin my IE Favorites and remebered passwords I don't want to have to reimput.
    I have now tried twice folowing "Importing favorites and other data from Internet Explorer " which seemed to go smoothly, once with IE open and the other with it closed, and closed down my PC between each attempted installation. Any ideas?

    It usually works better if you export the Favorites in IE to an HTML file and import that file in the Firefox Bookmarks Manager.
    * Export the favorites in IE to an HTML file (bookmarks.html): File > Import and Export
    * Import the HTML file in Firefox: Bookmarks > Organize Bookmarks > Import & Backup > Import HTML: From File
    See also http://kb.mozillazine.org/Import_bookmarks ("Import from another browser" and "Import from file")

  • Recovering audio signal from PCM stream

    Hi i want to recover an audio signal from a PCM stream which is being transmitted by a third party  system  on RS 422 wires. the only information i have about the PCM stream is
    sampling freq              16kHz
    bits                                 8
    quantization tech          u Law qunatization
    over all PCM data transmmison vlaue mentioned  is 2.408 M bits
    please suggest me if it is doable or not . further more suggest the proper NI hardware as  well as software modules required to achive this. will NI 9401 do this job

    Tirmizi,
    I think it may be possible.  You could not use a 9401 but if you had a USB to RS-422 converter you could probably read the PCM data into LabVIEW using VISA functions.
    If you can successfully import your data to LabVIEW, I found a similar forum post that explains the functions in LabVIEW to use to create a .wav file and what you can do with it:
    http://forums.ni.com/t5/LabVIEW/Raw-PCM-to-WAV/m-p​/2739674
    Hope this helps!
    Jon F.
    Applications Engineer
    National Instruments

  • How to decode audio data from dvi/rtp to PCM linear

    Hi all,
    I am getting audio data as DVI/RTP 4 bit mono as input stream but not able to create player for this can any one send me any decoding function so that i can change this data to PCM linear 16 bit format

    S+S, ahh an academic.
    This is actually a forest-trees issue here.
    What your doing is appending the files, which would result in a size of 2S. What you want is somthing of size S. To do this you would need a Normilized merge. I say normalized merge because thats going to give you the best result while still avoiding out of range values.
    This is easy enough to by hand if both streams S1 and S2 are of the same frequency. If they are not the same frequency, the result will be size of the larger file when convereted to whatever uniformfrequency.

  • How could a down-mix APOs receiving multi-channel audio data from the application

    Hello,
        Now I am integrating my DSP algorithm to the APO whichs convert to 7.1 input to stereo output(we call it virtualization), but the endpoint just supports stereo input. My first question is can my APOs receiving a 7.1 input data from
    application when the endpoint only supporting stereo input. The second question is if the scheme is feasible and what should I do.
    Thanks

    Ok so i order to help anyone who is interested.
    The only ironic solution to this problem i found was to use a plugin called xto7 to convert the xml to the old fcp7 format.
    i then imported this into premiere pro.
    this was then able to export an OMF that when imported into logic 10 that was using the correct 6ch mono setting as separate tracks.
    Insane but it works until Apple fixes the incorrect meta data import in FCPX that sets the xml export to the default import that is always surround.
    this is the only way i was able to send stems with all the edit points and fades for the sound editor.
    If you don't have premiere lying around you maybe able to do it with fcp7 too we just didn't have it in this studio.
    Fingers crossed Apple fixes the fcpx xml export.

  • Download data from internet

    I need to retrive the data from instrument which is connect with my PC via the LAN cable. I have a new IP addreess for this device and i don't know how to retrive the data from this device.. i m first learner in labview.. can sombody help me?

    Hi treasure,
    you can use the DataSocket functions to get data from your http server. You can also use tcp/ip function and build the http protocol. For that you can find some examples here in the forum.
    Hope it helps.
    Mike

  • Acquiring and plotting data from USB raw

    Hi,
    I am new to Labview. I have a 3rd party RFID
    device which i intend to acquire the frequency waveform from the device
    through using Labview. Since as a beginner, i use the spectrum analyser
    in the "example" section to start off with and now has error in getting
    the correct Visa USB raw to connect my device. The program intiallly
    used Visa instrument as the visa resource name but when i changed the
    input to the USB raw input there is a class conflict error that says
    "You have connected a refnum of one type to a refnum of another type and
    both types are members of some class hierarchy, but there is neither a
    simple up cast nor type cast between the two classes." 
    For the
    USB raw setting, i have already configured the device using the
    NI-driver wizard to install the USB raw and tested it through the MAX.
    So now i believe the problem should be wiring of USB raw to the entire
    spectrum analyser example. Attached is the spectrum analyzer example.
    Really hope to get help on this matter. Thank you. 
    Attachments:
    Template - Spectrum Analyzer Acquire Trace.vi ‏25 KB

    The example you posted is based on serial port communication. From your software point view, everything is based on RS232. This is quite common in instrumentation. As RS232 is simple compared to USB. The software driver on your host PC emulate a virtual RS232 port.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

Maybe you are looking for