Skip to content

Commit

Permalink
trivial touchups to VoiceDataDumper
Browse files Browse the repository at this point in the history
the important thing is, to use this with Mary 5 the voice jar file must be added to the classpath explicitly, since it contains the config file (which is no longer available under MARYBASE/conf/)
  • Loading branch information
psibre committed Jul 12, 2012
1 parent f209a46 commit 212a6b0
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,6 @@ protected void dumpAudio(String fileName) throws IOException {

// implicitly unit-wise buffered writing of samples:
for (int unitIndex = 0; unitIndex < unitDB.getUnitFileReader().getNumberOfUnits(); unitIndex++) {
// if (unitIndex > 727) {
// break;
// }
Unit unit = unitDB.getUnitFileReader().getUnit(unitIndex);
if (unit.isEdgeUnit()) {
continue; // ignore edge units (also, avoid ticket:335)
Expand Down Expand Up @@ -336,10 +333,10 @@ protected void dumpData(String voiceName) throws Exception {
}

/**
* Main method. Call with
* Main method. Add VOICE jar to classpath, then call with
*
* <pre>
* -ea -Xmx1gb -Dmary.base=${workspace_loc:OpenMary}
* -ea -Xmx1gb -Dmary.base=$MARYBASE VOICE
* </pre>
*
* or something similar
Expand Down

0 comments on commit 212a6b0

Please sign in to comment.