1 /**
2 Adds a 6-band equalizer audio effect to an Audio bus. Gives you control over frequencies from 32 Hz to 10000 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.audioeffecteq6;
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 6-band equalizer audio effect to an Audio bus. Gives you control over frequencies from 32 Hz to 10000 Hz.
30 Each frequency can be modulated between -60/+24 dB.
31 
32 Frequency bands:
33 Band 1: 32 Hz
34 Band 2: 100 Hz
35 Band 3: 320 Hz
36 Band 4: 1000 Hz
37 Band 5: 3200 Hz
38 Band 6: 10000 Hz
39 See also $(D AudioEffectEQ), $(D AudioEffectEQ10), $(D AudioEffectEQ21).
40 */
41 @GodotBaseClass struct AudioEffectEQ6
42 {
43 	package(godot) enum string _GODOT_internal_name = "AudioEffectEQ6";
44 public:
45 @nogc nothrow:
46 	union { /** */ godot_object _godot_object; /** */ AudioEffectEQ _GODOT_base; }
47 	alias _GODOT_base this;
48 	alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses);
49 	package(godot) __gshared bool _classBindingInitialized = false;
50 	package(godot) static struct GDNativeClassBinding
51 	{
52 		__gshared:
53 	}
54 	/// 
55 	pragma(inline, true) bool opEquals(in AudioEffectEQ6 other) const
56 	{ return _godot_object.ptr is other._godot_object.ptr; }
57 	/// 
58 	pragma(inline, true) typeof(null) opAssign(typeof(null) n)
59 	{ _godot_object.ptr = n; return null; }
60 	/// 
61 	pragma(inline, true) bool opEquals(typeof(null) n) const
62 	{ return _godot_object.ptr is n; }
63 	/// 
64 	size_t toHash() const @trusted { return cast(size_t)_godot_object.ptr; }
65 	mixin baseCasts;
66 	/// Construct a new instance of AudioEffectEQ6.
67 	/// Note: use `memnew!AudioEffectEQ6` instead.
68 	static AudioEffectEQ6 _new()
69 	{
70 		static godot_class_constructor constructor;
71 		if(constructor is null) constructor = _godot_api.godot_get_class_constructor("AudioEffectEQ6");
72 		if(constructor is null) return typeof(this).init;
73 		return cast(AudioEffectEQ6)(constructor());
74 	}
75 	@disable new(size_t s);
76 }