1 /** 2 Adds a 21-band equalizer audio effect to an Audio bus. Gives you control over frequencies from 22 Hz to 22000 Hz. 3 Each frequency can be modulated between -60/+24 dB. 4 5 Copyright: 6 Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. 7 Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) 8 Copyright (c) 2017-2018 Godot-D contributors 9 10 License: $(LINK2 https://opensource.org/licenses/MIT, MIT License) 11 12 13 */ 14 module godot.audioeffecteq21; 15 import std.meta : AliasSeq, staticIndexOf; 16 import std.traits : Unqual; 17 import godot.d.meta; 18 import godot.core; 19 import godot.c; 20 import godot.d.bind; 21 import godot.d.reference; 22 import godot.object; 23 import godot.classdb; 24 import godot.audioeffecteq; 25 import godot.audioeffect; 26 import godot.resource; 27 import godot.reference; 28 /** 29 Adds a 21-band equalizer audio effect to an Audio bus. Gives you control over frequencies from 22 Hz to 22000 Hz. 30 Each frequency can be modulated between -60/+24 dB. 31 32 Frequency bands : 33 Band 1 : 22 Hz 34 Band 2 : 32 Hz 35 Band 3 : 44 Hz 36 Band 4 : 63 Hz 37 Band 5 : 90 Hz 38 Band 6 : 125 Hz 39 Band 7 : 175 Hz 40 Band 8 : 250 Hz 41 Band 9 : 350 Hz 42 Band 10 : 500 Hz 43 Band 11 : 700 Hz 44 Band 12 : 1000 Hz 45 Band 13 : 1400 Hz 46 Band 14 : 2000 Hz 47 Band 15 : 2800 Hz 48 Band 16 : 4000 Hz 49 Band 17 : 5600 Hz 50 Band 18 : 8000 Hz 51 Band 19 : 11000 Hz 52 Band 20 : 16000 Hz 53 Band 21 : 22000 Hz 54 See also $(D AudioEffectEQ), $(D AudioEffectEQ6), $(D AudioEffectEQ10). 55 */ 56 @GodotBaseClass struct AudioEffectEQ21 57 { 58 enum string _GODOT_internal_name = "AudioEffectEQ21"; 59 public: 60 @nogc nothrow: 61 union { godot_object _godot_object; AudioEffectEQ _GODOT_base; } 62 alias _GODOT_base this; 63 alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses); 64 package(godot) __gshared bool _classBindingInitialized = false; 65 package(godot) static struct _classBinding 66 { 67 __gshared: 68 } 69 bool opEquals(in AudioEffectEQ21 other) const { return _godot_object.ptr is other._godot_object.ptr; } 70 AudioEffectEQ21 opAssign(T : typeof(null))(T n) { _godot_object.ptr = null; } 71 bool opEquals(typeof(null) n) const { return _godot_object.ptr is null; } 72 mixin baseCasts; 73 static AudioEffectEQ21 _new() 74 { 75 static godot_class_constructor constructor; 76 if(constructor is null) constructor = _godot_api.godot_get_class_constructor("AudioEffectEQ21"); 77 if(constructor is null) return typeof(this).init; 78 return cast(AudioEffectEQ21)(constructor()); 79 } 80 @disable new(size_t s); 81 }