repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
third_party
/
kraken
/
tests
/
kraken-1.1
/
audio-fft.js
blob
519a2f3a137530cff92c95ee865f8d995afdf460
1
var iterations = 1000;
2
3
var fft = new FFT(frameBufferLength / channels, rate);
4
5
var calcFFT = function() {
6
var fb = getFramebuffer(),
7
signal = DSP.getChannel(DSP.MIX, fb);
8
9
fft.forward(signal);
10
};
11
12
runTest(calcFFT, iterations);