How do I transfer a sound file via TCP?

I have a .wav file that I'm trying transfer via TCP.  Using LV 8.5, I modified the "Sound File to Output.vi" example to send the data across a TCP connection to a client vi.  But, I've encountered numerous errors along the way with trying to convert the sound data which is a  1-D array of waveform double.  I've attached my server and client VI, but essentially, what I tried to do is break down the array into the y and dt components, send those over the TCP connection, rebuild the waveform client-side, and then play the waveform.  Is there something I'm missing?  Do I need the timestamp information as well and send that over too?  Please let me know how this can be accomplished.  Thanks!
Attachments:
Streaming Music - Server.vi ‏97 KB
Streaming Music - Client.vi ‏65 KB

One thing to clarify: While the Sound Output Write does not need the dt information, the dt information wouold be required when you use the Configure VI in order to set up the rate.  However, you only need to send that parameter once. Thus, it would seem to me that you want to change your client code so that it checks to see if it receives a special command or something to indicate the start of a new song that may have been sampled at a different rate. If this is the case, then you can reconfigure the sound output. Otherwise, all that you're listening for is just song data that you send along to the Sound Output Write.

Similar Messages

  • How can I transfer a sound file from my "Voice Memos" app on my iPhone to my iPad?

    How can I transfer a sound file from my "Voice Memos" app on my iPhone to my iPad?

    In iTunes with your iPhone connected, click on the iPhone device, select the Apps tab, scroll down to the File Sharing section and pick an app that plays Quicktimes ("Files Connect" works in this example, but I'm open to suggestions of better apps for playing transferred Quicktimes) and drag your Quicktime from Finder to the Documents pane for the File Sharing app.   Once the file transfer is complete, go to the app on your iPhone to play the Quicktime.

  • How do I transfer a text file via GPIB from one PC to another?

    I need to read a text file from a scope's hdd modify it, and then write it back to the scope hdd. Both the PC and the scope use Windows 2000.

    Hello adomon79,
    as a first try I would look into the manual of the
    scope... And after this I would ask the manufacturer
    of the scope.
    And if all this fails, I would ask in the Developer
    Zone and I would tell what kind of scope I'm using.
    Best regards
    Gerd
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I transfer all my files from Mavericks Thunderbird to Mavericks Mail

    How can I transfer all my files from Mavericks Thunderbird to Mavericks Mail?
    Bonjour,
    C'est ma première intervention aussi je ne sais pas si je peux m'exprimer en français.
    Je tente!
    Lors du passage à Maveicks, j'ai basculé sur Thunderbird car je ne souhaitais pas utiliser POP mais Mail ne le permettait pas (du moins je n'ai pas réussi)
    Aujourd'hui, je souhaite revenir sur Mail et, pour celà, je dois rapatrier toutes mes données de messagerie depuis Thunderbird.
    J'utilise Imap et, pour gérer ma messagerie, j'ai créé des boîtes aux lettres dans Local Folsders
    Le passage par Eudora ne fonctionne pas avec Mavericks.
    L'import de boîtes aux lettres depuis Local Folders de Thunderbird (via le menu Fichier) ne permet de transférer qu'un seul courier par boîte aux lettres de Local Folders. Et c'est ce qui m'empêche de passer à Mail.
    Merci d'avance pour votre aide.

    iPhone: Transferring information from your current iPhone to a new iPhone

  • How do I transfer my catalog, files and collections into Lightroom 4 onto another computer?

    How do I transfer my catalog, files and collections into Lightroom 4 onto another computer?

    You can copy your image file  from you PC to your Mac over your home network or via DVD/CD.  You can not install you PC CS5.1 version on you Mac. Its not compatible with MAC OS.  You would need a MAC version of CS5.1 and Mac version serial number to activate it.  Adobe no longer markets CS5 so you most likely will not be able to pay for a platform switch media install.

  • I dropped my macbook pro and the screen is broken can i still use it with an external monitor? Or can I or how do I transfer hard drive files to my mac mini?

    I dropped my 17" macbook pro and the screen is broken. Can I still use it with an external monitor? When I plugged it into a monitor I had used it with before, I'm not able to see anything on the macbook screen to control it. It came on but I just got the blue screen with nothing else after typing in my password. (Didn't see the password form just assumed it was there somewhere and it did go from space to blue screen but no desktop icons, files, dock strip at top or anything else, just blank blue screen) so I can't access the system preferences.
    Or can I / or how do I, transfer hard drive files to my mac mini? If not salvageable as is can I pull out the hard drive and make it an external harddrive? In otherwords is anything salvageable? It seems it's coming on I just can't access anything. BTW I was told it would cost aprox $1000 to replace the screen! I paid almost $4000 for this thing and it was running great - makes me sick to lose it!

    I'd like to promise you that everything will be fine if you just get the monitor going - but it's hard to know what the hardware damage might be. It might be the monitor, or the damage might be greater.
    Your best solution would be visit your local Apple Store and let them know what your situation is. They have access to diagnostics you don't, and they might be able to the best way to save your data and keep you computing. It's still not covered, but they can tell you what your current options are.
    Um, you might consider investing in a backup drive.
    And there other repair options, too. Powerbook Medic http://www.powerbookmedic.com/xcart1/pages.php?pageid=67 offers reliable repairs, and quotes prices well under Apple's.

  • How do I transfer a music file from my MacBook Pro to my iPhone?

    How do I transfer a music file from my MacBook Pro to my iPhone?

    If you download Adode Reader (free but very limited) or GoodReader (many features) - you can use file sharing.
    Connect the iPad to the Mac and launch iTunes. Select the iPad on the left side under Devices. Click on the Apps tab in the iTunes window on the right. Scroll down to the File sharing apps window. Click on the file sharing app that you are using (Adobe Reader or GoodReader in this example). Drag the document from the desktop onto the file sharing window on the right side - or click on the add button in the lower right corner - and navigate to where the file is on the Mac and select it that way.

  • My computer crashed, how do I transfer all my files and apps to a new computer?

    Hi All,
    Please help! My computer crashed, how do I transfer all my files and apps on my iPad to my new computer?
    Thanks so much,
    Jeff

    '''Firefox''' is the name. ''Foxfire'' is a bio-luminescent fungus. <br />
    [http://en.wikipedia.org/wiki/Foxfire_(bioluminescence)]
    See this article for moving all your Firefox personal data to the new PC.<br />
    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile

  • How do I enable all sound files wav,MP3 on windows 7 64-bit change system sounds

    How do I enable all sound files wav,MP3 on windows 7 64-bit change system sounds it will only give me the option to choose wav?

    Windows 7 uses .wav (wave) files for the sound events. The default folder that Windows 7 uses to store the sound files in is located at C:\Windows\Media.
    You cannot use a MP3 file but there are lots of (WAV to MP3 converters) available on internet which can help you to convert MP3 to wav  serving your purpose of changing system sound. 
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • How do I transfer all my files from my old macbook to my new macbook pro?

    Bought a new MacBook Pro, and I have an older MacBook...How do I transfer all the files excluding the system files to the new MacBook Pro? I want all my documents including iTunes music, photos, etc...
    Thanks.

    use setup assistant to set up your new Mac exactly like your old.
    click here for instructions.

  • How do I transfer a .mov file to my iPad from my Mac?

    How do I transfer a .mov file to my iPad from my Mac?

    If .mov files are compatible with iPad, you can add your .mov file to iTunes and sync it to your iPad.

  • How do I record a sound file and send it as an attachment using my 4s?

    How do I record a sound file and send it as an attachment using my 4s?

    Hi,
    The following is the program[Click Here| http://saptechnical .com/Tips/ABAP/email/EmailProgram.txt] which will send any format file. Actual Creator of the program is Amit Bisht.
    Thanks & Regards,
    Rock.

  • I have a new macbook. How do I transfer all my files from the imac to the Macbook with timemachine?

    I have a new macbook. How do I transfer all my files from the imac to the Macbook with timemachine?

    The OS X Mountain Lion Up-to-Date Program

  • How do I transfer audio wave files to individual garage band tracks?

    How can I transfer audio wave files recorded in a studio to individual Garage Band tracks? Three tracks in all.

    Mick Parrott wrote:
    How can I transfer audio wave files recorded in a studio to individual Garage Band tracks?
    if the files are in one of GB's supported formats:
    http://www.bulletsandbones.com/GB/GBFAQ.html#importformats
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    simply drag and drop the files into the GB timeline

  • How do i play two sound file one after another

    Hi All,
    How do i play two sound file one after another using single AudioClip Component?.
    Advance in thanks
    Manivel

    AudioClip gives you very little control over what happens to the sound, it also isn't capable of playing long clips or waiting until a clip ends. It will play multiple clips over top of each other.
    To do what you want you should use the facilities of javax.sound. Here's a post with an example: http://forum.java.sun.com/thread.jspa?forumID=513&threadID=450768
    There is also a tutorial, but its example fails for long clips.

Maybe you are looking for

  • GRC AC 5.3 Detour not working as expected in workflow

    Hi GRC Experts! I would greatly appreciate your help with the problem we're currently facing; we have configured 2 CUP workflows; one for handling requests with SoD violations (Workflow B) and one to handle ones without any SoD violations (Workflow C

  • Seting blank value in the text box...

    Dear all.. plz help me about this problem i have done some code, the senario is that one form is there when i double click the row i need to transafare that value in the next form text box. the code is Dim oSubForm As SAPbouiCOM.Form                 

  • Working with HD m2ts files to get best video out burned on disk.

    Working with m2ts video files, how to get best video output.  I have Pinnacle 12U and the video picture that is produced on a burned disk is much better then what is produced in Adobe Premieme PRO CS4.  I would like to continue to use Premieme Pro, b

  • Macbook Pro running slowly (EtreCheck information included)

    My MacBook Pro suddenly started performing very slowly.  I tried rebooting in recovery mode by holding command + R at start up, but nothing happens.  I have tried to perform a software update, and when I do so, it checks for updates, and asks me to r

  • Moving photos from Adobe Photoshop Album Starter Edition it is locked.

    I am just wanting to get my photos off of  Adobe photoshop Album Starter Edition.  Just set up my computer and it is asking for a code I do not have.  Anyone have any suggestions. Thanks,