Stopping an audio file

If I were to play audio file. Say using a simple read and a play waveform, is there anyway to stop the waveform from playing mid track. The idea is to play a song while I loop is running a motor. When the conditions stop to motor they need to stop the waveform from being played. Any ideas?

The help assumes you know basic LabVIEW.  It can't provide much specific usage info since it doesn't know what the programmers intentions are.  This is common in all languages.
This is a very easy "case" though.  Use a case structure in a loop.  Wire your boolean control to it and put the Play VI in one case and the Stop VI in the other.  Toggling the boolean control will turn the sound on and off.
Check out the LabVIEW examples for some good, sound ideas.  Help > Find Examples... Hardware IO > Sound.  If the examples seem confusing look into some basic LabVIEW tutorials.
BTW: You could also control the sound output by using a volume control in your loop.  That way you could fade in and out if you want to be fancy.
Using LabVIEW: 7.1.1, 8.5.1 & 2013

Similar Messages

  • Why does fcpx suddenly stop reading audio files? ever since i upgraded to Yosemite. Than when I check it on my hard drive it doesn't work as well. Only this file. Am in a trouble of delivering now. Any help?

    why does fcpx suddenly stops reading audio files? ever since i upgraded to Yosemite. Than when I check it on my hard drive it doesn't work as well. Only this file. Am in a trouble of delivering now. Any help?

    Could be systems logs or some other system file growing.
    Use OmniDiskSweeper or DaisyDisk to map what's being used.
    Regards,
    Shawn

  • Starting and stopping multiple audio files throughout Keynote

    I have Keynote 08. Can you do this in the next version. It doesn't seem like you can play a song in the document and have it stop a certain slide and start up again on another slide or stop at a certain slide and start a new song.
    The only three options seem to be:
    1. Play a song in the background that has no idea where you are in the presentation.
    2. Play a song on particular slides which will stop whenever you go to the next slide.
    3. Switch to a new Keynote document by a hyperlink that plays a new song. You'll then need to have multiple keynote documents.

    Try the following; it works for me.
    First Audio clip: Build-in (Start Audio) will begin playback
    Build-out (Stop Audio) will end playback.
    Second Audio clip: Build-in (Start Audio) will begin playback
    To have first clip end when second begins, create a Build-Out (Stop Audio) and have the Build-In (Start Audio) of the second clip occur simultaneously with the Build-Out of the first clip.
    By the way, you can have these audio clips associated with a slide and still have an audio track running in the background as a Soundtrack. Be sure, however, that you record the various audio tracks at an appropriate level before you import them into Keynote because you cannot balance them while in Keynote.
    Message was edited by: Ron Streicher

  • Captivate 4 stopped playing audio files

    I am using captivate 4 on a Windows 7 64-bit HP Pavilion laptop.  I had not used Captivate in several weeks.  When I went in today to work on a project, the audio no longer works.  Everything appears to be fine, but there is no sound when I play the audio.  I have loaded all the latest updates and I am running as Administrator in Windows XP Compatibility mode as recommended.
    I would appreciate any help as I am under a tight deadline and have no idea what else to try.

    Hi jmtmurphey2
    System Requirements for CAPTIVATE 4

  • Audio file resets to beginning when I go to another app.

    Just upgraded to Ipod Touch 2G from Ipod 5G Video. I've searched these forums for a similar problem to no avail.
    I have imported an audio CD with no problems so far. My difficulty is that when I stop an audio file playback (or any music file for that matter) and go to another app or outside of the playlist, the file resets to the beginning. Not a problem on a 3 or 4 min music file but a 1 or 2 hour audio file can get very frustrating. I didn't have this problem with the IPod video, I could stop and play games or anything without losing my place in the file. Is there a setting or something to correct this?

    Hello and Welcome to Apple Discussions. 
    Have a read of these articles:
    http://oakroadsystems.com/genl/itunsabk.htm
    http://aldoblog.com/audiobooks/itunes/importing-audio-cds/
    audio books from Audible or iTunes should do this right away.
    If the files are from another source, right click on them and choose Get Info, then check the "Remember Playback position" box. If you then change the file extension in Windows to .m4b they should show up in the Audiobooks section of iTunes too.
    regards
    mrtotes
    Message was edited by: mrtotes

  • I have been sampling new imported drum loops. And if I adjust region to song or time strecth it updates the audio file in the library. How to stop this? I lost the original setting to one loop. automatically doing it ??

    I have been sampling new imported drum loops. And if I adjust region to song or time strecth it updates the audio file in the library. How to stop this? I lost the original setting to one loop. automatically doing it ??

    This "original file cannot be found" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • How do I stop breaks or stutters in the audio file from occurring while editing?

    I am using Captivate 8 but I saw this same problem in Cap7. My narrator recorded the audio while recording the video. He did not record to each slide independently, but instead allowed the software to break the narration at mouse clicks. As the editor, I am cleaning up the audio/video and every time I try to edit the audio it causes a stutter (a small silent section) at some other point in the audio file.
    For Example: The mouse click occurred in the middle of a word, I re-position this frame break, a small gap is created in the middle of a word someplace else in the audio.
    Any editing, even something as simple as changing the volume of the project through the Audio>Edit>Project option, can cause one or more of these brief silences somewhere in the audio. I have tried inserting silence before re-positioning a frame break, but that doesn't solve the problem. Any suggestions would be greatly appreciated. This is taking 10 times longer than it should to do some simple editing.
    Thank you!!

    In other blogs some mentioned a little tool that stops the video when u go to other pages but it doesn't on Android as the mentioned here

  • TS1717 I can play audio files in iTunes but I can't play downloaded tv shows or movies.  Everytime I attempt to play them, iTunes stops working and closes.

    I can play audio files in iTunes but I can't play downloaded tv shows or movies.  Everytime I try to play them, iTunes stops working and closes.  Any information will help.

    Is QuickTime installed? If not it might help to install it.
    If so is Direct3D Video Acceleration enabled? If so it might help to disable.
    tt2

  • Why is the audio file stop playing midway through a .mp3 file in Firefox and not in the IE browser ?

    I added an audio file on to my website, http://www.widescreenonlinereview.com/COMIC-REVIEWS.html. However, the mp3 file stop midway though the song, but the .mp3 file plays completely in the IE Browser.
    I tried update Firefox, but I lost some major add-on, which me caused to return to my present Firefox browser, and the .mp3 file still would not play completely in the updates browser either.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • How can I stop random audio advertising files from playing?

    Recently, my Macbook Pro has been playing random audio files.  They are mostly advertisments about mucus medicine and news clips about soccer.  Yesterday, I discovered that when I quit Safari, the audio stops.  Today the problem is back again.  What can I do to get rid of these annoying ads?

    Safari > Preferences > Security
    Make sure that "Block pop-up windows" is enabled.
    Temporarily disable the plug-ins
    Safari >  Preferences > Security > Web content:  Enable plug-ins
    If the audio is from Flash based ads it should stop.
    Re-enable that feature later.
    Best.

  • "AU audio file player" stops playing after a few seconds

    Hi there,
    i use "AU audio file player" in my concert set up.
    It worked fine til yet, but now it just stops playing after a few seconds.
    The track is 3 minutes, but it stops suddenly.
    I tried to reload the tracks and tried loading the "AU audio fle player" into a new session,
    but it still stops playing in any of the sets.
    Any idea?
    Thank you very much, S

    Hi Susanna,
    I did not find a way to trigger it from the keyboard...
    So I decided the following: I made a short cut for QuicKeys which opens the AUAudioFilePlayer and starts the loop I need. A quick solution which works with just hitting one key on the computer and the loop player starts. This works pretty well with QuicKeys but not with MS, the problem: sometimes when I choose by double clicking the AUAudioFilePlayer a black window shows up and only the name is readable, nothing else. I have to close it, reopen it and then- perhaps- the AU shows up and I can push the play button. Do you now that problem?
    R.

  • Adobe premier cc stopped importing avi files with PCM audio codec, unsupported audio format

    We were working just fine using Adobe premier pro cc, we captured videos in avi format video codec MJPEC audio codec PCM. Suddenly, I think after updating using cc, premier stopped importing any file giving the following Error message: The file contains an unsupported Audio format. We have captured more than 4000 hr from our library, and we are still capturing, our work is completlty freezed, we can not export to any format since we can not import in the first place. Our rivals in the market are taking our client and they are using old premier cs6 cracked version, this is ridiculous!! I installed adobe cs6 trial and it is working fine, this is very frustrating.
    I tried to insert an image of what gspot is giving me but for a certain reason it is not uploaded. Please help.

    What MJPEG codec do you have installed?
    MJPEG http://forums.adobe.com/thread/730396
    - problems with Samsung codec http://forums.adobe.com/thread/699493
    - and Fuji http://forums.adobe.com/thread/1015922

  • How can I get one audio file to stop once another is triggered on the same page in EPUB?

    I have multiple audio files on one page and am able to trigger each separately with their own control panels. Unfortunately, these can all be played over one another. Is there a solution within InDesign to stop the first active audio file once another audio button is triggered on the same page?
    WIll this have to be done through Javascript?

    Use buttons. They can have have more than one action. Set a button to stop the first audio, and start the second.

  • ITunes Match is deleting my Audio Files, How do I stop this?

    I have asked this question before, but have not had time to get into it. 
    I use Radioshift(A Rogue Amoeba program) to record a few hours of radio everyday.  It sends the audio files to iTunes in a folder named radioshift and into sub-playlists matching each radio station name.  iTunes match will intermittently delete all of these audio files when it goes through its process of upload/download.  It is strange because it won't occur all of the time, but periodically it will wipe all of the files out and this continues for a period of time and then a few days later it leaves them alone.  I have tried moving the files to other playlists and it doesn't help.  I've emailed Apple on the issue and not gotten a response.  Does anyone else have this issue or know how to resolve it?
    Clay

    Hello @adam100 ,
    Welcome to the HP Forums!
    Uninstalling HP Connected Music should do the trick. If it is uninstalled, then you files cannot be displayed as HP Connected Music files.
    You can always install it later if you want it
    Mario
    I worked on behalf of HP.

  • How do I get iTunes U to play all files, right now it stops after each audio file and I will have to manually select the next one.

    I am unable to find a way to get iTunes U to play all audio files one after the other without me manually playing each one of them.

    Best I've managed is to create a smart playlist in iTunes with the album set to the title of the course.  Have the smart playlist update automatically so that any new postings from the course are included within the playlist. After that you should be able to play the playlist and have all the audio files play one after the other.  Hope it helps!

