-
Notifications
You must be signed in to change notification settings - Fork 0
/
ntrac.config.example
48 lines (39 loc) · 3.23 KB
/
ntrac.config.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# TRANSCRIPTION SERVICES
# Google
google_rclone="Google:mybucket" # Rclone remote for Google Cloud Storage, must include bucket name
google_key="AIzaSyDr7fEyGyA19CroJptSukVg2vU08F8lEbU" # API key for your project
language_alt="'fr-FR', 'de-DE'" # Google can auto-detect the language. Provide alternatives to default language here.
# (Using this, you can have multiple languages in one recording as well)
# See https://cloud.google.com/speech-to-text/docs/languages for available languages
# Auphonic
auphonic_user="myusername"
auphonic_pass="myPassw0rd"
auphonic_preset_multi="L52aswOLCUJYAhPcHeNVeE" # UUID of an Auphonic multitrack preset. Optional, BUT if you don't provide one, *auphonic_stt* mandatory
auphonic_preset_single="" # UUID of an Auphonic preset, in case you have single-file-recordings. Optional, BUT if you don't provide a UUID here, *auphonic_stt* mandatory
auphonic_stt="Qw5wpWCyidowl98Edj8b49" # UUID of automatic speech recognition service, configured on auphonic.com
auphonic_rclone="Auphonic:" # optional: Rclone remote for file exchange with Auphonic, can be same as *destination* or *google_rclone*
auphonic_in="FWT6OWLDU82r3EPqSsHgce" # optional: UUID of service for incoming file transfers, must point to same location as *auphonic_rclone*
auphonic_out="" # optional: UUID of service for outgoing file transfers, will be used if *destination* is not set.
# *auphonic_in* and *auphonic_out* can be identical
# DEFAULT SETTINGS
# all of these can be overridden when calling the script with corresponding parameters
auphonic=false # if true Auphonic transcription is always triggered, must be configured below
google=false # if both are false and no service is called from command line, only a mono mix will be created
language="en-US" # default language
delete_input_files=true # if true, input files will be deleted from input folder (they will be copied to the output destination, though) - recommended for use with FreePBX
destination="" # leave empty (or set to "dir") to use directory of output file
# or e.g. *destination="/path/to/folder"* to use a writable folder on local system
# or e.g. *destination="Dropbox:transcripts"* to use a folder on a Rclone remote called Dropbox
# MISC SETTINGS
# location of SOX, e.g. "/usr/bin/sox"
sox="sox"
# Rclone config file, e.g. /home/asterisk/.config/rclone/rclone.conf
rcloneconfig="$HOME/.config/rclone/rclone.conf"
# number of minutes after which transcription should be considered failed
timeout=30
# If you use nTRAC with FreePBX, the created mono-mix will additionally be copied to the *input* directory for use by the PBX (e.g. User Control Panel).
# Usually you would also set *delete_input_files=true* above
freepbx=true
# Create a log? Where?
debug_mode=false
log_file="/usr/local/bin/nTRAC.log"