![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Nov 2003
Posts: 16
|
A sound Script releating to the AP Signal
Is it possibile to create a sound script that would indicate the strenth of the signal. For instance if you were far away you would here a beep every few seconds, but if you were right beside the ap you would hear a constant beep..... anyone have any ideas?
-jamie |
|
|
|
|
|
#2 (permalink) |
|
OH such tacos will I give
Join Date: Oct 2002
Location: Minnesota
Posts: 1,049
|
Try the default script or enable the midi output. Aslo, try searching. This is easily found in the FAQ.
__________________
A good way to threaten somebody is to light a stick of dynamite. Then you call the guy and hold the burning fuse up to the phone. "Hear that?" you say. "That's dynamite, baby." -Jack Handey |
|
|
|
|
|
#3 (permalink) |
|
Did you do the math?
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,032
|
Sure. The default script does it with different sounds. Those sounds change in pitch. If you look in the default script, you'll see a series of if/then statements:
Code:
If BestSNR >= 60 Then PlaySound "ns-signal-6.WAV" ElseIf BestSNR >= 50 Then PlaySound "ns-signal-5.WAV" ElseIf BestSNR >= 40 Then PlaySound "ns-signal-4.WAV" ElseIf BestSNR >= 30 Then PlaySound "ns-signal-3.WAV" ElseIf BestSNR >= 20 Then PlaySound "ns-signal-2.WAV" ElseIf BestSNR >= 10 Then PlaySound "ns-signal-1.WAV" Else PlaySound "ns-signal-0.WAV" 1) Change all the sounds to the same file. 2) Insert an increasing time delay of some type at each if/then. An alternative is to just use the default script. Just replace the sound files with a new ones. Each would be a beep followed increasing amounts of silence after the beep. It just depends on what's easier for you: Programming or recording sounds. Being a true geek, I'd do the programming. ![]()
__________________
Thorn "Lawyers should never marry lawyers. This is called inbreeding. It produces idiot children and more lawyers." Last edited by Thorn : 01-16-2004 at 09:35 AM. |
|
|
|