How to do frequency and sound program

10/16/2015 08:36 mlukac89#1
Hi, i have s silly problem with mouses in a house and i heard that ultrasound frequency: 15 - 33 kHz konst and sound 90 - 100 dB anoying them.

How can i make this program ?
10/16/2015 13:07 alpines#2
Your normal speakers won't do this job because you need special high frequency speakers for this. A normal sound system has a range from 35 Hz - 20kHz (It's the range a human can hear).
10/16/2015 14:09 warfley#3
Quote:
Originally Posted by mlukac89 View Post
Hi, i have s silly problem with mouses in a house and i heard that ultrasound frequency: 15 - 33 kHz konst and sound 90 - 100 dB anoying them.

How can i make this program ?
You could use the OpenAL
10/16/2015 20:40 mlukac89#4
Quote:
Originally Posted by alpines View Post
Your normal speakers won't do this job because you need special high frequency speakers for this. A normal sound system has a range from 35 Hz - 20kHz (It's the range a human can hear).
Yea i know that i must buy a different speakers but i need only a program that i can use, something like this

Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <SliderConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

$Form1 = GUICreate("Form1", 440, 219, 688, 348)
$Slider1 = GUICtrlCreateSlider(8, 40, 422, 45, BitOR($TBS_TOOLTIPS, $TBS_AUTOTICKS, $TBS_ENABLESELRANGE))
GUICtrlSetLimit(-1, 200, 0)
GUICtrlCreateLabel("Frequency kHz ( 0-200 kHz )", 16, 16, 140, 17)
GUICtrlCreateLabel("Sound in dB ( 0-200 dB )", 18, 93, 120, 17)
$Slider2 = GUICtrlCreateSlider(8, 116, 422, 45, BitOR($TBS_TOOLTIPS, $TBS_AUTOTICKS, $TBS_ENABLESELRANGE))
GUICtrlSetLimit(-1, 200, 0)
$startBtn = GUICtrlCreateButton("Start", 16, 176, 75, 25)
$stopBtn = GUICtrlCreateButton("Stop", 104, 176, 75, 25)
GUISetState(@SW_SHOW)


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd
10/16/2015 21:16 alpines#5
How about the built-in function Beep? [Only registered and activated users can see links. Click Here To Register...]
10/17/2015 15:07 mlukac89#6
Thanks, i know for that Beep function but i was think there is some other specail things u must do to provide that sound.