• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Public Announcement System on computer

WGSquallx2002

Limp Gawd
Joined
Jan 7, 2004
Messages
478
Has anyone had experience with software on Windows 7 or OS X that can serve as a public announcement system with feature to play pre-recorded announcements on a time schedule? This would be used in a small office environment. Thank you.
 
... unless you have very complex needs a few lines of code can do it

here is how to do it in PowerShell (we can do it in c# if you would prefer)

both methods will play in a loop that will pause using the start-sleep command (change how many seconds to pause)

the first method will play a *.wav file (change the path to your .wav file)

Code:
$sound = new-Object System.Media.SoundPlayer;

do {

    
    $sound.SoundLocation="C:\Windows\Media\chimes.wav";
    $sound.Play();

    Start-Sleep -Seconds 5

}
while($true)

second method will synthesize a text into voice (modify the text with your own announcement)

Code:
Add-Type -AssemblyName System.Speech
$synth = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer

$text2Voice = @"
This is a sample announcement
Other stuff
"@

do {
    
    $synth.Speak($text2Voice)

    Start-Sleep -Seconds 5
}
while ($true)

let me know if you need any customization or help setting it up :)
 
Last edited:
Back
Top