Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

GetSpectrumData Frequency Range

Discussion in 'Scripting' started by hawx, Oct 1, 2015.

  1. hawx

    hawx

    Joined:
    Sep 29, 2012
    Posts:
    95
    Hey,

    I can't find much documentation on the GetSpectrumData method - documentation seems to be lacking for most of the audio based stuff.
    Anyway, I was wondering what the range of values are, that are returned when running the GetSpectrumData method. So I'm putting the data straight into an array for use on a small-scale FFT analyser. So does the GetSpectrumData method return values for each individual frequency or does it return the values for certain bands of frequencies (ie. 400-410hz).
    If that makes any sense.

    Thanks,
    Hawx