klatt icon indicating copy to clipboard operation
klatt copied to clipboard

cascade synthesis mode does not work

Open rhdunn opened this issue 14 years ago • 2 comments

Running example1.par causes a sound spike near the end and example2.par is completely unintelligible when using cascade synthesis. Parallel synthesis works fine.

NOTE: This is also the case with the original 3.03 and 3.04 klatt sources.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

rhdunn avatar Sep 23 '11 12:09 rhdunn

Replacing:

casc_next_in = antiresonator(&(globals->rnz),glotout);

with:

casc_next_in = glotout;

causes example1.par to play normally and example2.par to play legibly (with fluctuating noise) until the end where it becomes illegible.

rhdunn avatar Sep 27 '11 20:09 rhdunn

The sound spike in example1.par was due to the output value being +/- a very big number and getting clamped to INT_MAX/INT_MIN. This in turn was due to there being an aspiration output specified, triggering the antiresonator code. The antiresonator was operating with a frequency f of 0 and then doing a' = 1.0 / a with a being 0 as a result of f being 0.

This still leaves example2.par slowly degenerating with fluctuating noises gradually dominating the audio output.

rhdunn avatar Sep 28 '11 06:09 rhdunn