Sign in to follow this  
Followers 0
foster74

Can I play 2 sounds files at once?

3 posts in this topic

I want to have a midi as background music, and then have a wav play as a sound effect without interrupting the midi, is there anyway to do this?

Share this post


Link to post
Share on other sites

I don't really know about midis, but this plays both files at the same time:

#include <sound.au3>
_SoundPlay(@WindowsDir & "\media\tada.wav")
_SoundPlay(@WindowsDir & "\media\notify.wav",1)

give it a try.

Share this post


Link to post
Share on other sites

It worked great! Thank you very much! I was thinking that SoundPlay was the same as _SoundPlay, but they are not, thanks again. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0