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.

119 lines
3.9KB

  1. // Copyright 2013 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 TIDES_RESOURCES_H_
  32. #define TIDES_RESOURCES_H_
  33. #include "stmlib/stmlib.h"
  34. namespace tides {
  35. typedef uint8_t ResourceId;
  36. extern const uint16_t* lookup_table_table[];
  37. extern const uint32_t* lookup_table_32_table[];
  38. extern const int16_t* waveform_table[];
  39. extern const int16_t* wavetable_table[];
  40. extern const int16_t* waveshaper_table[];
  41. extern const uint16_t lut_attenuverter_curve[];
  42. extern const uint16_t lut_slope_compression[];
  43. extern const uint32_t lut_increments[];
  44. extern const uint32_t lut_cutoff[];
  45. extern const int16_t wav_inverse_tan_audio[];
  46. extern const int16_t wav_inverse_sin_audio[];
  47. extern const int16_t wav_linear_audio[];
  48. extern const int16_t wav_sin_audio[];
  49. extern const int16_t wav_tan_audio[];
  50. extern const int16_t wav_reversed_control[];
  51. extern const int16_t wav_spiky_exp_control[];
  52. extern const int16_t wav_spiky_control[];
  53. extern const int16_t wav_linear_control[];
  54. extern const int16_t wav_bump_control[];
  55. extern const int16_t wav_bump_exp_control[];
  56. extern const int16_t wav_normal_control[];
  57. extern const int16_t wav_bipolar_fold[];
  58. extern const int16_t wav_unipolar_fold[];
  59. extern const int16_t wt_waves[];
  60. extern const int16_t ws_smooth_bipolar_fold[] IN_RAM;
  61. #define LUT_ATTENUVERTER_CURVE 0
  62. #define LUT_ATTENUVERTER_CURVE_SIZE 257
  63. #define LUT_SLOPE_COMPRESSION 1
  64. #define LUT_SLOPE_COMPRESSION_SIZE 257
  65. #define LUT_INCREMENTS 0
  66. #define LUT_INCREMENTS_SIZE 97
  67. #define LUT_CUTOFF 1
  68. #define LUT_CUTOFF_SIZE 513
  69. #define WAV_INVERSE_TAN_AUDIO 0
  70. #define WAV_INVERSE_TAN_AUDIO_SIZE 2049
  71. #define WAV_INVERSE_SIN_AUDIO 1
  72. #define WAV_INVERSE_SIN_AUDIO_SIZE 2049
  73. #define WAV_LINEAR_AUDIO 2
  74. #define WAV_LINEAR_AUDIO_SIZE 2049
  75. #define WAV_SIN_AUDIO 3
  76. #define WAV_SIN_AUDIO_SIZE 2049
  77. #define WAV_TAN_AUDIO 4
  78. #define WAV_TAN_AUDIO_SIZE 2049
  79. #define WAV_REVERSED_CONTROL 5
  80. #define WAV_REVERSED_CONTROL_SIZE 2049
  81. #define WAV_SPIKY_EXP_CONTROL 6
  82. #define WAV_SPIKY_EXP_CONTROL_SIZE 2049
  83. #define WAV_SPIKY_CONTROL 7
  84. #define WAV_SPIKY_CONTROL_SIZE 2049
  85. #define WAV_LINEAR_CONTROL 8
  86. #define WAV_LINEAR_CONTROL_SIZE 2049
  87. #define WAV_BUMP_CONTROL 9
  88. #define WAV_BUMP_CONTROL_SIZE 2049
  89. #define WAV_BUMP_EXP_CONTROL 10
  90. #define WAV_BUMP_EXP_CONTROL_SIZE 2049
  91. #define WAV_NORMAL_CONTROL 11
  92. #define WAV_NORMAL_CONTROL_SIZE 2049
  93. #define WAV_BIPOLAR_FOLD 12
  94. #define WAV_BIPOLAR_FOLD_SIZE 1025
  95. #define WAV_UNIPOLAR_FOLD 13
  96. #define WAV_UNIPOLAR_FOLD_SIZE 1025
  97. #define WT_WAVES 0
  98. #define WT_WAVES_SIZE 45746
  99. #define WS_SMOOTH_BIPOLAR_FOLD 0
  100. #define WS_SMOOTH_BIPOLAR_FOLD_SIZE 1025
  101. } // namespace tides
  102. #endif // TIDES_RESOURCES_H_