Author Topic: playwaveform question.  (Read 520 times)

Mike Burgoon

  • Newbie
  • *
  • Posts: 9
playwaveform question.
« on: March 22, 2018, 08:14:00 am »
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?



  • Tech Support
  • *****
  • Posts: 2814
    • WinBatch
Re: playwaveform question.
« Reply #1 on: March 22, 2018, 09:25:38 am »
Code: Winbatch
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