Synthesis - synth




Synthesis - synth


Synthesis from previously analysed data files.

Synth reads the files with the following suffixes appended to the stem of the sound file name (generated by PetC and ana, the _ps files are read only in pitch synchronous mode):

i_T<step>.pitch[_ps]
Fundamental frequency (float)

i_T<step>.pitch_q[_ps]
Fundamental frequency if coding (-q) (float)

i_<mode -C>_T<step>.coupe[_ps]
Cut frequency between voiced and unvoiced band (float)

i_<mode -C>_T<step>.coupe_cod[_ps]
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>.phase[_ps]
Exact phases: analysis time (float), number of frame (int), number of phases (int), phases (float)

_T<step>.ampl[_ps]
Amplitudes: analysis time (float), number of frame (int), number of amplitudes (int), amplitudes (float)

_T<step>.en[_ps]
Energy (float)

_T<step>.gain[_ps]
Gain (float)

_T<step>.rien_ps
Absence of (speech) signal (int, 1 if nothing, 0 if signal present)

_T<step>.trans[_ps]
Transitions: head: number of transitions nt (int), f0 of transitions (float), then per frame: analysis time (float), detection (int, 0 if no transition, number of partials np if it is), np amplitudes of partials (float), np phases of partials (float), nt delay indices (n_j) for enhanced harmonic coding with frequency domain transition modeling (int), nt gain values (float)

_T<step>.env<method>[_b|_d]_<order>[_q][_ps]
Envelope parameters. The file with _b contains the residual noise envelope, the file without contains the envelope of the sinusoidal part, which is denoised, if _b is present (flag -d). The _q file is the output of DECOD (see ana for format).

Possible methods:

.mod
File with modification data (option -M)



Usage

SYNTH:  
	 SYNTH est un programme de Synthese  
 
description:  
	 le programme necessite le nom du fichier original (sans extension)  
USAGE:  
 SYNTH -I original 
 SYNTH -O original  for synthesis with data from pitch synchronous analysis 
 
 If original ends with '-', native short samples are written to stdout, 
 otherwise the output file is written in raw SGI short format in a directory 
 whose name is the stem of the filename part of the original. 
 The directory must exist. 
 
OPTIONS: 
  NO SPACE between flag and value. 
  The default is given in (parenthesis) or marked by an *asterisk. 
 
 pour avoir de l'aide -h  
 -s synthese des pics(1) du bruit(2) ou de l'ensemble (*0)  
 -A a preciser si on ne veut pas utiliser le modele de transitions 
 -F freq_ech(Hz) (16000 par defaut)  
 -T temps entre deux instants d'analyse (ms) (20ms par defaut)  
 -E type de calcul pour l'enveloppe (1:DC* 2:AR 3:CPLE 4:ARPLE)  
 -S type de synthese (0:param constants* 1:interpolation)  
 -B enveloppe de bruit (0=lpc ou 1=cepstre whittle ou 2:lpc + ph aleatoire sur trames voisees)   
 -b ordre de l'enveloppe de bruit   
 -o ordre de la parametrisation  
 -M use file with pitch/time/amplitude modifications, generated with FAIRE 
 -C frequence de coupure (0*, 1, 2, 3, 4)  
 -c frequence de coupure (valeur)  
 -f ordre du filtrage median des variances du bruit (0 : pas de filtrage * et sinon donner l'ordre  
 -e si precise, pas de modulation de bruit  
 -a si precise, calcul des amplitudes a partir de l'enveloppe cepstrale  
 -v verbose  
 -Vx voisement vaut 0 ou x  
 -d choix de l'enveloppe debruitee  
 -z choix du postfiltrage  
 -g pas de calcul du gain  
 -i nom du 2eme son (mode test)  
 -L taille de la fenetre de synthese des sinusoides en mode OLA 
 -Q[pe] pour faire la synthese du son pres a encoder mais non code avec eventuellement l'utilisation d'un fichier quantifie (p->pitch, c->Fc, e->enveloppe)  
 -q pour faire la synthese du son decode 
 -Hn permet de conserver n amplitudes quand on fait des transfos 



Source Code

src/main/synth.c ( 40.0KB, 04-May-1999)
Main source file
src/synthese/synth_bruit_PROS5.c ( 5.1KB, 21-Apr-1999)
noise synthesis


Top Back to top - Diemo Schwarz - last update Tue May 04 21:34:50 1999