General / Off-Topic Question regarding VoiceAttack and playing sounds (musik)

I guess, this is not the optimal (because less populated) place to ask the following question. However, it doesn't fit into the other forum categories. So ...

Yesterday, I tried to teach VoiceAttack to play me some energizing combat music.
In principle, it worked fine.
However, after playing one song out of my folder, it stopped. Annoying, but understandable.

Hence I tried to create a loop, running until a variable called 'play_music' was set to 'false' in my additional "stop music" command.
The effect was... cataclysmic. :D
As the 'play sound' command had to be set to 'allow other commands to run while this one is still active' (I don't have the exact wording at hand, but you know what I mean), the loop inevitably started to play all songs. At once!

So the question is:
Is there a way in VoiceAttack to test whether or not a started sound (= music) is still running so I can set a related flag and not let VA start another song till the first has ended?
 
Hi pippo, thank you for your answer!
I think, I've found (at least one) of the movies you mentioned.

VLC player is it then, he? So, unfortunately not just from inside VoiceAttack, but jet another program to run. Hmmm.
Additionally, the (very clever) guy in the movie I watched used a short, self-written Python program to control the VLC-player. So I have to install Python, too. Double-Hmmm.

Gosh, I am not sure, if I really want to go through all of this.
For now, the simple command-repetition might be the way to go (unless somebody else here has another genius idea).
 
Back
Top Bottom