Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incrementality changes take3 #217

Merged
merged 15 commits into from
Oct 6, 2014

Conversation

timobaumann
Copy link
Contributor

No description provided.

psibre and others added 15 commits October 5, 2014 22:30
The problem was that the numbers are calculated precisely and only
afterwards is the returned value limited to a maximum of 19 (for
compatibility with flite). It's not really worth finding out that
the utterance contains 92 words when we then `rail' to 19 anyways,
especially given that DOM traversal is relatively slow.
Synthesis (at least HMM synthesis) re-creates the Targets, again from XML.
We can simply use the DOM objects' UserData facility to cache the Target
objects for later re-use (after all, even though we have sped up the generic
feature processing two checkins ago, it's still quite slow).
make methods and constants static when they can be,
replace LinkedLists with ArrayLists in ModuleRegistry
remove redundant null/truth check,
generic iterator instead of casting,
combine multiple calculations into one formula
It appears that nobody ever sets nor gets them.
Previously, processTargetList() filled in the data into a model given
as a parameter (C-style)
clarify code, move boundary check into HTSPStream,
also, remove debug output from HMM optimization,
and adapt some other code to interface changes
turn the vocoder into real Java, by acquiring variables only as needed
and then making all functions static for which it is feasible.
Also, this patch removes most of the unused options (lpcVocoding,
debug output, gaussian noise, NGAIN) and some potential debug/standalone
code. I hope this is acceptable, I had to somehow reduce complexity
to be able to analyze what's happening.
also, store duration errors from CART selection directly in HTSModel
an arguable change to get rid of HTSDWin as a a separate object
and icorporating HTSPStream into it. I don't believe that the
current modularization would work with any other windowing
implementation anyway, so very little is lost. At the same time,
I found quite a runtime difference when I profiled the inlined
vs. non-inlined versions (some time ago, though).

Conflicts:
	marytts-runtime/src/main/java/marytts/modules/HTSEngine.java
add a few methods, make a bunch of static methods public (instead
of private) and one more protected.
if the complete array given to interpolateNonZeroValues consists of zeros,
then findNextIndexNonZero immediately returns -1, the j-counter starts at i=0,
and countour[j-1] is the -1'th index -> FAIL.
This fix adds a ?-expression to ascertain that j never starts below 1.
@psibre psibre self-assigned this Oct 5, 2014
@psibre psibre added this to the 5.2 milestone Oct 5, 2014
@psibre psibre merged commit 78e5657 into marytts:master Oct 6, 2014
@psibre psibre mentioned this pull request Oct 6, 2014
@timobaumann timobaumann deleted the incrementalityChangesTake3 branch July 8, 2016 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants