-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtap_reverb_common.h
103 lines (80 loc) · 2.65 KB
/
tap_reverb_common.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* -*- linux-c -*-
Copyright (C) 2004 Tom Szilagyi
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: common.h,v 1.4 2004/06/12 13:56:46 tszilagyi Exp $
*/
#ifndef _tap_reverb_common_h
#define _tap_reverb_common_h
/* enlarge this if you need to */
#define MAX_SAMPLERATE 192000
#define MAXLEN 32
#define MAX_COMBS 20
#define MAX_ALLPS 20
#define MAX_DECAY 10000.0f
#define MAX_COMB_DELAY 250.0f
#define MAX_ALLP_DELAY 20.0f
#define IMPRESP_MAXLEN 10000
/* file names */
#define NAME_REVERBED ".reverbed"
#define NAME_TAP_H "tap_reverb_presets.h"
#define NAME_TAP_RDF "tap_reverb.rdf"
/* color definitions */
#define NORMAL_R 48000
#define NORMAL_G 51000
#define NORMAL_B 55000
#define ACTIVE_R 40000
#define ACTIVE_G 43000
#define ACTIVE_B 47000
#define PRELIGHT_R 50000
#define PRELIGHT_G 55000
#define PRELIGHT_B 60000
/* toggle_buttons that are green when depressed */
/* it's actually blue, heh :) */
#define G_ACTIVE_R 29000
#define G_ACTIVE_G 29000
#define G_ACTIVE_B 65535
#define G_PRELIGHT_R 39000
#define G_PRELIGHT_G 39000
#define G_PRELIGHT_B 65535
/* toggle_buttons that are red when depressed */
#define R_ACTIVE_R 65535
#define R_ACTIVE_G 15000
#define R_ACTIVE_B 15000
#define R_PRELIGHT_R 65535
#define R_PRELIGHT_G 25000
#define R_PRELIGHT_B 25000
/* widgets on the notebook */
#define N_NORMAL_R 42000
#define N_NORMAL_G 45000
#define N_NORMAL_B 49000
#define N_ACTIVE_R 34000
#define N_ACTIVE_G 37000
#define N_ACTIVE_B 41000
#define N_PRELIGHT_R 44000
#define N_PRELIGHT_G 49000
#define N_PRELIGHT_B 54000
/* color of the notebook */
#define NB_NORMAL_R 52000
#define NB_NORMAL_G 55000
#define NB_NORMAL_B 59000
#define NB_ACTIVE_R 44000
#define NB_ACTIVE_G 47000
#define NB_ACTIVE_B 51000
#define NB_PRELIGHT_R 54000
#define NB_PRELIGHT_G 59000
#define NB_PRELIGHT_B 64000
/* window backgrounds */
#define WINDOW_R 58000
#define WINDOW_G 58000
#define WINDOW_B 62535
#endif /* _tap_reverb_common_h */