⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit.java

📁 这是java 开发的的免费语音播放插件,很值得学习参考!!!!!!!!!!!!111
💻 JAVA
字号:
/** * Portions Copyright 2001 Sun Microsystems, Inc. * Portions Copyright 1999-2001 Language Technologies Institute,  * Carnegie Mellon University. * All Rights Reserved.  Use is subject to license terms. *  * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL  * WARRANTIES. */package com.sun.speech.freetts;import com.sun.speech.freetts.relp.Sample;	/** * Defines a generic interface to a Unit.  * */public interface Unit {        /**     * Returns the name of this Unit.     *     * @return the name of this Unit     */    public String getName();    /**     * Returns the size of this unit.     *     * @return the size of this unit     */    public int getSize();    /**     * Retrieves the nearest sample.     *     * @param index the ideal index     *     * @return the nearest Sample     */    public Sample getNearestSample(float index);    /**     * Dumps this unit.     */    public void dump(); }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -