# Default configuration for Transcriber

# Personal configuration will be saved upon request in the following file:
options,file  "~/.transcriber"

# defaults scribe's name will be used for initialisation of episode attributes
scribe,name   "(unknown)"
# does user want shape calculation for rapid display of signal ?
shape,wanted  -1
# shall we try to compute shape in background as a subprocess ?
shape,bg      1
# minimal duration (in sec.) for needing a shape
shape,min     30
# directory where to store signal shapes
path,shape    ""
# multiplying factor for frequency during playback - not yet supported
playbackSpeed 1.0
# flag to request for automatic plaback after signal selection
play,auto     0
#filename of beep sound file to be played between segments
play,beep	""
# pause between two segments
play,delay    0.3
# interval (in min) between automatic save
autosave,time 5
# backup extension for automatically saved files
backup,ext    ~
# file name for work monitoring
trace,name    ""
# interval (in min.) after which a pause is detected
trace,time    10
# save configuration before leaving
keepconfig 0
# ask for debug options
debug    0
# automatic space insertion
space,auto 0
# check spelling of capitalized names
spell,names 0

# default language for interface (in iso639 code)
lang	"en"
# file for localization (default file if empty)
file,local ""

# some of iso639 language codes
language	{
	{ar	Arabic}
	{bg	Bulgarian}
	{cs	Czech}
	{da	Danish}
	{de	German}
	{el	Greek}
	{en	English}
	{es	Spanish}
	{fa	Persian}
	{fi	Finnish}
	{fr	French}
	{he	Hebrew}
	{hi	Hindi}
	{hu	Hungarian}
	{it	Italian}
	{ja	Japanese}
	{ko	Korean}
	{la	Latin}
	{nl	Dutch}
	{no	Norwegian}
	{pl	Polish}
	{pt	Portuguese}
	{ro	Romanian}
	{ru	Russian}
	{sv	Swedish}
	{tr	Turkish}
	{zh	Chinese}
}

# list of noise events with descriptions
noise	{
	{"r"	"[r] respiration"}
	{"i"	"[i] inspiration"}
	{"e"	"[e] expiration"}
	{"n"	"[n] reniflement"}
	{"pf"	"[pf] soufle"}
	{""	""}
	{"bb"	"[bb] bruit de bouche"}
	{"bg"	"[bg] bruit de gorge"}
	{"tx"	"[tx] toux, rclement,ternuement"}
	{"rire"	"[rire] rires du locuteur"}
	{"sif"	"[sif] sifflement du locuteur"}
	{""	""}
	{"b"	"[b] bruit indtermin"}
	{"conv"	"[conv] conversations de fond"}
	{"pap"	"[pap] froissement de papiers"}
	{"shh"	"[shh] souffle lectrique"}
	{"mic"	"[mic] bruits micro"}
	{"rire en fond" ""}
	{"toux en fond" ""}
	{"indicatif" ""}
	{"jingle" ""}
	{"top"    ""}
}

# list of pronounciation events with descriptions
pronounce {
	{"*"	"mal prononc"}
	{"lapsus"	""}
	{"pi"	"[pi] inintelligible"}
	{"pif"	"[pif] inintelligible/faible"}
	{"ch"	"[ch] voix chuchote"}
	{""	""}
	{"lu"		"sigle pel"}
	{"pel"	"sigle lu"}
	{"19 cent..." ""}
}

# list of lexical events with descriptions
lexical {
	{"?"	"orthographe incertaine"}
	{"^^"	"mot inconnu"}
	{"nologisme" ""}
	{"()"	"rupture de syntaxe"}
}

# format strings for event extent (%s is replaced with event description)
event,instantaneous	"\[%s]"
event,begin	"\[%s-]"
event,end	"\[-%s]"
event,previous	"+\[%s]"
event,next	"\[%s]+"

# format string for event type
event,comment	"{%s}"
event,language	"lang=%s"
event,pronounce	"pron=%s"
event,lexical	"lex=%s"
event,noise	"%s"

# bindings for insertion of events or special chars in text editor
# with a list of pairs sequence-string/replacement-char (e.g. ' e => e acute)
bindings     {
   {<Alt-r> {<Event desc="r" type="noise" extent="instantaneous"/>}}
   {<Alt-i> {<Event desc="i" type="noise" extent="instantaneous"/>}}
   {<Alt-b> {<Event desc="b" type="noise" extent="instantaneous"/>}}
   {<Alt-plus> {<Event desc="b" type="noise" extent="previous"/>}}
}
# example of bindings for french chars
#bindings     {{`a } {^a } {'e } {`e } {^e } {\"e } {^i } {\"i } {^o } {^u } {`u } {\"u } {ae } {,c }}

# list of words + comments at user convenience
glossary {}

# conversion of olds [...] events to XML tags for early .xml format
convert_events 0

# Signal and transcription format
sig,name      ""
sig,remote    0
sig,server    ""
sig,port      ""
sig,rate      16000
sig,channels  mono
sig,header	0

curs,pos	0
sig,gain	0

path,sounds   ""
trans,name    ""

# standard extensions for sounds, transcriptions, labels.
ext,snd       {".au" ".wav" ".snd" ".sph" ".sig" ".sd" ".smp" ".aif" ".aiff" ".mp3"}
ext,trs       {".xml" ".trs" ".typ"}
ext,lbl       {".lab" ".lola" ".lbl" ".phn" ".wrd" ".txt"}

# Colors
color,bg      "#f2e6c8"
color,bg-sel  "#d0b098"
color,fg-sync "black"
color,bg-sync "#96c3b6"
color,hi-sync "#a8d8c8"
color,fg-turn "black"
color,bg-turn "#96bacc"
color,fg-sect "black"
color,bg-sect "#e28c86"
color,fg-back "black"
color,bg-back "#929496"
color,fg-text "black"
color,bg-text "#d9d9d9"
color,hi-text "#f0f0f0"
color,fg-evnt "grey50"
color,bg-evnt "#d9d9d9"

# Fonts
font,text    {courier 12}
font,event   {times 14 italic}
font,axis    {courier 10}
font,list    {courier 12 bold}
font,info    {helvetica 10 bold}
font,mesg    {helvetica 10}
font,trans   {helvetica 10}

# Some geometry to be saved
geom,.		""
geom,.sect	""
geom,.turn	""
geom,.evt	""
geom,.gain	""

# Display
view,.cmd           1
view,.inf           0
view,.snd2          0

# Principal signal configuration
.snd.w,height       100
.snd.w,resolution   30
view,.snd.scr.reso  1
view,.snd.seg0      1
view,.snd.seg1      1
view,.snd.seg2      1
view,.snd.bg        1

# Second signal configuration
.snd2.w,height      50
.snd2.w,resolution  300
view,.snd2.scr.reso 1
view,.snd2.seg0     1
view,.snd2.seg1     1
view,.snd2.seg2     1
view,.snd2.bg       1
