class FMOD::Core::SpectrumData

Describes spectrum values between 0.0 and 1.0 for each “FFT bin”.

Public Class Methods

new(address = nil) click to toggle source

@param address [Pointer, Integer, String, nil] The address in memory

where the structure will be created from. If no address is given, new
memory will be allocated.
Calls superclass method
# File lib/fmod/core/spectrum_data.rb, line 12
def initialize(address = nil)
  types = [TYPE_INT, TYPE_INT, [TYPE_FLOAT, 32]]
  members = [:length, :channel_count, :spectrum]
  super(address, types, members)
end