https://wiki.allstarlink.org/index.php?title=Special:NewPages&feed=atom&hideredirs=1&limit=50&offset=&namespace=0&username=&tagfilter=&size-mode=max&size=0AllStarLink Wiki - New pages [en]2024-03-28T18:30:32ZFrom AllStarLink WikiMediaWiki 1.35.0https://wiki.allstarlink.org/wiki/Sounds_-_Files_and_RecordingSounds - Files and Recording2023-12-21T16:00:34Z<p>KB8JNM: /* Sound File Locations */</p>
<hr />
<div>=Sound File Locations=<br />
<br />
<br />
Asterisk searches a default sound file path of /var/lib/asterisk/sounds unless a path name is specified with the name of the sound file.<br />
<br />
Asterisk/app_rpt stores its sound files in /var/lib/asterisk/sounds/rpt. <br />
<br />
Custom 'NODE NAME' messages are stored in /var/lib/asterisk/sounds/rpt/nodenames. Those files are equivalent to whatever you wish to replace Allison's saying the node number.<br />
<br />
If a sound file exists there for the node number, it will play, otherwise, Allison will speak the node# when required on connect and disconnect messaging.<br />
<br />
=Sound File Formats=<br />
<br />
<br />
Asterisk supports many common sound file formats, but we use these 3 universally- ulaw, pcm, and gsm.<br />
<br />
All sound files should be recorded at 8KHz in one of these formats. <br />
<br />
All files should be headerless.<br />
<br />
<br />
=Sound File Naming Convention=<br />
<br />
<br />
Sound files can have any valid file name, but the extension must identify one of the supported formats (i.e. gsm, pcm, or ulaw)<br />
<br />
Note: When specifying an ID message file in rpt.conf, you might omit the extension and just supply the file name. Asterisk will accept known formats to it, looking in particular order. <br />
<br />
It is better to specify the path and extension to know exactly what file is to be played when debugging. Especially as your system expands and search paths change.<br />
<br />
A final note to check/change file ownership and permissions appropriately for files you create.<br />
<br />
<br />
=Sound File Recording and Manipulation=<br />
<br />
<br />
There are many utility programs to allow you to convert or manipulate your sound files.<br />
<br />
SoX. MPEG123 are 2 of those. It had been somewhat a standard within our group to use 'audicity' for editing sound files, but there are others out there that do just as well and a bit skinnier.</div>KB8JNMhttps://wiki.allstarlink.org/wiki/Sleep_Mode_enable_and_controlSleep Mode enable and control2023-12-21T15:16:52Z<p>KB8JNM: </p>
<hr />
<div>Implementing Sleep Mode on a Node<br />
<br />
Sleep mode allows the local repeater transmitter to remain quite after a set period of inactivity. The repeater transmitter will be awakened if the following events occur:<br />
<br />
1. An "awaken from sleep" COP command is decoded on any command source<br />
<br />
2. There is traffic coming in from a remote node<br />
<br />
3. There is telemetry coming in from a remote node.<br />
<br />
<br />
Additionally, the sleep inactivity timer will be reset if there are any signals on the repeater input which are received during the time the system is awake.<br />
<br />
<br />
COP Methods<br />
<br />
51 Enable Sleep Mode<br />
<br />
52 Disable Sleep Mode<br />
<br />
53 Awaken from Sleep<br />
<br />
54 Go back to sleep when the TX carrier drops<br />
<br />
<br />
Node Stanza<br />
<br />
sleeptime= - number of seconds of tx inactivity before going to sleep. The default value for this setting is 900 seconds (15 minutes). <br />
Example:<br />
<br />
sleeptime=300<br />
<br />
Note: <br />
The receiver is always active while asleep. Sleep prevents the system from IDing/TX at interval when there has been no activity as an example.<br />
<br />
You should also note the implications of having a shorter sleeptime than ID interval.<br />
<br />
Many using 'half duplex' links/remotes may want to turn it off for various reasons on the link/remote node.</div>KB8JNM