playwaveform question.

Started by Mike Burgoon, March 22, 2018, 08:14:00 AM

Previous topic - Next topic

Mike Burgoon

I am playing a .wav file with playwaveform ("filename", 1).  If I want to stop playing that file, I am trying to use playwaveform (" ", 0) like it says in the help file for that command.  Problem is that it does not stop playing the wav file.

How do I stop playing a wav file that is playing using playwaveform?

Thanks

td

Code (winbatch) Select
PlayWaveform(' ',0)
works just fine on my Windows 10 system.   Are you sure you are passing a space and not just an empty string in the first parameter?  It will not stop the sound unless there is a space between the quotes. 
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade