2 * Portions Copyright 2004 DFKI GmbH.
3 * Portions Copyright 2001 Sun Microsystems, Inc.
4 * Portions Copyright 1999-2001 Language Technologies Institute,
5 * Carnegie Mellon University.
6 * All Rights Reserved. Use is subject to license terms.
8 * See the file "license.terms" for information on usage and
9 * redistribution of this file, and for a DISCLAIMER OF ALL
12 package de.dfki.lt.freetts;
14 import java.io.IOException;
17 import com.sun.speech.freetts.UtteranceProcessor;
20 * A generic interface implementing what is common to all
21 * concatentive voices (e.g., diphone, cluster unit and arctic voices).
23 public interface ConcatenativeVoice
26 * Gets the url to the database that defines the unit data for this
29 * @return a url to the database
34 * Returns the pitch mark generator to be used by this voice.
36 * @return the pitchmark processor
38 * @throws IOException if an IO error occurs while getting
41 UtteranceProcessor getPitchmarkGenerator() throws IOException;
44 * Returns the unit concatenator to be used by this voice.
46 * @return the unit concatenator processor
48 * @throws IOException if an IO error occurs while getting
51 UtteranceProcessor getUnitConcatenator() throws IOException;
54 * Returns the unit selector to be used by this voice.
56 * @return the unit selector processor
58 * @throws IOException if an IO error occurs while getting
61 UtteranceProcessor getUnitSelector() throws IOException;