compile this to wav.exe and send anything you like to it all at the same time, it will load up to 30 instances at once and play all sounds at the same time.
Code:
#NoTrayIcon
SoundPlay,%1%,wait
exitapp
and use my sound effects engine below to test wav.exe
Code:
;
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: A.N.Other <myemail@nowhere.com>
;
; Script Function:
; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;------------------------------------------------------------------------------------------
; @@@@ @@@ @@@@@@ @@@ @@@ @ ;
;@@ @@ @@ @@ @@ @@ @@ @@ @@ ;
;@@@ @@@@ @@ @@ @@@@@ @@ @@ @@ @@ @@@@ @@@@ @@@@@ @@@@@ ;
; @@@ @@ @@ @@ @@ @@ @@ @@@@@ @@@@ @@@@ @@@@ @@ @@ @@ @@ @@ @@ ;
; @@@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@@@@@ @@ @@ @@@@ ;
;@@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @ @@ ;
; @@@@ @@@@ @@@ @@ @@ @@ @@@ @@ @@@@@@ @@@@ @@@@ @@@@ @@@@ @@ @@@@@ ;
;------------------------------------------------------------------------------------------;
;Sound Effects:
`::Gosub sfx ;press the key to the left of 1 to trigger sound effector
sfx:
Input, UserInput,T1 L1,{Escape},0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
If ErrorLevel = Timeout
Return
SetKeyDelay, -1
ifnotexist,%A_ScriptDir%\se\%UserInput% ;looks in SE folder for a folder named the same as the key you pressed
{
filecreatedir,%A_ScriptDir%\se\%UserInput% ;creates folder if it doesnt exist, then put sounds in it
; Return
}
Loop, %A_ScriptDir%\se\%UserInput%\*.*
Run, %A_ScriptDir%\Wav.exe "%A_ScriptDir%\se\%UserInput%\%A_LoopFileName%" ;plays all the files in that folder
vkey=done
Goto sfx
Return
makes a SE folder wherever you run this script and will make sub folders from 1 to z if you press a key that is not yet defined and then you dump one or as many sounds as you like into that folder, it will play all sounds at once if there are more than one, even video files.....you have ONE second from pressing the `~ key to keep pressing multiple trigger letters, as long as each letter is pressed withing one second it will play the next Sound effect, if you take to long, press the `~ key again to trigger the one second input window.