<< Click to Display Table of Contents >> Playing a noise when an alarm occurs |
![]() ![]() ![]() |
Can I get SpecView to play a noise (or tune) when something happens?
Use the Strategy Controller action: SpecView: Run External Program to run a separate program, for example, Playwav.exe, to play a tune on the sound card, if one is fitted.
Playwav.exe can be downloaded from Horst Schaeffer's Software Pages here: https://www.horstmuc.de/wminis.htm#playwav
If Playwav.exe is placed in, for example, the SV3 folder, then to play a WAV file, for example, NOISE.WAV which has also been placed in the SV3 folder, use SpecView: Run External Program and use a command such as:
C:\SV3\PLAYWAV.EXE C:\SV3\NOISE.WAV
Note that it is important to specify the full path of the .EXE file (including the .EXE filename extension), as well as the full path of the WAV file, because SpecView needs to know where the files are, which means that typing just 'playwav noise' will not work.
Note: Use quotes if there are spaces in the filename, for example: C:\SV3\PLAYWAV.EXE "C:\SV3\LOUD NOISE.WAV"
Alternatively, if there is hardware connected such as a digital relay which could be wired to an alarm bell, then the digital output could be set by the Strategy Controller to make the alarm bell ring.