40 #ifdef P_R_O_T_O_T_Y_P_E_S 59 #define contrl_1 contrl_ 184 integer nout, ivuv[16], i__, j;
381 i__1 =
min(*pitch,156);
382 *pitch =
max(i__1,20);
384 for (i__ = 1; i__ <= i__1; ++i__) {
388 r__1 =
min(r__2,.99f);
389 rc[i__] =
max(r__1,-.99f);
392 ivuv, ipiti, rmsi, rci, &nout, &ratio, st);
395 for (j = 1; j <= i__1; ++j) {
402 bsynz_(pc, &ipiti[j - 1], &ivuv[j - 1], &buf[*buflen], &rmsi[j - 1]
403 , &ratio, &g2pass, st);
404 deemp_(&buf[*buflen], &ipiti[j - 1], st);
405 *buflen += ipiti[j - 1];
414 for (i__ = 1; i__ <= 180; ++i__) {
415 speech[i__] = buf[i__ - 1] / 4096.f;
420 for (i__ = 1; i__ <= i__1; ++i__) {
421 buf[i__ - 1] = buf[i__ + 179];
int irc2pc_(real *rc, real *pc, integer *order, real *gprime, real *g2pass)
int synths_(integer *voice, integer *pitch, real *rms, real *rc, real *speech, integer *k, struct lpc10_decoder_state *st)
int deemp_(real *x, integer *n, struct lpc10_decoder_state *st)
int bsynz_(real *coef, integer *ip, integer *iv, real *sout, real *rms, real *ratio, real *g2pass, struct lpc10_decoder_state *st)
int pitsyn_(integer *order, integer *voice, integer *pitch, real *rms, real *rc, integer *lframe, integer *ivuv, integer *ipiti, real *rmsi, real *rci, integer *nout, real *ratio, struct lpc10_decoder_state *st)