Using f0

f0 [options]

What does f0 do ?

f0 is a program that allows the fundamental frequency calculation of fft files. Two types from files (f0 only or extended, see below) can be generated in two different formats (ascii or sdif, see below). So, the possible extensions are : .f0, .f0.sdif, .f0.long, .f0.long.sdif.

A .f0 file is an ASCII file with two columns containing the time in seconds of the analysed frames and the corresponding fundamental frequencies in Hertz:

time_in_secs_1     f0_value_1
time_in_secs_2     f0_value_2
time_in_secs_3     f0_value_3
    .                  .
    .                  .
    .                  .

Here is an example of an .f0 file :

0.020000        117.934227
0.030000        74.105606
0.040000        98.863930
   .               .
   .               .
   .               .

Here is the "text" conversion of an .f0.sdif file :


SDIF

1NVT
{
StreamID        0;
Date    Wed_Jun__7_15.58.58_2000_;
TableName       GenericBreakPointFunction;
WrittenBy       Pm_Version_1.2.2;
}


SDFC

1FQ0    1       0       0.02
  1FQ0  0x0004  1       1
        117.934

1FQ0    1       0       0.03
  1FQ0  0x0004  1       1
        74.1056

1FQ0    1       0       0.04
  1FQ0  0x0004  1       1
        98.8639
        .
        .
        .
ENDC
ENDF
See option -L for the specifications of .long and .long.sdif files.

f0 is available on Unix platforms at Ircam and is called from a command line using the options below :

Necessary parameters

Facultative parameters