Jump to content

Recommended Posts

Posted

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!

Posted

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.

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
×
×
  • Create New...