forked from pichenettes/eurorack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresources.h
118 lines (102 loc) · 3.87 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
// Copyright 2013 Emilie Gillet.
//
// Author: Emilie 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 TIDES_RESOURCES_H_
#define TIDES_RESOURCES_H_
#include "stmlib/stmlib.h"
namespace tides {
typedef uint8_t ResourceId;
extern const uint16_t* lookup_table_table[];
extern const uint32_t* lookup_table_32_table[];
extern const int16_t* waveform_table[];
extern const int16_t* wavetable_table[];
extern const int16_t* waveshaper_table[];
extern const uint16_t lut_attenuverter_curve[];
extern const uint16_t lut_slope_compression[];
extern const uint32_t lut_increments[];
extern const uint32_t lut_cutoff[];
extern const int16_t wav_inverse_tan_audio[];
extern const int16_t wav_inverse_sin_audio[];
extern const int16_t wav_linear_audio[];
extern const int16_t wav_sin_audio[];
extern const int16_t wav_tan_audio[];
extern const int16_t wav_reversed_control[];
extern const int16_t wav_spiky_exp_control[];
extern const int16_t wav_spiky_control[];
extern const int16_t wav_linear_control[];
extern const int16_t wav_bump_control[];
extern const int16_t wav_bump_exp_control[];
extern const int16_t wav_normal_control[];
extern const int16_t wav_bipolar_fold[];
extern const int16_t wav_unipolar_fold[];
extern const int16_t wt_waves[];
extern const int16_t ws_smooth_bipolar_fold[] IN_RAM;
#define LUT_ATTENUVERTER_CURVE 0
#define LUT_ATTENUVERTER_CURVE_SIZE 257
#define LUT_SLOPE_COMPRESSION 1
#define LUT_SLOPE_COMPRESSION_SIZE 257
#define LUT_INCREMENTS 0
#define LUT_INCREMENTS_SIZE 97
#define LUT_CUTOFF 1
#define LUT_CUTOFF_SIZE 513
#define WAV_INVERSE_TAN_AUDIO 0
#define WAV_INVERSE_TAN_AUDIO_SIZE 2049
#define WAV_INVERSE_SIN_AUDIO 1
#define WAV_INVERSE_SIN_AUDIO_SIZE 2049
#define WAV_LINEAR_AUDIO 2
#define WAV_LINEAR_AUDIO_SIZE 2049
#define WAV_SIN_AUDIO 3
#define WAV_SIN_AUDIO_SIZE 2049
#define WAV_TAN_AUDIO 4
#define WAV_TAN_AUDIO_SIZE 2049
#define WAV_REVERSED_CONTROL 5
#define WAV_REVERSED_CONTROL_SIZE 2049
#define WAV_SPIKY_EXP_CONTROL 6
#define WAV_SPIKY_EXP_CONTROL_SIZE 2049
#define WAV_SPIKY_CONTROL 7
#define WAV_SPIKY_CONTROL_SIZE 2049
#define WAV_LINEAR_CONTROL 8
#define WAV_LINEAR_CONTROL_SIZE 2049
#define WAV_BUMP_CONTROL 9
#define WAV_BUMP_CONTROL_SIZE 2049
#define WAV_BUMP_EXP_CONTROL 10
#define WAV_BUMP_EXP_CONTROL_SIZE 2049
#define WAV_NORMAL_CONTROL 11
#define WAV_NORMAL_CONTROL_SIZE 2049
#define WAV_BIPOLAR_FOLD 12
#define WAV_BIPOLAR_FOLD_SIZE 1025
#define WAV_UNIPOLAR_FOLD 13
#define WAV_UNIPOLAR_FOLD_SIZE 1025
#define WT_WAVES 0
#define WT_WAVES_SIZE 45746
#define WS_SMOOTH_BIPOLAR_FOLD 0
#define WS_SMOOTH_BIPOLAR_FOLD_SIZE 1025
} // namespace tides
#endif // TIDES_RESOURCES_H_