本文整理匯總了Java中ddf.minim.AudioBuffer類的典型用法代碼示例。如果您正苦於以下問題:Java AudioBuffer類的具體用法?Java AudioBuffer怎麽用?Java AudioBuffer使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
AudioBuffer類屬於ddf.minim包,在下文中一共展示了AudioBuffer類的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: forward
import ddf.minim.AudioBuffer; //導入依賴的package包/類
/**
* Performs a forward transform on <code>buffer</code>.
*
* @param buffer
* AudioBuffer: the buffer to analyze
*
*/
public void forward(AudioBuffer buffer)
{
forward(buffer.toArray());
}
示例2: inverse
import ddf.minim.AudioBuffer; //導入依賴的package包/類
/**
* Performs an inverse transform of the frequency spectrum and places the
* result in <code>buffer</code>.
*
* @param buffer
* AudioBuffer: the buffer to place the result of the inverse transform in
*
*/
public void inverse(AudioBuffer buffer)
{
inverse(buffer.toArray());
}
示例3: detect
import ddf.minim.AudioBuffer; //導入依賴的package包/類
/**
* Analyze the samples in <code>buffer</code>.
* This is a cumulative process, so you must call this function every frame.
*
* @param buffer
* AudioBuffer: the buffer to analyze.
*
* @example Analysis/SoundEnergyBeatDetection
*
* @related BeatDetect
*/
public void detect(AudioBuffer buffer)
{
detect( buffer.toArray() );
}
示例4: inverse
import ddf.minim.AudioBuffer; //導入依賴的package包/類
/**
* Performs an inverse transform of the frequency spectrum and places the
* result in <code>buffer</code>.
*
* @param buffer
* AudioBuffer: the buffer to place the result of the inverse transform in
*
* @example Analysis/FFT/Inverse_Transform
*/
public void inverse(AudioBuffer buffer)
{
inverse(buffer.toArray());
}
示例5: forward
import ddf.minim.AudioBuffer; //導入依賴的package包/類
/**
* Performs a forward transform on <code>buffer</code>.
*
* @param buffer
* the buffer to analyze
*/
public void forward(AudioBuffer buffer)
{
forward(buffer.toArray());
}
示例6: inverse
import ddf.minim.AudioBuffer; //導入依賴的package包/類
/**
* Performs an inverse transform of the frequency spectrum and places the
* result in <code>buffer</code>.
*
* @param buffer
* the buffer to place the result of the inverse transform in
*/
public void inverse(AudioBuffer buffer)
{
inverse(buffer.toArray());
}
示例7: detect
import ddf.minim.AudioBuffer; //導入依賴的package包/類
/**
* Analyze the samples in <code>ab</code>. This is a cumulative process,
* so you must call this function every frame.
*
* @param ab
* the AudioBuffer to analyze.
*/
public void detect(AudioBuffer ab)
{
detect(ab.toArray());
}