Incorrect description of function output for getFloatFrequencyData() #36071
Labels
area: Web Audio
Content:WebAPI
Web API docs
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatFrequencyData
What specific section or headline is this issue about?
In the initial description
What information was incorrect, unhelpful, or incomplete?
"Each array value is a sample, the magnitude of the signal at a particular time."
What did you expect to see?
This is incorrect, as each array value is not a sample but the amplitude of a specific frequency component of the audio signal at that moment as directed by the fftSize. This is stated correctly in the next line: "Each item in the array represents the decibel value for a specific frequency."
Do you have any supporting links, references, or citations?
This next line of the article states: "Each item in the array represents the decibel value for a specific frequency." So that is one of my sources.
Do you have anything more you want to share?
Seems like it was copy and pasted sentence from getFloatTimeDomainData() article. It doesn't hold true for this function.
MDN metadata
Page report details
en-us/web/api/analysernode/getfloatfrequencydata
The text was updated successfully, but these errors were encountered: