Scroll ignore




Scroll ignore


Article status


kb-articleINLINE

Greenexternal  

Link visible only for SG & GK


kb-articleINLINE

Yellowinternal

Internal document. This article cannot be provided  outside of Bosch.




You need to first create an audio file in a compatible format (PCM, Mono, 8kHz, 16Bit).


Step-by-step guide


  1. Open an existing audio file (wav, mp3, etc)
  2. Convert Stereo to Mono (if applicable): Tracks →Mix → Mix Stereo Track to Mono


  3. Tracks -> Resample -> 8000 Hz



  4. Effect -> Volume and Compression → Normalize -> Remove DC offset -> Apply



  5. File -> Export -> Export Audio -> Save as type: 'Other uncompressed files', Then click on ‘options’ Header: Raw (header-less), Encoding U-Law -> Save



  6. Rename output file from [xyz].raw to [xyz].g711


_____________


Now we need to load the audio file into the camera

  1. Using the WEB GUI->Configuration->Service->Maintenance-> Configuration upload.
    Note that not always the progress will be shown but upload will happen.



  2. The audio file can be played using the RCP+ command CONF_AUDIO_OUTPUT (0x09b9), payload=4 (Sample), which can of course also be sent to the device itself using ATSL scripting.

  3. A trigger can be any alarm or event:
    In web browser:
    Play the Audio file: 

    https://<IPaddress>/rcp.xml?command=0x09b9&type=T_DWORD&protocol=TCP&direction=WRITE&num=1&payload=4

    Stop the Audio playback:

    https://<IPaddress>/rcp.xml?command=0x09b9&type=T_DWORD&protocol=TCP&direction=WRITE&num=1&payload=0



  4. In the Alarm task Editor of the IP Camera Copy the below ATSL script:

    //{{audio_begin
    // Create 2 RCP commands, one to Play the file and one to stop playing the Audio
    RcpCommand playAudio := { Command("rcp.xml?command=0x09b9&type=T_DWORD&protocol=TCP&direction=WRITE&num=1&payload=4") };
    RcpCommand stopAudio := { Command("rcp.xml?command=0x09b9&type=T_DWORD&protocol=TCP&direction=WRITE&num=1&payload=0") };
    
    // E.g. For easy testing simply use the relay to trigger, but can just as easily be connected to IVA, Alarm Input etc.
    if(Relay(1)) then playAudio else stopAudio;
    //}}audio_end

    If there is no sound coming out of the camera then check in the audio settings for the output volume and always press ‘set’



Scroll ignore


advancedINLINE


greenINLINE

MANDATORY --> after finishing this article, if you wrote advanced content in this section , you must to manually add the "advanced" label  This action is required to indicate that this article contains ADVANCED instructions for CTS/ SG or GK.

DO NOT CHANGE ANYTHING IN THIS SECTION!

advanced section

Please contact CTS / SG or GK team to view this section from draft space, if necessary


adINLINE

IMPORTANT! --> the content itself from here will be not displayed. The content from here will be displayed only when the "ad" label will be set after article creation. Only CTS/ SG or GK are allowed to use "ad" label.

PLEASE do not set "ad" label from beginning. Use it only when you need this info and REMOVE the "ad" label when finished!

Information below is for CTS, SG, GK reference and must be kept internal only.

If you are part of CTS, SG or GK team, please hide this section when you have finished using this article!

DO NOT CHANGE ANYTHING IN THIS SECTION!


This section will not be published externally and / or automatically downloaded in the PDF file!

Type your text/ advanced information here

Please write here the statement/answer/explanation

Add pictures, if necessary







Scroll only
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue


You are using an Offline Version of these Article, please ensure to regularly check the corresponding online article on the Bosch Building Technologies Knowledge Base for any updates. Use the date and version information of the document as reference.

This is  created  

Check for Updateprimaryhttps://community.boschsecurity.com/t5/Bosch-Building-Technologies/ct-p/bt_community