Jump to content

2 quick questions on soundplay


KillaX
 Share

Recommended Posts

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...