;Creator: Eedis
;Email: Killerbender53@yahoo.com
Gui, color, #347C17
Gui, Font, S13 C5FFB17 , Arial
Gui, Add, Radio, x6 y50 w160 h30 vRan checked, Random Sounds
Gui, Add, Radio, x6 y180 w160 h30 vRis, Rising Sound
Gui, Font, S11 C5FFB17, Arial
Gui, Add, Text, x74 y80 w70 h20 , Duration
Gui, Add, Text, x69 y120 w80 h20 , Frequency
Gui, Add, Text, x74 y210 w70 h20 , Duration
Gui, Add, Text, x69 y250 w80 h20 , Frequency
Gui, Add, Button, x79 y296 w60 h30 , Go
Gui, Font, S8 C5FFB17, Arial
Gui, Add, Edit, x46 y100 w40 h20 vdranmin, 100
Gui, Add, Edit, x136 y100 w40 h20 vdranmax, 100
Gui, Add, Edit, x46 y140 w40 h20 vfranmin, 100
Gui, Add, Edit, x136 y140 w40 h20 vfranmax, 1000
Gui, Add, Edit, x83 y230 w40 h20 vrisdur, 100
Gui, Add, Edit, x46 y270 w40 h20 vfrismin, 100
Gui, Add, Edit, x136 y270 w40 h20 vfrismax, 1000
Gui, Add, Text, x96 y100 w30 h20 , ------
Gui, Add, Text, x96 y140 w30 h20 , ------
Gui, Add, Text, x96 y270 w30 h20 , ------
Gui, Font, S8 C5FFB17 bold, Papyrus
Gui, Add, Text, x6 y330 w100 h30 , By: Eedis
Gui, Font, S18 C5FFB17 Bold Underline, Papyrus
Gui, Add, Text, x6 y10 w210 h40 +BackgroundTrans, Sound Generator
Gui, Show, w220 h356, Sound Generator
Return
buttongo:
gui, submit
{
if (ran = 1)
{
Loop
{
Random, dur, %dranmin%, %dranmax%
random, fre, %franmin%, %franmax%
SoundBeep, %fre%, %dur%
}
}
if (ran = 0)
{
fre := frismin
b:
Loop
{
fre+=10
SoundBeep, %fre%, %risdur%
if (fre > frismax)
Break
}
Loop
{
fre-=10
soundbeep, %fre%, %risdur%
if (fre < frismin)
goto, b
}
}
}
Return
`::Reload
esc::
GuiClose:
ExitApp