jp.crestmuse.cmx.sound
クラス MutableWaveform

java.lang.Object
  上位を拡張 jp.crestmuse.cmx.sound.MutableWaveform
すべての実装されたインタフェース:
java.lang.Cloneable, AudioDataCompatible

public class MutableWaveform
extends java.lang.Object
implements AudioDataCompatible, java.lang.Cloneable


コンストラクタの概要
MutableWaveform(AudioDataCompatible audiodata)
           
MutableWaveform(DoubleArray[] waveform, int sampleRate)
           
MutableWaveform(double length, int sampleRate, int channels)
           
 
メソッドの概要
 MutableWaveform changeSampleRate(int newrate)
           
 int channels()
           
 java.lang.Object clone()
           
 void conv_st(DoubleArray impL, DoubleArray impR)
           
 void conv(DoubleArray imp)
           
 void cutAfter(int t)
           
 void cutBefore(int t)
           
 void cutBeforeOnset(int n, double thresh)
           
 javax.sound.sampled.AudioFormat getAudioFormat()
           
 byte[] getByteArrayWaveform()
           
 DoubleArray[] getDoubleArrayWaveform()
           
 boolean hasNext(int sampleSize)
           
 void mix_st(AudioDataCompatible audiodata, int onsetL, int onsetR, double weightL, double weightR)
           
 void mix(AudioDataCompatible audiodata, int onset, double weight)
           
 void normalize()
           
 DoubleArray[] read(long microsecond, int sampleSize)
           
 DoubleArray[] readNext(int sampleSize, int nOverlap)
           
 int sampleRate()
           
 void smoothOffset()
           
 boolean supportsRandomAccess()
           
 void trim()
           
 void trim(int lastSilence)
           
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MutableWaveform

public MutableWaveform(AudioDataCompatible audiodata)

MutableWaveform

public MutableWaveform(DoubleArray[] waveform,
                       int sampleRate)

MutableWaveform

public MutableWaveform(double length,
                       int sampleRate,
                       int channels)
メソッドの詳細

changeSampleRate

public MutableWaveform changeSampleRate(int newrate)

channels

public int channels()
定義:
インタフェース AudioDataCompatible 内の channels

clone

public java.lang.Object clone()
オーバーライド:
クラス java.lang.Object 内の clone

conv_st

public void conv_st(DoubleArray impL,
                    DoubleArray impR)

conv

public void conv(DoubleArray imp)

cutAfter

public void cutAfter(int t)

cutBefore

public void cutBefore(int t)

cutBeforeOnset

public void cutBeforeOnset(int n,
                           double thresh)

getAudioFormat

public javax.sound.sampled.AudioFormat getAudioFormat()
定義:
インタフェース AudioDataCompatible 内の getAudioFormat

getByteArrayWaveform

public byte[] getByteArrayWaveform()
定義:
インタフェース AudioDataCompatible 内の getByteArrayWaveform

getDoubleArrayWaveform

public DoubleArray[] getDoubleArrayWaveform()
定義:
インタフェース AudioDataCompatible 内の getDoubleArrayWaveform

hasNext

public boolean hasNext(int sampleSize)
定義:
インタフェース AudioDataCompatible 内の hasNext

mix_st

public void mix_st(AudioDataCompatible audiodata,
                   int onsetL,
                   int onsetR,
                   double weightL,
                   double weightR)

mix

public void mix(AudioDataCompatible audiodata,
                int onset,
                double weight)

normalize

public void normalize()

read

public DoubleArray[] read(long microsecond,
                          int sampleSize)
定義:
インタフェース AudioDataCompatible 内の read

readNext

public DoubleArray[] readNext(int sampleSize,
                              int nOverlap)
定義:
インタフェース AudioDataCompatible 内の readNext

sampleRate

public int sampleRate()
定義:
インタフェース AudioDataCompatible 内の sampleRate

smoothOffset

public void smoothOffset()

supportsRandomAccess

public boolean supportsRandomAccess()
定義:
インタフェース AudioDataCompatible 内の supportsRandomAccess

trim

public void trim()

trim

public void trim(int lastSilence)