Lines Matching refs:synth_out

461       double synth_out;              /* [-1, 1] */  in flow()  local
492 synth_out = sin(2 * M_PI * phase); in flow()
504 synth_out = -1 + 2 * (phase < chan->p1); in flow()
516 synth_out = -1 + 2 * phase; in flow()
530 synth_out = -1 + 2 * phase / chan->p1; /* In rising part of period */ in flow()
532 synth_out = 1 - 2 * (phase - chan->p1) / (1 - chan->p1); /* In falling part */ in flow()
545 synth_out = -1 + 2 * phase / chan->p1; in flow()
547 synth_out = 1; in flow()
549 synth_out = 1 - 2 * (phase - chan->p2) / (chan->p3 - chan->p2); in flow()
551 synth_out = -1; in flow()
563 synth_out = dB_to_linear(chan->p2 * -200); /* 0 .. 1 */ in flow()
565 synth_out = synth_out * exp(phase * log(1 / synth_out) / chan->p1); in flow()
567 synth_out = synth_out * exp((1 - phase) * log(1 / synth_out) / (1 - chan->p1)); in flow()
568 synth_out = synth_out * 2 - 1; /* map 0 .. 1 to -1 .. +1 */ in flow()
571 default: synth_out = 0; in flow()
575 synth_out = DRANQD1; in flow()
579 synth_out = .5 * (DRANQD1 + DRANQD1); in flow()
591 synth_out = chan->c0 + chan->c1 + chan->c2 + chan->c3 in flow()
599 do synth_out = chan->lp_last_out + DRANQD1 * (1. / 16); in flow()
600 while (fabs(synth_out) > 1); in flow()
601 chan->lp_last_out = synth_out; in flow()
611 synth_out = range_limit(chan->hp_last_out, -1, 1); in flow()
623 default: synth_out = 0; in flow()
627 synth_out = synth_out * (1 - fabs(chan->offset)) + chan->offset; in flow()
630 case synth_create: synth_out *= SOX_SAMPLE_MAX; break; in flow()
631 case synth_mix : synth_out = (synth_out * SOX_SAMPLE_MAX + synth_input) * .5; break; in flow()
632 case synth_amod : synth_out = (synth_out + 1) * synth_input * .5; break; in flow()
633 case synth_fmod : synth_out *= synth_input; break; in flow()
635 *obuf++ = synth_out < 0? synth_out * p->gain - .5 : synth_out * p->gain + .5; in flow()