Monday, August 08, 2011

Web Audio API

Web Audio API: "interface RealtimeAnalyserNode : AudioNode {

// Real-time frequency-domain data
void getFloatFrequencyData(in Float32Array array);
void getByteFrequencyData(in Uint8Array array);

// Real-time waveform data
void getByteTimeDomainData(in Uint8Array array);

attribute unsigned long fftSize;
readonly attribute unsigned long frequencyBinCount;

attribute float minDecibels;
attribute float maxDecibels;

attribute float smoothingTimeConstant;

};"