Pitch and voicing - PetC - pc




Pitch and voicing - PetC - pc


PetC (pitch et coupe) performs fundamental frequency and maximum voiced frequency analysis of a sound file. It produces the files with the following extensions appended to the stem of the sound file in a directory named like the stem of the sound file (the directory must already exist). The files contain one item of the data type indicated in parenthesis per frame.

i_T<step>.pitch
Fundamental frequency (float)

i_<mode -c>.coupe
Cut frequency between voiced and unvoiced band (float)

i_<mode -c>.coupe_cod
If coding is enabled (-q, attention to choose an appropriate number of bits with -c), cut frequency between voiced and unvoiced band (float)

_T<step>.ta
Analysis points in samples (int)

_T<step>.rien
Detection of absence of (speech) signal (int, 1 if nothing, 0 if signal present)

_T<step>.vois
Voicing (float)

_T<step>.inharm
Inharmonicity (float)

_T<step>_<fftsize>.coeffvois
Voicing coefficients (float)

Between the base file name and the extensions, some parameter settings are inserted, e.g. _T<step time> from option -T.



Usage

PetC: 
 PetC (pitch et coupe) est un programme d'Analyse du pitch et de Fc 
 
USAGE: 
 PetC -O [-]soundfile [options...] 
 
 -O soundfile 	 reads short samples from raw file in SGI format 
 -O -soundfile	 reads short samples from standard input in native format 
 
 Output files are created in a directory whose name is the stem of the 
 filename part of the soundfile.  The directory must exist. 
 
OPTIONS: 
  NO SPACE between flag and value. 
  The default is given in (parenthesis) or marked by an *asterisk. 
 
 -P Pitch a calculer (par defaut on ne calcule que Fc) 
 -F freq_ech(Hz) (8000) 
 -T temps entre deux instants d'analyse en ms (20) 
 -S Seuil d'ecretage des pics (from the maximum peak) en dB (30) 
 -R Seuil de detection de silence/parole (500) 
 -V1 Seuil de voisement global (0.15) 
 -V2 Seuil de voisement local (0.2) 
 -m F0min (80Hz) 
 -M F0max (300Hz) 
 -f Fmax (2000Hz) 
 -c calcul de Fc par : l'inharmonicite (0*), 1, ou sinusoidalite (2) 
 	 (3) : avec 1 bit et (4) : avec 2 bits  
 -w  et valeur de la taille de fenetre  initiale en ms (0) 
 -o  ordre du filtrage median de Fc (*0 si pas de filtrage) 
 -p  ordre du filtrage median de f0 (*0 si pas de filtrage) 
 -g taille du pas (ms) pour calcul du gain (0) 
 -q switch on coding, implies -c4 if no -c is given.  (Dans le cas du 
     codage, les trames de transitions ne sont pas traitees.  Il vaut 
     quand meme mieux les representer par des sommes de sinusoides -> les 
     voiser artificiellement.) 
 -v verbose 
 -X print generated and read file names and exit 
 -h for this help 
 



Source Code

src/main/PetC.c ( 28.6KB, 30-Apr-1999)
Main source file


Top Back to top - Diemo Schwarz - last update Tue May 04 20:53:31 1999