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.traits; 18 import godot.core; 19 import godot.c; 20 import godot.d.bind; 21 import godot.d.reference; 22 import godot.globalenums; 23 import godot.object; 24 import godot.classdb; 25 import godot.audioeffecteq; 26 import godot.audioeffect; 27 import godot.resource; 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 package(godot) 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 GDNativeClassBinding 66 { 67 __gshared: 68 } 69 /// 70 pragma(inline, true) bool opEquals(in AudioEffectEQ21 other) const 71 { return _godot_object.ptr is other._godot_object.ptr; } 72 /// 73 pragma(inline, true) typeof(null) opAssign(typeof(null) n) 74 { _godot_object.ptr = n; return null; } 75 /// 76 pragma(inline, true) bool opEquals(typeof(null) n) const 77 { return _godot_object.ptr is n; } 78 /// 79 size_t toHash() const @trusted { return cast(size_t)_godot_object.ptr; } 80 mixin baseCasts; 81 /// Construct a new instance of AudioEffectEQ21. 82 /// Note: use `memnew!AudioEffectEQ21` instead. 83 static AudioEffectEQ21 _new() 84 { 85 static godot_class_constructor constructor; 86 if(constructor is null) constructor = _godot_api.godot_get_class_constructor("AudioEffectEQ21"); 87 if(constructor is null) return typeof(this).init; 88 return cast(AudioEffectEQ21)(constructor()); 89 } 90 @disable new(size_t s); 91 }