forked from modlfo/teensy-braids
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresources.h
221 lines (202 loc) · 7.53 KB
/
resources.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
// Copyright 2012 Olivier Gillet.
//
// Author: Olivier Gillet ([email protected])
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
// See http://creativecommons.org/licenses/MIT/ for more information.
//
// -----------------------------------------------------------------------------
//
// Resources definitions.
//
// Automatically generated with:
// make resources
#ifndef BRAIDS_RESOURCES_H_
#define BRAIDS_RESOURCES_H_
#include "stmlib/stmlib.h"
namespace braids {
typedef uint8_t ResourceId;
extern const char* string_table[];
extern const uint16_t* lookup_table_table[];
extern const int16_t* lookup_table_signed_table[];
extern const uint32_t* lookup_table_hr_table[];
extern const int16_t* waveform_table[];
extern const int16_t* waveshaper_table[];
extern const uint8_t* wt_table[];
extern const uint16_t* char_table[];
extern const uint16_t lut_resonator_coefficient[];
extern const uint16_t lut_resonator_scale[];
extern const uint16_t lut_svf_cutoff[];
extern const uint16_t lut_svf_damp[];
extern const uint16_t lut_svf_scale[];
extern const uint16_t lut_granular_envelope[];
extern const uint16_t lut_granular_envelope_rate[];
extern const uint16_t lut_bowing_envelope[];
extern const uint16_t lut_bowing_friction[];
extern const uint16_t lut_blowing_envelope[];
extern const uint16_t lut_flute_body_filter[];
extern const uint16_t lut_fm_frequency_quantizer[];
extern const uint16_t lut_vco_detune[];
extern const uint16_t lut_bell[];
extern const uint16_t lut_fof_envelope[];
extern const uint16_t lut_env_expo[];
extern const int16_t lut_blep[];
extern const int16_t lut_blowing_jet[];
extern const uint32_t lut_oscillator_increments[];
extern const uint32_t lut_oscillator_delays[];
extern const uint32_t lut_env_portamento_increments[];
extern const int16_t wav_formant_sine[];
extern const int16_t wav_formant_square[];
extern const int16_t wav_sine[];
extern const int16_t wav_bandlimited_comb_0[];
extern const int16_t wav_bandlimited_comb_1[];
extern const int16_t wav_bandlimited_comb_2[];
extern const int16_t wav_bandlimited_comb_3[];
extern const int16_t wav_bandlimited_comb_4[];
extern const int16_t wav_bandlimited_comb_5[];
extern const int16_t wav_bandlimited_comb_6[];
extern const int16_t wav_bandlimited_comb_7[];
extern const int16_t wav_bandlimited_comb_8[];
extern const int16_t wav_bandlimited_comb_9[];
extern const int16_t wav_bandlimited_comb_10[];
extern const int16_t wav_bandlimited_comb_11[];
extern const int16_t wav_bandlimited_comb_12[];
extern const int16_t wav_bandlimited_comb_13[];
extern const int16_t wav_bandlimited_comb_14[];
extern const int16_t wav_bandlimited_comb_15[];
extern const int16_t wav_bandlimited_comb_16[];
extern const int16_t ws_moderate_overdrive[];
extern const int16_t ws_slight_overdrive[];
extern const int16_t ws_violent_overdrive[];
extern const int16_t ws_sine_fold[];
extern const int16_t ws_tri_fold[];
extern const uint8_t wt_waves[];
extern const uint8_t wt_map[];
extern const uint8_t wt_code[];
extern const uint16_t chr_characters[];
#define STR_DUMMY 0 // dummy
#define LUT_RESONATOR_COEFFICIENT 0
#define LUT_RESONATOR_COEFFICIENT_SIZE 257
#define LUT_RESONATOR_SCALE 1
#define LUT_RESONATOR_SCALE_SIZE 257
#define LUT_SVF_CUTOFF 2
#define LUT_SVF_CUTOFF_SIZE 257
#define LUT_SVF_DAMP 3
#define LUT_SVF_DAMP_SIZE 257
#define LUT_SVF_SCALE 4
#define LUT_SVF_SCALE_SIZE 257
#define LUT_GRANULAR_ENVELOPE 5
#define LUT_GRANULAR_ENVELOPE_SIZE 513
#define LUT_GRANULAR_ENVELOPE_RATE 6
#define LUT_GRANULAR_ENVELOPE_RATE_SIZE 257
#define LUT_BOWING_ENVELOPE 7
#define LUT_BOWING_ENVELOPE_SIZE 752
#define LUT_BOWING_FRICTION 8
#define LUT_BOWING_FRICTION_SIZE 257
#define LUT_BLOWING_ENVELOPE 9
#define LUT_BLOWING_ENVELOPE_SIZE 752
#define LUT_FLUTE_BODY_FILTER 10
#define LUT_FLUTE_BODY_FILTER_SIZE 128
#define LUT_FM_FREQUENCY_QUANTIZER 11
#define LUT_FM_FREQUENCY_QUANTIZER_SIZE 129
#define LUT_VCO_DETUNE 12
#define LUT_VCO_DETUNE_SIZE 257
#define LUT_BELL 13
#define LUT_BELL_SIZE 257
#define LUT_FOF_ENVELOPE 14
#define LUT_FOF_ENVELOPE_SIZE 1025
#define LUT_ENV_EXPO 15
#define LUT_ENV_EXPO_SIZE 257
#define LUT_BLEP 0
#define LUT_BLEP_SIZE 5429
#define LUT_BLOWING_JET 1
#define LUT_BLOWING_JET_SIZE 257
#define LUT_OSCILLATOR_INCREMENTS 0
#define LUT_OSCILLATOR_INCREMENTS_SIZE 97
#define LUT_OSCILLATOR_DELAYS 1
#define LUT_OSCILLATOR_DELAYS_SIZE 97
#define LUT_ENV_PORTAMENTO_INCREMENTS 2
#define LUT_ENV_PORTAMENTO_INCREMENTS_SIZE 128
#define WAV_FORMANT_SINE 0
#define WAV_FORMANT_SINE_SIZE 256
#define WAV_FORMANT_SQUARE 1
#define WAV_FORMANT_SQUARE_SIZE 256
#define WAV_SINE 2
#define WAV_SINE_SIZE 257
#define WAV_BANDLIMITED_COMB_0 3
#define WAV_BANDLIMITED_COMB_0_SIZE 257
#define WAV_BANDLIMITED_COMB_1 4
#define WAV_BANDLIMITED_COMB_1_SIZE 257
#define WAV_BANDLIMITED_COMB_2 5
#define WAV_BANDLIMITED_COMB_2_SIZE 257
#define WAV_BANDLIMITED_COMB_3 6
#define WAV_BANDLIMITED_COMB_3_SIZE 257
#define WAV_BANDLIMITED_COMB_4 7
#define WAV_BANDLIMITED_COMB_4_SIZE 257
#define WAV_BANDLIMITED_COMB_5 8
#define WAV_BANDLIMITED_COMB_5_SIZE 257
#define WAV_BANDLIMITED_COMB_6 9
#define WAV_BANDLIMITED_COMB_6_SIZE 257
#define WAV_BANDLIMITED_COMB_7 10
#define WAV_BANDLIMITED_COMB_7_SIZE 257
#define WAV_BANDLIMITED_COMB_8 11
#define WAV_BANDLIMITED_COMB_8_SIZE 257
#define WAV_BANDLIMITED_COMB_9 12
#define WAV_BANDLIMITED_COMB_9_SIZE 257
#define WAV_BANDLIMITED_COMB_10 13
#define WAV_BANDLIMITED_COMB_10_SIZE 257
#define WAV_BANDLIMITED_COMB_11 14
#define WAV_BANDLIMITED_COMB_11_SIZE 257
#define WAV_BANDLIMITED_COMB_12 15
#define WAV_BANDLIMITED_COMB_12_SIZE 257
#define WAV_BANDLIMITED_COMB_13 16
#define WAV_BANDLIMITED_COMB_13_SIZE 257
#define WAV_BANDLIMITED_COMB_14 17
#define WAV_BANDLIMITED_COMB_14_SIZE 257
#define WAV_BANDLIMITED_COMB_15 18
#define WAV_BANDLIMITED_COMB_15_SIZE 257
#define WAV_BANDLIMITED_COMB_16 19
#define WAV_BANDLIMITED_COMB_16_SIZE 257
#define WAV_BANDLIMITED_COMB_17 20
#define WAV_BANDLIMITED_COMB_17_SIZE 257
#define WAV_BANDLIMITED_COMB_18 21
#define WAV_BANDLIMITED_COMB_18_SIZE 257
#define WAV_BANDLIMITED_COMB_19 22
#define WAV_BANDLIMITED_COMB_19_SIZE 257
#define WS_MODERATE_OVERDRIVE 0
#define WS_MODERATE_OVERDRIVE_SIZE 257
#define WS_SLIGHT_OVERDRIVE 1
#define WS_SLIGHT_OVERDRIVE_SIZE 257
#define WS_VIOLENT_OVERDRIVE 2
#define WS_VIOLENT_OVERDRIVE_SIZE 257
#define WS_SINE_FOLD 3
#define WS_SINE_FOLD_SIZE 257
#define WS_TRI_FOLD 4
#define WS_TRI_FOLD_SIZE 257
#define WT_WAVES 0
#define WT_WAVES_SIZE 33024
#define WT_MAP 1
#define WT_MAP_SIZE 256
#define WT_CODE 2
#define WT_CODE_SIZE 1064
#define CHR_CHARACTERS 0
#define CHR_CHARACTERS_SIZE 256
} // namespace braids
#endif // BRAIDS_RESOURCES_H_