Sign in to follow this  
Followers 0
KillaX

2 quick questions on soundplay

2 posts in this topic

1: How can i play multiple sounds? Right now, if one sound plays, and i do another soundplay, it cancels the old one and plays the new one.

2: Can you pitch sounds?

Thank you!

Share this post


Link to post
Share on other sites



1: How can i play multiple sounds? Right now, if one sound plays, and i do another soundplay, it cancels the old one and plays the new one.

2: Can you pitch sounds?

Thank you!

[1]:
#include <Sound.au3>

Dim $aSound[2] = [_SoundOpen("c:\1.mp3"), _SoundOpen("c:\2.mp3")]

For $i = 0 To UBound($aSound) - 1
    _SoundPlay($aSound[$i])
Next

While 1
    Sleep(20)
WEnd

[2]: See in help file _SoundSeek() function.

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