1 /* B.Angr
2  * Dynamic distorted bandpass filter plugin
3  *
4  * Copyright (C) 2021 by Sven Jähnichen
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3, or (at your option)
9  * any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20 
21 #ifndef PORTS_HPP_
22 #define PORTS_HPP_
23 
24 enum BAngrPortIndex
25 {
26 	CONTROL		= 0,
27 	NOTIFY		= 1,
28 	AUDIO_IN_1	= 2,
29 	AUDIO_IN_2	= 3,
30 	AUDIO_OUT_1	= 4,
31 	AUDIO_OUT_2	= 5,
32 
33 	CONTROLLERS	= 6,
34 	BYPASS		= 0,
35 	DRY_WET		= 1,
36 	SPEED		= 2,
37 	SPEED_RANGE	= 3,
38 	SPEED_TYPE	= 4,
39 	SPEED_AMOUNT= 5,
40 	SPIN		= 6,
41 	SPIN_RANGE	= 7,
42 	SPIN_TYPE	= 8,
43 	SPIN_AMOUNT	= 9,
44 	FX			= 10,
45 	NR_FX		= 4,
46 
47 	PARAM_GAIN	= 0,
48 	PARAM_FIRST	= 1,
49 	PARAM_LAST	= 2,
50 	PARAM_NUKE	= 3,
51 	PARAM_MIX	= 4,
52 	PARAM_PAN	= 5,
53 	NR_PARAMS	= 6,
54 
55 	NR_CONTROLLERS	= FX + NR_FX * NR_PARAMS
56 };
57 
58 enum BAngrFlexibilityIndex
59 {
60 	RANDOM		= 0,
61 	LEVEL		= 1,
62 	LOWS		= 2,
63 	MIDS		= 3,
64 	HIGHS		= 4,
65 	NR_FLEX		= 5
66 };
67 
68 #endif /* PORTS_HPP_ */
69