概要 | パッケージ | クラス | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド

## org.oc.ocvolume.dsp
クラス endPt

    java.lang.Object
      org.oc.ocvolume.dsp.endPt

    public class endPt

extends java.lang.Object

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

作成者:
  Keith Fung

コンストラクタの概要
`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`

コンストラクタの詳細

### endPt

    public endPt()

メソッドの詳細

### absCut

    public static short[] absCut(short[] sample)

  a method to use this class
  calls: zeroCrossingBoolean, avgEnergy, zeroCrossing, chopping
  called by: volume

  パラメータ:
    `sample` - the sample that's going to be modified
  戻り値:
    modified sample

### chopping

    public static short[] chopping(short[] sample,
                                   int[] cut)

  cut the sample into smaller part
  calls: none
  called by: absCut

  パラメータ:
    `sample` - the sample that's going to be chopped
    `cut` - the location that were returned from zeroCrossing or avgEnergy
  戻り値:
    the cut sample

### avgEnergy

    public static int[] avgEnergy(short[] sample)

  5ms frame (80 samples / frame)
  determent the noise location base on the energy
  calls: none
  called by: absCut

  パラメータ:
    `sample` - the sample which is being analyze
  戻り値:
    squared mean energy

### zeroCrossingBoolean

    public static boolean[] zeroCrossingBoolean(short[] sample)

  Simply mark off the location of Zero-Crossing
  calls: none
  called by: absCut

  パラメータ:
    `sample` - speech signal
  戻り値:
    a boolean array with the same size as the sample, true = a zero-crossing, false = no zero-crossing

### zeroCrossing

    public 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

  パラメータ:
    `sample` - speech signal
    `energy` - result from avgEnergy, which is used as the starting point
    `crossing` - result from zeroCrossingBoolean
  戻り値:
    start and end of voiced speech signal

概要 | パッケージ | クラス | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド