Using an ESPS Parameter File for get_f0

Many ESPS commands allow the use of parameter files to set parameters used by the algorithms (instead of specifying them as command-line arguments). For example, the man page of get_f0 (for pitch tracking) lists the parameters min_f0 and max_f0 that will specify the minimum and maximum F0 values to track. The default values for these parameters are 50.0 and 550.0 Hertz. To modify these with speaker-specific values for more accurate pitch tracking, create a parameter file with the following contents:

float min_f0 = 75;
float max_f0 = 300;

The format of each line of the parameter file is:

dataType name = value;

The data type for each parameter should be available in the man page for the command. To run the command using these parameters, you can either simply name the parameter file params and put it in the directory where you run the command, or use the -P command line option to specify the name of the file. For example, the following command will use the parameter file f0params.txt to produce pitch estimates for the audio file filename.wav:

$ get_f0 -P f0params.txt filename.wav filename.f0

Advertisement

Tags:

2 Responses to “Using an ESPS Parameter File for get_f0”

  1. linzhavon Says:

    Hi, how to compile get_f0 in the ESPS package. I find many pepople can’t compile it.
    can you give me a copy of get_f0 which have compiled success?
    thanks a lot.

    • keelan2 Says:

      I’ve compiled ESPS successfully under both Linux and Max OS. The necessary steps depend heavily on the details of your system. I would be happy to send you a copy of my pre-compiled binary get_f0 file, if you think that would be useful to you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.