Jump to content

Recommended Posts

Posted

Is this right.... theres only the command to play a sound and set wave volume?! I want music, but I cant have it turn on/off :lmao:

I cant even make it loop.... is there anything I can do

Posted

Whats more to say? If I play my music and another sound plays it stops, If I set the volume it sets it for ALL sounds, Theres no command to stop a specific sound....

Func Fire()
    SoundPlay($InstallDir&"\Fire.WAV")
Endfunc
Func Music()
    SoundPlay($InstallDir&"\Music.WAV")
Endfunc

Fire() launched by pressing F, music launched when program starts

Posted

COM object? ... If I knew what it was and would help wouldnt you think I would have used that? :lmao:

More information on it please

Posted (edited)

A COM Object is a Function of a foreign Application or Library. (Function isn't really correct, it's more a collection of functions and methods, and so on...)

With the AutoIt Beta you can use COM Objects with it.

But don't ask me which one to use... don't know it either... maybe someone else?

Edited by Raindancer
Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer
Posted

You should be able to find some useful hits if you searched the forum at little bit...anyway..

Some months ago I created these UDFs for use with SoundPlay. Test them out...

-> Sound.au3

-> Sound_test.au3

(will see if I get to upload a new version soon..)

Posted

To loop a file :

- Start the file with SoundPlay

- Check the mode, using _SoundGetInfo

- If the mode isn't "playing" then use _SoundStart(0) to restart it

Also, to stop playing a file just use _SoundStop.

Was it really that hard... ?

...I dont know what to do with those

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
  • Recently Browsing   0 members

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