Audio plugin host https://kx.studio/carla
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.

stk.cpp 5.2KB

11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /*
  2. ==============================================================================
  3. The Synthesis ToolKit in C++ (STK) is a set of open source audio
  4. signal processing and algorithmic synthesis classes written in the
  5. C++ programming language. STK was designed to facilitate rapid
  6. development of music synthesis and audio processing software, with
  7. an emphasis on cross-platform functionality, realtime control,
  8. ease of use, and educational example code. STK currently runs
  9. with realtime support (audio and MIDI) on Linux, Macintosh OS X,
  10. and Windows computer platforms. Generic, non-realtime support has
  11. been tested under NeXTStep, Sun, and other platforms and should
  12. work with any standard C++ compiler.
  13. STK WWW site: http://ccrma.stanford.edu/software/stk/
  14. The Synthesis ToolKit in C++ (STK)
  15. Copyright (c) 1995-2011 Perry R. Cook and Gary P. Scavone
  16. Permission is hereby granted, free of charge, to any person
  17. obtaining a copy of this software and associated documentation files
  18. (the "Software"), to deal in the Software without restriction,
  19. including without limitation the rights to use, copy, modify, merge,
  20. publish, distribute, sublicense, and/or sell copies of the Software,
  21. and to permit persons to whom the Software is furnished to do so,
  22. subject to the following conditions:
  23. The above copyright notice and this permission notice shall be
  24. included in all copies or substantial portions of the Software.
  25. Any person wishing to distribute modifications to the Software is
  26. asked to send the modifications to the original developer so that
  27. they can be incorporated into the canonical version. This is,
  28. however, not a binding provision of this license.
  29. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  30. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  31. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  32. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
  33. ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
  34. CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  35. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  36. ==============================================================================
  37. */
  38. #if defined (__STK_STKHEADER__) && ! JUCE_AMALGAMATED_INCLUDE
  39. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  40. already included any other headers - just put it inside a file on its own, possibly with your config
  41. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  42. header files that the compiler may be using.
  43. */
  44. #error "Incorrect use of JUCE cpp file"
  45. #endif
  46. #include "stk.h"
  47. // stops a warning with clang
  48. #ifdef __clang__
  49. #pragma clang diagnostic ignored "-Wtautological-compare"
  50. #endif
  51. #if JUCE_MSVC
  52. #pragma warning (push)
  53. #pragma warning (disable: 4127 4702 4244 4305 4100 4996 4309)
  54. #endif
  55. #include "stk/ADSR.cpp"
  56. #include "stk/Asymp.cpp"
  57. #include "stk/BandedWG.cpp"
  58. #include "stk/BeeThree.cpp"
  59. #include "stk/BiQuad.cpp"
  60. #include "stk/Blit.cpp"
  61. #include "stk/BlitSaw.cpp"
  62. #include "stk/BlitSquare.cpp"
  63. #include "stk/BlowBotl.cpp"
  64. #include "stk/BlowHole.cpp"
  65. #include "stk/Bowed.cpp"
  66. #include "stk/Brass.cpp"
  67. #include "stk/Chorus.cpp"
  68. #include "stk/Clarinet.cpp"
  69. #include "stk/Delay.cpp"
  70. #include "stk/DelayA.cpp"
  71. #include "stk/DelayL.cpp"
  72. #include "stk/Drummer.cpp"
  73. #include "stk/Echo.cpp"
  74. #include "stk/Envelope.cpp"
  75. #include "stk/FileLoop.cpp"
  76. #include "stk/FileRead.cpp"
  77. #include "stk/FileWrite.cpp"
  78. #include "stk/FileWvIn.cpp"
  79. #include "stk/FileWvOut.cpp"
  80. #include "stk/Fir.cpp"
  81. #include "stk/Flute.cpp"
  82. #include "stk/FM.cpp"
  83. #include "stk/FMVoices.cpp"
  84. #include "stk/FormSwep.cpp"
  85. #include "stk/Granulate.cpp"
  86. #include "stk/HevyMetl.cpp"
  87. #include "stk/Iir.cpp"
  88. #include "stk/JCRev.cpp"
  89. #include "stk/LentPitShift.cpp"
  90. #include "stk/Mandolin.cpp"
  91. #include "stk/Mesh2D.cpp"
  92. #include "stk/MidiFileIn.cpp"
  93. #include "stk/Modal.cpp"
  94. #include "stk/ModalBar.cpp"
  95. #include "stk/Modulate.cpp"
  96. #include "stk/Moog.cpp"
  97. #include "stk/Noise.cpp"
  98. #include "stk/NRev.cpp"
  99. #include "stk/OnePole.cpp"
  100. #include "stk/OneZero.cpp"
  101. #include "stk/PercFlut.cpp"
  102. #include "stk/Phonemes.cpp"
  103. #include "stk/PitShift.cpp"
  104. #include "stk/Plucked.cpp"
  105. #include "stk/PoleZero.cpp"
  106. #include "stk/PRCRev.cpp"
  107. #include "stk/Resonate.cpp"
  108. #include "stk/Rhodey.cpp"
  109. #include "stk/Sampler.cpp"
  110. #include "stk/Saxofony.cpp"
  111. #include "stk/Shakers.cpp"
  112. #include "stk/Simple.cpp"
  113. #include "stk/SineWave.cpp"
  114. #include "stk/SingWave.cpp"
  115. #include "stk/Sitar.cpp"
  116. #include "stk/Skini.cpp"
  117. #include "stk/Sphere.cpp"
  118. #include "stk/StifKarp.cpp"
  119. #include "stk/Stk.cpp"
  120. #include "stk/TapDelay.cpp"
  121. #include "stk/TubeBell.cpp"
  122. #include "stk/Twang.cpp"
  123. #include "stk/TwoPole.cpp"
  124. #include "stk/TwoZero.cpp"
  125. #include "stk/Voicer.cpp"
  126. #include "stk/VoicForm.cpp"
  127. #include "stk/Whistle.cpp"
  128. #include "stk/Wurley.cpp"
  129. #if JUCE_MSVC
  130. #pragma warning (pop)
  131. #pragma warning (disable: 4127 4702 4244 4305 4100 4996 4309)
  132. #endif
  133. #ifdef __clang__
  134. #pragma pop // -Wtautological-compare
  135. #endif