“Play Sound” Audio Length Adjustments
-----------------------------------
Related Products: DW Spectrum IPVMS
Last Edit: October 2, 2024
-----------------------------------
Default Configuration
The default maximum length of audio that Spectrum will play is 30 seconds. In some cases, the play time may need to be expanded beyond this threshold, such as repeating announcements in multiple languages. This article will explain how to change the parameters of the maximum audio length. This can be done from any client machine.
**NOTE: If using "play sound" to play audio to users via the client, these steps will need to be repeated on every client in use.
Changing Max Audio Length
Windows
- Open Windows Registry
- Navigate to Computer\HKEY_CURRENT_USER\SOFTWARE\Digital Watchdog\Digital Watchdog DW Spectrum Client
- In the registry field on the right, right-click an open area and select New > String Value.
- A new string value will immediately be created awaiting a value name. Set the value name as maxMp3FileDurationSec. Note that it is case sensitive.
- Once created, double-click the value and enter the desired number of seconds. In this example, 300 seconds equates to 5 minutes.
- Once applied, you will be able to load audio files from your client that are longer than 30 seconds.
Linux
- Run Terminal with
- Enter the command
sudo su
followed by your OS password. - Enter the command
sudo nano /home/dwuser/.config/Digital\ Watchdog/ Digital\ Watchdog\ DW\ Spectrum\ Client.conf
- Add the line maxMp3FileDurationSec=<desiredNumberOfSeconds>
- Press to exit. You will be prompted to save the changes.
- Press , followed by to write the changes. Press again.
- Once done, the config file will close.
Mac
- Run Terminal (you can use Spotlight to search for it).
- Enter the command:
nano ~/Library/Preferences/com.digital-watchdog.Digital\ Watchdog\ DW\ Spectrum\ Client.plist
- At the end of the file, add the line:
maxMp3FileDurationSec=<desiredNumberOfSeconds>
- Press to exit. You will be prompted to save your changes.
- Press followed by . You will then be shown the file name to write. Press again.
- You can now re-open the client software and apply your desired audio file.
For More Information or Technical Support
DW Technical Support: 866.446.3595 (option 4)
https://www.digital-watchdog.com/contact-tech-support/
______________________________________________________________________________
DW Sales: 866.446.3595 [email protected] www.digital-watchdog.com