Reply
Logi Nu
E-SD
Posts: 1
Registered: ‎02-18-2012
0
Accepted Solution

Where are .WAV files for desktop alert?

I would like to add to and/or edit the sound samples that play when motion is detected.  Are these stored as .WAV files somewhere?

Logi Team
jnoring
Posts: 295
Registered: ‎12-14-2010
0

Re: Where are .WAV files for desktop alert?

Unfortunately they're built-in to the Commander executable, so I don't think they're directly editable.



If this helps you out, please click on the "Accept as Solution" or "Give Kudos" button so this information can benefit other users via search!
Logi Team
DanielB_Logi
Posts: 140
Registered: ‎12-15-2010
0

Re: Where are .WAV files for desktop alert?

[ Edited ]

So, the built in sounds are part of the EXE.  However, there are a couple of features that are not currently exposed in the UI (or "supported").  If you're feeling adventerous, here's how you can do a couple of customizations.

 

Customized sounds

1. Exit Commander

2. Go to the Logitech Alert Commander settings directory.  On Windows 7, that's under ProgramData\Logitech\Logitech Alert Commander.  On Windows XP, that's under (Documents and Settings)\All Users\Application Data\Logitech\Logitech Alert Commander.

3. Copy the Commander.ini file to a backup location/name (name it something like Commander.ini.bak).

4. Open Commander.ini in Notepad, or some other text editor.

5. Find the line that says:

AlertSounds:1:CustomAlertSoundCount:0

 

6. Change the 0 to a "1" (or more if you add more than 1 customized sound)

7. After that line, add lines like the following:

 

CustomAlertSound:0:Id:MyCustomId
CustomAlertSound:0:DisplayName:My Custom Sound
CustomAlertSound:0:SoundLocation:C:\Full\Path\To\custom.wav 

 

(only .wav files are supported)

8. For a 2nd custom sound, you'd make the count "2", and also have another set of lines like:

 

CustomAlertSound:1:Id:SomeOtherId
CustomAlertSound:1:DisplayName:Some Other Custom Sound
CustomAlertSound:1:SoundLocation:C:\Full\Path\To\another\custom.wav

 

 

9. Search for "CameraAlertSettingsMac".  Find the Mac address of the camera where you want to use a custom sound.

10. Under that CameraAlertSettingsMac, the first line should be

CameraAlertSettingForMac:0:AlertType:MotionDetected

 

a few lines later should se something like

CameraAlertSettingForMac:0:Sound:MotionDetected

 

replace that last part after Sound: with the custom ID you used early, such as:

CameraAlertSettingForMac:0:Sound:MyCustomId

 

11. Save the file.

12. Run Commander again.

13. Your new custom sound will be used, and be available from the drop down list for other cameras.  (Instead of 9-10, you could just use the UI to select the custom sound).

14. If something funny happens with the settings file, exit Commander, restore the backup of the file, and run again.

15. You can also use this same approach to customize some of the other built in alerts that normally  have their own sounds (like NewCameraDiscovered, ExistingCameraNotDetected, etc.).  Some of those other alerts are in a different section than the per-camera alerts.  For example, search for 

SiteAlertSetting:1:AlertType:NewCameraDiscovered

 

 

Customized "App Alert" when motion detected

1. Use steps 1-4 from above, then 9.

2. Find the line:

CameraAlertSettingForMac:0:EnableRunAppAlert:False

 

and change the last part from "False" to "True"

3. Fill out the lines

CameraAlertSettingForMac:0:ApplicationPath:
CameraAlertSettingForMac:0:ApplicationArguments:

 

with the full path to the app or script you'd like to run, along with the arguments to pass.  Here's a few of the "variables" you can use when specifying the arguments:

$(CameraName)

$(CameraNumber)

$(CameraMacAddress)

$(CameraIpAddress)

$(CameraProductId)

$(CameraFirmwareVersion)

$(CurrentDateTime)

$(RootVideoDirectory)

 

Note that any of these details are subject to change, or might not be around in some future version, or may be completely different in some future version, so use at your own risk.

 

-Daniel

 

Logi Nu
TAKUMIX
Posts: 1
Registered: ‎12-15-2012
0

Re: Where are .WAV files for desktop alert?

[ Edited ]

I applied this solution, then my custom alert name appeared in the list of Logitech sound alerts, but when I play it from the UI, no sound is played although the others sound alarms play fine. Any idea why ?

 

Here is the configuration file I used:

 

...
/
AlertSounds:1:CustomAlertSoundCount:1
CustomAlertSound:0:Id:MYCUSTOMALARM
CustomAlertSound:0:DisplayName:MYCUSTOMALARM
CustomAlertSound:0:SoundLocation:C:\MYCUSTOMALARM.WAV
/
...

/
AlertsManager:1:CameraAlertSettingsCount:2
AlertsManager:0:CameraAlertSettingsMac:00-12-AB-17-ED-9F
AlertsManager:0:CameraAlertSettingForMacCount:1
CameraAlertSettingForMac:0:AlertType:MotionDetected
CameraAlertSettingForMac:0:EnableNotificationAlert:True
CameraAlertSettingForMac:0:EnableSoundAlert:True
CameraAlertSettingForMac:0:EnableRunAppAlert:False
CameraAlertSettingForMac:0:Sound:MYCUSTOMALARM
CameraAlertSettingForMac:0:ApplicationPath:
CameraAlertSettingForMac:0:ApplicationArguments:
CameraAlertSettingForMac:0:ExtendedParameterCount:2
CameraAlertSettingForMac:0:MinimumMotion:PT1S
CameraAlertSettingForMac:0:MaximumFrequency:PT2M
AlertsManager:1:CameraAlertSettingsMac:00-12-AB-17-71-FD
AlertsManager:1:CameraAlertSettingForMacCount:1
CameraAlertSettingForMac:0:AlertType:MotionDetected
CameraAlertSettingForMac:0:EnableNotificationAlert:True
CameraAlertSettingForMac:0:EnableSoundAlert:True
CameraAlertSettingForMac:0:EnableRunAppAlert:False
CameraAlertSettingForMac:0:Sound:MYCUSTOMALARM
CameraAlertSettingForMac:0:ApplicationPath:
CameraAlertSettingForMac:0:ApplicationArguments:
CameraAlertSettingForMac:0:ExtendedParameterCount:2
CameraAlertSettingForMac:0:MinimumMotion:PT1S
CameraAlertSettingForMac:0:MaximumFrequency:PT2M