pitch_mark

Functions

int main(int argc, char *argv[])

pitch_mark [ option ] [ infile ]

  • -s double

    • sampling rate [kHz] \((6 < F_s \le 98)\)

  • -L double

    • minimum F0 to search for [Hz] \((10 < F_l < F_h)\)

  • -H double

    • maximum F0 to search for [Hz] \((F_l < F_h < 500F_s)\)

  • -t double

    • voicing threshold \((-0.5 \le T \le 1.6)\)

  • -o int

    • output format

      • 0 binary sequence

      • 1 position in seconds

      • 2 position in samples

      • 3 sine waveform

      • 4 cosine waveform

  • infile str

    • double-type waveform

  • stdout

    • double-type pitch mark

The below is a simple example to extract pitch marks from data.d

pitch_mark -s 16 -L 80 -H 200 -o 0 < data.d > data.gci

Parameters:
  • argc[in] Number of arguments.

  • argv[in] Argument vector.

Returns:

0 on success, 1 on failure.

See also

pitch