AudioSource.GetSpectrumData has no outputs

See screenshot of node:

image

The GetSpectrumData node has an odd layout and doesn’t seem to have any output nodes.

May have already answered my own question. AudioSource.GetSpectrumData is weird, and works backwards-- it fills the “samples” input with data.

that’s correct, if you plug a const node into samples, it’ll get populated. This is wonky and not very udon-like, but there’s no good solution, unity just has some terrible code.
It should work though!

1 Like