org.jouvieje.fmodex.enumerations
Class FMOD_DSP_FFT_WINDOW

java.lang.Object
  extended byorg.jouvieje.fmodex.enumerations.FMOD_DSP_FFT_WINDOW
All Implemented Interfaces:
java.lang.Comparable, org.jouvieje.fmodex.enumerations.Enumeration

public class FMOD_DSP_FFT_WINDOW
extends java.lang.Object
implements org.jouvieje.fmodex.enumerations.Enumeration, java.lang.Comparable



List of windowing methods used in spectrum analysis to reduce leakage / transient signals intefering with the analysis.
This is a problem with analysis of continuous signals that only have a small portion of the signal sample (the fft window size).
Windowing the signal with a curve or triangle tapers the sides of the fft window to help alleviate this problem.

Remarks

Cyclic signals such as a sine wave that repeat their cycle in a multiple of the window size do not need windowing.
I.e. If the sine wave repeats every 1024, 512, 256 etc samples and the FMOD fft window is 1024, then the signal would not need windowing.
Not windowing is the same as FMOD_DSP_FFT_WINDOW_RECT, which is the default.
If the cycle of the signal (ie the sine wave) is not a multiple of the window size, it will cause frequency abnormalities, so a different windowing method is needed.

Platforms Supported

Win32, Win64, Linux, Linux64, Macintosh, Xbox360, PlayStation 2, PlayStation Portable, PlayStation 3, Wii, Solaris, iPhone

See Also

System::getSpectrum
Channel::getSpectrum


Field Summary
static FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_BLACKMAN
           
static FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_BLACKMANHARRIS
           
static FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_FORCEINT
           
static FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_HAMMING
           
static FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_HANNING
           
static FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_MAX
           
static FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_RECT
           
static FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_TRIANGLE
           
 
Method Summary
 int asInt()
           
 int compareTo(java.lang.Object object)
           
 boolean equals(java.lang.Object object)
           
static FMOD_DSP_FFT_WINDOW get(int nativeValue)
          Retrieve a FMOD_DSP_FFT_WINDOW enum field with his integer value
static FMOD_DSP_FFT_WINDOW get(Pointer pointer)
          Retrieve a FMOD_DSP_FFT_WINDOW enum field from a Pointer
static java.util.Iterator iterator()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FMOD_DSP_FFT_WINDOW_RECT

public static final FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_RECT

FMOD_DSP_FFT_WINDOW_TRIANGLE

public static final FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_TRIANGLE

FMOD_DSP_FFT_WINDOW_HAMMING

public static final FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_HAMMING

FMOD_DSP_FFT_WINDOW_HANNING

public static final FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_HANNING

FMOD_DSP_FFT_WINDOW_BLACKMAN

public static final FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_BLACKMAN

FMOD_DSP_FFT_WINDOW_BLACKMANHARRIS

public static final FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_BLACKMANHARRIS

FMOD_DSP_FFT_WINDOW_MAX

public static final FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_MAX

FMOD_DSP_FFT_WINDOW_FORCEINT

public static final FMOD_DSP_FFT_WINDOW FMOD_DSP_FFT_WINDOW_FORCEINT
Method Detail

asInt

public int asInt()
Specified by:
asInt in interface org.jouvieje.fmodex.enumerations.Enumeration
Returns:
the integer value of the enumeration constant.

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object object)

compareTo

public int compareTo(java.lang.Object object)
Specified by:
compareTo in interface java.lang.Comparable

get

public static FMOD_DSP_FFT_WINDOW get(int nativeValue)
Retrieve a FMOD_DSP_FFT_WINDOW enum field with his integer value

Parameters:
nativeValue - the integer value of the field to retrieve
Returns:
the FMOD_DSP_FFT_WINDOW enum field that correspond to the integer value

get

public static FMOD_DSP_FFT_WINDOW get(Pointer pointer)
Retrieve a FMOD_DSP_FFT_WINDOW enum field from a Pointer

Parameters:
pointer - a pointer holding an FMOD_DSP_FFT_WINDOW enum field
Returns:
the FMOD_DSP_FFT_WINDOW enum field that correspond to the enum field in the pointer

iterator

public static java.util.Iterator iterator()
Returns:
an Iterator over the elements in this enumeration.
Can be cast to Iterator in Java 1.5.


NativeFmodEx Project - © Copyright 2005-2010 - Jérôme Jouvie (Jouvieje)
NativeFmodEx is an Open Source Project under GNU LGPL License
My sites : http://jerome.jouvie.free.fr/

(Documentation Copyright © Firelight Technologies - FMOD Ex - http://www.fmod.org)