audiolistener.getspectrumdata 获取声谱数据

2015-1-3 03:57| 发布者: 杨炎| 查看: 3641| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: audiolistener.getspectrumdata 获取声谱数据static functiongetspectrumdata(samples: float,channel: int,window:fftwindow) : voiddescription描述returns a block of the listener (master)'s spectrum data返回 ...

audiolistener.getspectrumdata 获取声谱数据

static functiongetspectrumdata(samples: float[],channel: int,window:fftwindow) : void

description描述

returns a block of the listener (master)'s spectrum data

返回侦听器的声谱数据块。

number of values (numsamples) must be a power of 2. (ie 128/256/512 etc). min = 64. max = 8192. usewindowto reduce leakage between frequency bins/bands. note, the more complex window type, the better the quality, but reduced speed.

samples的值必须是2的幂次方(128/256/512等)。最小值=64,最大值=8192。使用fftwindow以减少bins/bands之间频率泄漏。注意,更复杂的窗口类型,质量越好,但减小速度。

相关阅读

文章点评
相关文章