1 /* B.Schaffl
2  * MIDI Pattern Delay Plugin
3  *
4  * Copyright (C) 2018 - 2020 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 BSchafflPortIndex
25 {
26 	INPUT			= 0,
27 	OUTPUT			= 1,
28 
29 	CONTROLLERS		= 2,
30 	SEQ_LEN_VALUE		= 0,
31 	SEQ_LEN_BASE		= 1,
32 	AMP_SWING		= 2,
33 	AMP_RANDOM		= 3,
34 	AMP_PROCESS		= 4,
35 	SWING			= 5,
36 	SWING_RANDOM		= 6,
37 	SWING_PROCESS		= 7,
38 	NR_OF_STEPS		= 8,
39 	AMP_MODE		= 9,
40 	MIDI_CH_FILTER		= 10,
41 	MSG_FILTER_NOTE		= 26,
42 	MSG_FILTER_KEYPR	= 27,
43 	MSG_FILTER_CC		= 28,
44 	MSG_FILTER_PROG		= 29,
45 	MSG_FILTER_CHPR		= 30,
46 	MSG_FILTER_PITCH	= 31,
47 	MSG_FILTER_SYS		= 32,
48 	NOTE_POSITION_STR	= 33,
49 	NOTE_VALUE_STR		= 34,
50 	NOTE_OVERLAP		= 35,
51 	NOTE_OFF_AMP		= 36,
52 	QUANT_RANGE		= 37,
53 	QUANT_MAP		= 38,
54 	QUANT_POS		= 39,
55 	TIME_COMPENS		= 40,
56 	USR_LATENCY		= 41,
57 	USR_LATENCY_FR		= 42,
58 	STEP_POS		= 43,
59 	STEP_LEV		= 58,
60 	LATENCY			= 74,
61 	NR_CONTROLLERS		= 75
62 };
63 
64 enum BSchafflSeqLenBaseIndex
65 {
66 	SECONDS		= 0,
67 	BEATS		= 1,
68 	BARS		= 2
69 };
70 
71 enum BSchafflNoteOverlaps
72 {
73 	OVERLAP_DO_NOTHING	= 0,
74 	OVERLAP_SPLIT		= 1,
75 	OVERLAP_MERGE		= 2
76 };
77 
78 #endif /* PORTS_HPP_ */
79