當前位置: 首頁>>代碼示例>>Java>>正文


Java AudioBuffer類代碼示例

本文整理匯總了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());
}
 
開發者ID:JacobRoth,項目名稱:romanov,代碼行數:12,代碼來源:FourierTransform.java

示例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());
}
 
開發者ID:JacobRoth,項目名稱:romanov,代碼行數:13,代碼來源:FourierTransform.java

示例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() );
}
 
開發者ID:JacobRoth,項目名稱:romanov,代碼行數:16,代碼來源:BeatDetect.java

示例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());
}
 
開發者ID:d2fn,項目名稱:passage,代碼行數:14,代碼來源:FourierTransform.java

示例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());
}
 
開發者ID:nkmrh,項目名稱:BOX,代碼行數:11,代碼來源:FourierTransform.java

示例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());
}
 
開發者ID:nkmrh,項目名稱:BOX,代碼行數:12,代碼來源:FourierTransform.java

示例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());
}
 
開發者ID:nkmrh,項目名稱:BOX,代碼行數:12,代碼來源:BeatDetect.java


注:本文中的ddf.minim.AudioBuffer類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。