|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.oc.ocvolume.dsp.endPt
public class endPt
last modified: June 15, 2002
description: this is the detection of the noise and search for the spot where the acutal word is being sounded,
and remove the noise from the sample.
calls: none
called by: volume, train
input: speech signal
output: modified speech signal
| コンストラクタの概要 | |
|---|---|
endPt()
|
|
| メソッドの概要 | |
|---|---|
static short[] |
absCut(short[] sample)
a method to use this class calls: zeroCrossingBoolean, avgEnergy, zeroCrossing, chopping called by: volume |
static int[] |
avgEnergy(short[] sample)
5ms frame (80 samples / frame) determent the noise location base on the energy calls: none called by: absCut |
static short[] |
chopping(short[] sample,
int[] cut)
cut the sample into smaller part calls: none called by: absCut |
static int[] |
zeroCrossing(short[] sample,
int[] energy,
boolean[] crossing)
search for the end points based on zero-crossing and result from avgEnergy calls: none called by: absCut |
static boolean[] |
zeroCrossingBoolean(short[] sample)
Simply mark off the location of Zero-Crossing calls: none called by: absCut |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public endPt()
| メソッドの詳細 |
|---|
public static short[] absCut(short[] sample)
sample - the sample that's going to be modified
public static short[] chopping(short[] sample,
int[] cut)
sample - the sample that's going to be choppedcut - the location that were returned from zeroCrossing or avgEnergy
public static int[] avgEnergy(short[] sample)
sample - the sample which is being analyze
public static boolean[] zeroCrossingBoolean(short[] sample)
sample - speech signal
public static int[] zeroCrossing(short[] sample,
int[] energy,
boolean[] crossing)
sample - speech signalenergy - result from avgEnergy, which is used as the starting pointcrossing - result from zeroCrossingBoolean
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||