range seems indeed to be -1 to 1 (see RealtimeAnalyser::getByteTimeDomainData)


Zitat von Info <i...@wothke.ch>:

What is the range of the input sample data that the webaudio
implementation is dealing with (e.g. in /WebCore/Modules/webaudio/RealtimeAnalyser.cpp)?

Is it float values between -1 and 1, or is the data scaled
differently?

(I am trying to immitate the built-in logic of the AnalyzerNode, by running a JavaScript side FFT on the time domain data that I am getting in the "onaudioprocess" event of a ScriptProcessorNode. I am using all the scaling/transformation logic from RealtimeAnalyser.cpp but still my resuls are quite different from the built-in ones..)


_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev





_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to