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
クラス java.lang.Object から継承されたメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MutableWaveform
public MutableWaveform(double length,
int sampleRate,
int channels)
MutableWaveform
public MutableWaveform(DoubleArray[] waveform,
int sampleRate)
MutableWaveform
public MutableWaveform(AudioDataCompatible audiodata)
clone
public java.lang.Object clone()
- オーバーライド:
- クラス
java.lang.Object
内の clone
sampleRate
public int sampleRate()
- 定義:
- インタフェース
AudioDataCompatible
内の sampleRate
trim
public void trim()
trim
public void trim(int lastSilence)
cutAfter
public void cutAfter(int t)
smoothOffset
public void smoothOffset()
cutBefore
public void cutBefore(int t)
cutBeforeOnset
public void cutBeforeOnset(int n,
double thresh)
mix
public void mix(AudioDataCompatible audiodata,
int onset,
double weight)
mix_st
public void mix_st(AudioDataCompatible audiodata,
int onsetL,
int onsetR,
double weightL,
double weightR)
conv
public void conv(DoubleArray imp)
conv_st
public void conv_st(DoubleArray impL,
DoubleArray impR)
normalize
public void normalize()
supportsWholeWaveformGetter
public boolean supportsWholeWaveformGetter()
- 定義:
- インタフェース
AudioDataCompatible
内の supportsWholeWaveformGetter
readNext
public DoubleArray[] readNext(int sampleSize,
int nOverlap)
- 定義:
- インタフェース
AudioDataCompatible
内の readNext
hasNext
public boolean hasNext(int sampleSize)
- 定義:
- インタフェース
AudioDataCompatible
内の hasNext
getAudioFormat
public javax.sound.sampled.AudioFormat getAudioFormat()
- 定義:
- インタフェース
AudioDataCompatible
内の getAudioFormat
getByteArrayWaveform
public byte[] getByteArrayWaveform()
- 定義:
- インタフェース
AudioDataCompatible
内の getByteArrayWaveform
getDoubleArrayWaveform
public DoubleArray[] getDoubleArrayWaveform()
- 定義:
- インタフェース
AudioDataCompatible
内の getDoubleArrayWaveform
channels
public int channels()
- 定義:
- インタフェース
AudioDataCompatible
内の channels
changeSampleRate
public MutableWaveform changeSampleRate(int newrate)