Maybe you are looking for

  • How can I sort data in view that all member are transent attributes ?

    I create a view that 's not based on query . and all member of that view are transent attributes . if I want to sort records in the view with a transent attribute . What should I do ? as I know I can set order by clause , if that view is base on quer

  • Summit_rewritten_11g_oct_2008.zip : using 11.1.1.0.0 or 11.1.1.0.1

    hi Please consider the application in summit_rewritten_11g_oct_2008.zip, described in redeveloping_forms_in_adf_11g.pdf, titled "Case Study: Redeveloping an Oracle Forms application using Oracle JDeveloper 11g and Oracle ADF 11g" see http://www.oracl

  • Acrobat won't begin downloading

    I've recently subscribed to Adobe Acrobat XI, but the program will not begin the download process. Is there a way to restart?

  • Burning problem...not even an error message

    Ok I select my desired playlist...then I hit burn disc and the prompt pops "insert a blank disc". I put in a Fujifilm CD-R All purpose Compact Disc Digital Audio Recordable CD in, it says "detecting media" for about 45 seconds...then it just stops an

  • Flash 8 is Freezing My Computer

    Hi Folks, I am brand new to Dreamweaver and Flash and I already have a problem. Every time I try to import a video file into a new Flash document to convert it to Flash my computer completely freezes up and I have to shut down using the On/Off power