Skip to content

Commit 8af0167

Browse files
rbxphogenaetter
andauthored
Update AudioAnalyzer.yaml (#911)
## Changes Add a note about AudioAnalyzer:GetSpectrum returning an empty array. ## Checks By submitting your pull request for review, you agree to the following: - [x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [x] To the best of my knowledge, all proposed changes are accurate. --------- Co-authored-by: Andrew Etter <[email protected]>
1 parent d95caa4 commit 8af0167

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/en-us/reference/engine/classes/AudioAnalyzer.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ methods:
117117
Returns the frequency spectrum of the last audio buffer, as an array of
118118
numbers. The elements of the array are root-mean-square volume levels,
119119
evenly spaced from 0 hertz to 24,000 hertz.
120+
If any of the analyzer's inputs come from an `Class.AudioDeviceInput`, this method returns an empty array.
120121
code_samples: []
121122
parameters: []
122123
returns:

0 commit comments

Comments
 (0)