From 212a6b0d67f1e0ceb9a2f83aec348cfa780d1fe5 Mon Sep 17 00:00:00 2001 From: Ingmar Steiner Date: Fri, 6 Jul 2012 15:10:33 +0100 Subject: [PATCH] trivial touchups to VoiceDataDumper 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/) --- .../marytts/unitselection/analysis/VoiceDataDumper.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/marytts-runtime/src/main/java/marytts/unitselection/analysis/VoiceDataDumper.java b/marytts-runtime/src/main/java/marytts/unitselection/analysis/VoiceDataDumper.java index 3968edda24..c6c4e75faf 100644 --- a/marytts-runtime/src/main/java/marytts/unitselection/analysis/VoiceDataDumper.java +++ b/marytts-runtime/src/main/java/marytts/unitselection/analysis/VoiceDataDumper.java @@ -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) @@ -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 * *
-     * -ea -Xmx1gb -Dmary.base=${workspace_loc:OpenMary}
+     * -ea -Xmx1gb -Dmary.base=$MARYBASE VOICE
      * 
* * or something similar