Edinburgh Speech Tools  2.1-release
tilt_analysis

Produce tilt descriptions from F0 contours

Synopsis

tilt_analysis [input f0 file] -e [input event label file] -o [output file][options]Summary: produce rfc file from events and f0 contour [-h ] [-itype string] [-ctype string] [-s float] [-startt float] [-c string] [-start float] [-end float] [-from int] [-to int] [-event_names string] [-sil_names string] [-e ifile] [-o ofile] [-otype string] [-limit float] [-range float] [-smooth ] [-w1 float] [-w2 float] [-sf0 ofile] [-rfc ]

tilt_analysis produces a Tilt or RFC analysis of a F0 contour, given a set label file containing a set of approximate intonational event boundaries.

A detailed description of the Tilt intonation model can be found in the Theoretical Overview section.

Options

  • -h: Options help
  • -itype: string Input file type (optional). If no type is specified type is automatically derived from file's header. Supported types are: none, esps, est, est_binary, htk, htk_fbank, htk_mfcc, htk_mfcc_e, htk_user, htk_discrete, ssff, xmg, xgraph, ema, ema_swapped, ascii
  • -ctype: string Contour type: F0, track
  • -s: float Frame spacing of input in seconds, for unheadered input file
  • -startt: float Time of first frame, for formats which don't provide this
  • -c: string Select a subset of channels (starts from 0). Tracks can have multiple channels. This option specifies a list of numbers, refering to the channel numbers which are to be used for for processing.
  • -start: float Extract track starting at this time, specified in seconds
  • -end: float Extract track ending at this time, specified in seconds
  • -from: int Extract track starting at this frame position
  • -to: int Extract track ending at this frame position
  • -event_names: string List of labels to be classed as events. Lists are specified as quoted strings with spaces separating each item, e.g.: "a b c d"
  • -sil_names: string List of labels to be classed as silence Lists are specified as quoted strings with spaces separating each item, e.g.: "pau sil #"
  • -e: ifile Input event label file. This file contains the list of events to be parameterized, each with its approximate start and stop time marked. This file also contains silencesn which are used to decide where to insert and stop phrases
  • -o: ofile Output label file
  • -otype: string File type of output file
  • -limit: float start and stop limit in seconds. The rfc matching algorithm defines a search region within which it tries all possible rise and fall shapes. This option specifies how much before the input label start time and how much after the input label end time the search region should be. Typical value, 0.1
  • -range: float Range of RFC search region. In addition to the limit, the range defines the limits of the rfc matching search region as a percentage of the overal input label duration. Typical value, 0.25 (the search region is the first and last 25% of the label)
  • -smooth: Smooth and Interpolate input F0 contour. rfc matching can only operate on smooth fully interpolated contours. This option must be used if the contour hasn't already been smoothed and interpolated
  • -w1: float length in seconds of smoothing window prior to interpolation. Default value 0.05
  • -w2: float length in seconds of smoothing window after to interpolation. Default value 0.05
  • -sf0: ofile Save f0 contour that results from smoothing
  • -rfc: Save as RFC parameters instead of tilt

Input Intonation Files

A label file containing approximate intonational event boundaries must be given as input. A typical file in xlabel format is shown below:

0.290  146 sil
0.480  146 c
0.620  146 a
0.760  146 c
0.960  146 a
1.480  146 c
1.680  146 a
1.790  146 sil

The set of intonational events can be given on the command line with the -event_names option. The default set is "a rb arb m mrb" and so the above example would not need the -event_names option. The label "c" (connection) is to separate events, in effect giving each event a start time as well as a end time. The silence labels are important also: they specify where phrases should start and end.

Input F0 Files

tilt_analysis can operate on all the F0 file types supported by the EST library. Tilt analysis can only operate on smooth and continuous F0 contours.(i.e. F0 values must be defined during unvoiced regons). If the input contour is not in this format, use the -smooth option. The -w1 and -w2 options can be used to control the amount of smoothing. The smoothed version of the input contour can be examined by saving it using the -sf0 option.

Output Intonation Files

The output will be a label file containing the tilt parameters for the events in feature format. An example, in xlabel format, is shown below:

intonation_style tilt
#
0.29 26     phrase_start ; ev.f0 115.234 ; time 0.29 ; 
0.53 26     a ; int_event 1 ; ev.f0 118.171 ; time 0.53 ; tilt.amp 21.8602 ; 
              tilt.dur 0.26 ; tilt.tilt -0.163727 ; 
0.77 26     a ; int_event 1 ; ev.f0 112.694 ; time 0.77 ; tilt.amp 27.0315 ; 
              tilt.dur 0.32 ; tilt.tilt -0.446791 ; 
1.53 26     a ; int_event 1 ; ev.f0 100.83 ; time 1.53 ; tilt.amp 7.507 ; 
              tilt.dur 0.22 ; tilt.tilt -0.296317 ; 
1.79 26     phrase_end ; ev.f0 92.9785 ; time 1.79 ; 

The -rfc option will make a file containing the RFC parameters instead:

intonation_style rfc
#
0.29 26     phrase_start ; ev.f0 115.234 ; time 0.29 ; 
0.53 26     a ; ev.f0 118.171 ; rfc.rise_amp 8.19178 ; rfc.rise_dur 0.12 ; 
               rfc.fall_amp -13.6684 ; rfc.fall_dur 0.14 ; time 0.53 ;
 0.77 26     a ; ev.f0 112.694 ; rfc.rise_amp 6.50673 ; rfc.rise_dur 0.1 ;
                rfc.fall_amp -20.5248 ; rfc.fall_dur 0.22 ; time 0.77 ; 
1.53 26     a ; ev.f0 100.83 ; rfc.rise_amp 1.55832 ; rfc.rise_dur 0.11 ; 
                rfc.fall_amp -6.09238 ; rfc.fall_dur 0.11 ; time 1.53 ; 
1.79 26     phrase_end ; ev.f0 92.9785 ; time 1.79 ; 

The feature in the header, "intonation_style tilt" or "intonation_style rfc" is needed for the tilt_synthesis program to work.