You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
3.2KB

  1. // Copyright 2014 Olivier Gillet.
  2. //
  3. // Author: Olivier Gillet (ol.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. #ifndef STREAMS_RESOURCES_H_
  32. #define STREAMS_RESOURCES_H_
  33. #include "stmlib/stmlib.h"
  34. namespace streams {
  35. typedef uint8_t ResourceId;
  36. extern const char* string_table[];
  37. extern const int16_t* waveforms_table[];
  38. extern const uint16_t* lookup_table_table[];
  39. extern const uint32_t* lookup_table_32_table[];
  40. extern const int16_t wav_gompertz[];
  41. extern const int16_t wav_db[];
  42. extern const uint16_t lut_env_linear[];
  43. extern const uint16_t lut_env_expo[];
  44. extern const uint16_t lut_env_quartic[];
  45. extern const uint16_t lut_square_root[];
  46. extern const uint16_t lut_svf_cutoff[];
  47. extern const uint16_t lut_svf_damp[];
  48. extern const uint16_t lut_2164_gain[];
  49. extern const uint16_t lut_compressor_ratio[];
  50. extern const uint16_t lut_soft_knee[];
  51. extern const uint32_t lut_env_increments[];
  52. extern const uint32_t lut_lp_coefficients[];
  53. extern const uint32_t lut_exp2[];
  54. extern const uint32_t lut_log2[];
  55. extern const uint32_t lut_lorenz_rate[];
  56. #define STR_DUMMY 0 // dummy
  57. #define WAV_GOMPERTZ 0
  58. #define WAV_GOMPERTZ_SIZE 1025
  59. #define WAV_DB 1
  60. #define WAV_DB_SIZE 257
  61. #define LUT_ENV_LINEAR 0
  62. #define LUT_ENV_LINEAR_SIZE 257
  63. #define LUT_ENV_EXPO 1
  64. #define LUT_ENV_EXPO_SIZE 257
  65. #define LUT_ENV_QUARTIC 2
  66. #define LUT_ENV_QUARTIC_SIZE 257
  67. #define LUT_SQUARE_ROOT 3
  68. #define LUT_SQUARE_ROOT_SIZE 257
  69. #define LUT_SVF_CUTOFF 4
  70. #define LUT_SVF_CUTOFF_SIZE 257
  71. #define LUT_SVF_DAMP 5
  72. #define LUT_SVF_DAMP_SIZE 257
  73. #define LUT_2164_GAIN 6
  74. #define LUT_2164_GAIN_SIZE 257
  75. #define LUT_COMPRESSOR_RATIO 7
  76. #define LUT_COMPRESSOR_RATIO_SIZE 257
  77. #define LUT_SOFT_KNEE 8
  78. #define LUT_SOFT_KNEE_SIZE 257
  79. #define LUT_ENV_INCREMENTS 0
  80. #define LUT_ENV_INCREMENTS_SIZE 257
  81. #define LUT_LP_COEFFICIENTS 1
  82. #define LUT_LP_COEFFICIENTS_SIZE 640
  83. #define LUT_EXP2 2
  84. #define LUT_EXP2_SIZE 257
  85. #define LUT_LOG2 3
  86. #define LUT_LOG2_SIZE 257
  87. #define LUT_LORENZ_RATE 4
  88. #define LUT_LORENZ_RATE_SIZE 257
  89. } // namespace streams
  90. #endif // STREAMS_RESOURCES_H_