1 /* 2 * Copyright 2019 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef ANDROID_FXLAB_EFFECTS_H 18 #define ANDROID_FXLAB_EFFECTS_H 19 20 21 // The Sample Rate for effects 22 static int SAMPLE_RATE = 48000; 23 24 // This header should include the various effect descriptions 25 #include "descrip/EffectDescription.h" 26 #include "descrip/PassthroughDescription.h" 27 #include "descrip/VibratoDescription.h" 28 #include "descrip/TremoloDescription.h" 29 #include "descrip/GainDescription.h" 30 #include "descrip/FlangerDescription.h" 31 #include "descrip/WhiteChorusDescription.h" 32 #include "descrip/FIRDescription.h" 33 #include "descrip/IIRDescription.h" 34 #include "descrip/AllPassDescription.h" 35 #include "descrip/DoublingDescription.h" 36 #include "descrip/OverdriveDescription.h" 37 #include "descrip/DistortionDescription.h" 38 #include "descrip/EchoDescription.h" 39 #include "descrip/SlapbackDescription.h" 40 41 constexpr std::tuple< 42 Effect::PassthroughDescription, 43 Effect::TremoloDescription, 44 Effect::VibratoDescription, 45 Effect::GainDescription, 46 Effect::FlangerDescription, 47 Effect::WhiteChorusDescription, 48 Effect::FIRDescription, 49 Effect::IIRDescription, 50 Effect::AllPassDescription, 51 Effect::DoublingDescription, 52 Effect::OverdriveDescription, 53 Effect::DistortionDescription, 54 Effect::EchoDescription, 55 Effect::SlapbackDescription 56 > EffectsTuple{}; 57 58 constexpr size_t numEffects = std::tuple_size<decltype(EffectsTuple)>::value; 59 60 61 #endif //ANDROID_FXLAB_EFFECTS_H 62