Blender V5.3
blender::nodes::node_geo_sample_sound_frequencies_cc Namespace Reference

Classes

class  SampleSoundFunction

Enumerations

enum class  FFTSize {
  _128 = 128 , _256 = 256 , _512 = 512 , _1024 = 1024 ,
  _2048 = 2048 , _4096 = 4096 , _8192 = 8192 , _16384 = 16384 ,
  _32768 = 32768
}
enum class  WindowFunction { Hann = 0 , Hamming = 1 , Blackman = 2 , Rectangular = 3 }

Functions

static void node_declare (NodeDeclarationBuilder &b)
static int to_fft_size_int (const FFTSize fft_size)
static bke::bSoundFrequencySampler::WindowFunction to_window_function (const WindowFunction window_function)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Variables

static const EnumPropertyItem fft_size_items []
static const EnumPropertyItem window_function_items []

Enumeration Type Documentation

◆ FFTSize

Enumerator
_128 
_256 
_512 
_1024 
_2048 
_4096 
_8192 
_16384 
_32768 

Definition at line 13 of file node_geo_sample_sound_frequencies.cc.

◆ WindowFunction

Enumerator
Hann 
Hamming 
Blackman 
Rectangular 

Definition at line 25 of file node_geo_sample_sound_frequencies.cc.

Function Documentation

◆ node_declare()

◆ node_geo_exec()

◆ node_register()

◆ to_fft_size_int()

int blender::nodes::node_geo_sample_sound_frequencies_cc::to_fft_size_int ( const FFTSize fft_size)
static

Definition at line 256 of file node_geo_sample_sound_frequencies.cc.

References _1024, _128, _16384, _2048, _256, _32768, _4096, _512, _8192, and to_fft_size_int().

Referenced by node_geo_exec(), and to_fft_size_int().

◆ to_window_function()

Variable Documentation

◆ fft_size_items

const EnumPropertyItem blender::nodes::node_geo_sample_sound_frequencies_cc::fft_size_items[]
static
Initial value:
= {
{int(FFTSize::_128), "128", 0, "128", ""},
{int(FFTSize::_256), "256", 0, "256", ""},
{int(FFTSize::_512), "512", 0, "512", ""},
{int(FFTSize::_1024), "1024", 0, "1024", ""},
{int(FFTSize::_2048), "2048", 0, "2048", ""},
{int(FFTSize::_4096), "4096", 0, "4096", ""},
{int(FFTSize::_8192), "8192", 0, "8192", ""},
{int(FFTSize::_16384), "16384", 0, "16384", ""},
{int(FFTSize::_32768), "32768", 0, "32768", ""},
{},
}

Definition at line 32 of file node_geo_sample_sound_frequencies.cc.

Referenced by node_declare().

◆ window_function_items

const EnumPropertyItem blender::nodes::node_geo_sample_sound_frequencies_cc::window_function_items[]
static