1 // Copyright 2013 Emilie Gillet. 2 // 3 // Author: Emilie Gillet (emilie.o.gillet@gmail.com) 4 // 5 // Permission is hereby granted, free of charge, to any person obtaining a copy 6 // of this software and associated documentation files (the "Software"), to deal 7 // in the Software without restriction, including without limitation the rights 8 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 // copies of the Software, and to permit persons to whom the Software is 10 // furnished to do so, subject to the following conditions: 11 // 12 // The above copyright notice and this permission notice shall be included in 13 // all copies or substantial portions of the Software. 14 // 15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 // THE SOFTWARE. 22 // 23 // See http://creativecommons.org/licenses/MIT/ for more information. 24 // 25 // ----------------------------------------------------------------------------- 26 // 27 // Resources definitions. 28 // 29 // Automatically generated with: 30 // make resources 31 32 33 #ifndef PEAKS_RESOURCES_H_ 34 #define PEAKS_RESOURCES_H_ 35 36 37 #include "stmlib/stmlib.h" 38 39 40 41 namespace peaks { 42 43 typedef uint8_t ResourceId; 44 45 extern const char* string_table[]; 46 47 extern const uint16_t* lookup_table_table[]; 48 49 extern const uint32_t* lookup_table_32_table[]; 50 51 extern const uint8_t* waveform_8_table[]; 52 53 extern const int16_t* waveform_table[]; 54 55 extern const uint16_t lut_delay_times[]; 56 extern const uint16_t lut_gravity[]; 57 extern const uint16_t lut_env_linear[]; 58 extern const uint16_t lut_env_expo[]; 59 extern const uint16_t lut_env_quartic[]; 60 extern const uint16_t lut_raised_cosine[]; 61 extern const uint16_t lut_svf_cutoff[]; 62 extern const uint16_t lut_svf_damp[]; 63 extern const uint16_t lut_svf_scale[]; 64 extern const uint32_t lut_lfo_increments[]; 65 extern const uint32_t lut_env_increments[]; 66 extern const uint32_t lut_oscillator_increments[]; 67 extern const uint8_t wav_digits[]; 68 extern const int16_t wav_sine[]; 69 extern const int16_t wav_fold_power[]; 70 extern const int16_t wav_fold_sine[]; 71 extern const int16_t wav_overdrive[]; 72 #define STR_DUMMY 0 // dummy 73 #define LUT_DELAY_TIMES 0 74 #define LUT_DELAY_TIMES_SIZE 257 75 #define LUT_GRAVITY 1 76 #define LUT_GRAVITY_SIZE 257 77 #define LUT_ENV_LINEAR 2 78 #define LUT_ENV_LINEAR_SIZE 257 79 #define LUT_ENV_EXPO 3 80 #define LUT_ENV_EXPO_SIZE 257 81 #define LUT_ENV_QUARTIC 4 82 #define LUT_ENV_QUARTIC_SIZE 257 83 #define LUT_RAISED_COSINE 5 84 #define LUT_RAISED_COSINE_SIZE 257 85 #define LUT_SVF_CUTOFF 6 86 #define LUT_SVF_CUTOFF_SIZE 257 87 #define LUT_SVF_DAMP 7 88 #define LUT_SVF_DAMP_SIZE 257 89 #define LUT_SVF_SCALE 8 90 #define LUT_SVF_SCALE_SIZE 257 91 #define LUT_LFO_INCREMENTS 0 92 #define LUT_LFO_INCREMENTS_SIZE 257 93 #define LUT_ENV_INCREMENTS 1 94 #define LUT_ENV_INCREMENTS_SIZE 257 95 #define LUT_OSCILLATOR_INCREMENTS 2 96 #define LUT_OSCILLATOR_INCREMENTS_SIZE 97 97 #define WAV_DIGITS 0 98 #define WAV_DIGITS_SIZE 36824 99 #define WAV_SINE 0 100 #define WAV_SINE_SIZE 1025 101 #define WAV_FOLD_POWER 1 102 #define WAV_FOLD_POWER_SIZE 1025 103 #define WAV_FOLD_SINE 2 104 #define WAV_FOLD_SINE_SIZE 1025 105 #define WAV_OVERDRIVE 3 106 #define WAV_OVERDRIVE_SIZE 1025 107 108 } // namespace peaks 109 110 #endif // PEAKS_RESOURCES_H_ 111