Bel
Bel

Reputation: 312

android that is this parametr?

This is a stupid question, but I really need to understand this.

android.media.audiofx.Visualizer

getfft(byte[] fft)

That is byte[] fft? Is it the array of frequency that fft I need go get?

Upvotes: 0

Views: 57

Answers (1)

Scott Stanchfield
Scott Stanchfield

Reputation: 30642

It's a Fast Fourier Transform.

http://en.wikipedia.org/wiki/Fast_Fourier_transform

In that method, you pass in an empty array to fill in. The array should be the size returned by visualizer.getCaptureSize().

Upvotes: 1

Related Questions