synthesistoolkit 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. synthesistoolkit-0.0.1/.gitignore +11 -0
  2. synthesistoolkit-0.0.1/.gitmodules +4 -0
  3. synthesistoolkit-0.0.1/CMakeLists.txt +54 -0
  4. synthesistoolkit-0.0.1/LICENSE +53 -0
  5. synthesistoolkit-0.0.1/PKG-INFO +11 -0
  6. synthesistoolkit-0.0.1/README.md +76 -0
  7. synthesistoolkit-0.0.1/pyproject.toml +44 -0
  8. synthesistoolkit-0.0.1/src/Common.h +102 -0
  9. synthesistoolkit-0.0.1/src/effect.cpp +93 -0
  10. synthesistoolkit-0.0.1/src/filter.cpp +193 -0
  11. synthesistoolkit-0.0.1/src/function.cpp +43 -0
  12. synthesistoolkit-0.0.1/src/generator.cpp +162 -0
  13. synthesistoolkit-0.0.1/src/instrmnt.cpp +713 -0
  14. synthesistoolkit-0.0.1/src/pystk.cpp +91 -0
  15. synthesistoolkit-0.0.1/src/synthesistoolkit/__init__.py +7 -0
  16. synthesistoolkit-0.0.1/stk/.gitignore +199 -0
  17. synthesistoolkit-0.0.1/stk/CMakeLists.txt +167 -0
  18. synthesistoolkit-0.0.1/stk/INSTALL.md +54 -0
  19. synthesistoolkit-0.0.1/stk/LICENSE +27 -0
  20. synthesistoolkit-0.0.1/stk/Makefile.in +41 -0
  21. synthesistoolkit-0.0.1/stk/README.md +194 -0
  22. synthesistoolkit-0.0.1/stk/STK.podspec +55 -0
  23. synthesistoolkit-0.0.1/stk/bin/treesed +189 -0
  24. synthesistoolkit-0.0.1/stk/cmake/FindCoreAudio.cmake +21 -0
  25. synthesistoolkit-0.0.1/stk/config/config.guess +1441 -0
  26. synthesistoolkit-0.0.1/stk/config/config.sub +1813 -0
  27. synthesistoolkit-0.0.1/stk/config/install.sh +0 -0
  28. synthesistoolkit-0.0.1/stk/configure.ac +274 -0
  29. synthesistoolkit-0.0.1/stk/doc/README-Linux.txt +13 -0
  30. synthesistoolkit-0.0.1/stk/doc/README-MacOSX.txt +16 -0
  31. synthesistoolkit-0.0.1/stk/doc/README-SGI.txt +7 -0
  32. synthesistoolkit-0.0.1/stk/doc/README-Win.txt +26 -0
  33. synthesistoolkit-0.0.1/stk/doc/ReleaseNotes.txt +314 -0
  34. synthesistoolkit-0.0.1/stk/doc/SKINI.txt +388 -0
  35. synthesistoolkit-0.0.1/stk/doc/doxygen/Doxyfile +2719 -0
  36. synthesistoolkit-0.0.1/stk/doc/doxygen/classes.txt +10 -0
  37. synthesistoolkit-0.0.1/stk/doc/doxygen/compile.txt +109 -0
  38. synthesistoolkit-0.0.1/stk/doc/doxygen/control.txt +54 -0
  39. synthesistoolkit-0.0.1/stk/doc/doxygen/crealtime.txt +74 -0
  40. synthesistoolkit-0.0.1/stk/doc/doxygen/download.txt +299 -0
  41. synthesistoolkit-0.0.1/stk/doc/doxygen/faq.txt +81 -0
  42. synthesistoolkit-0.0.1/stk/doc/doxygen/filtering.txt +91 -0
  43. synthesistoolkit-0.0.1/stk/doc/doxygen/footer.html +9 -0
  44. synthesistoolkit-0.0.1/stk/doc/doxygen/fundamentals.txt +65 -0
  45. synthesistoolkit-0.0.1/stk/doc/doxygen/header.html +10 -0
  46. synthesistoolkit-0.0.1/stk/doc/doxygen/header.tex +31 -0
  47. synthesistoolkit-0.0.1/stk/doc/doxygen/hello.txt +94 -0
  48. synthesistoolkit-0.0.1/stk/doc/doxygen/images/ccrma.gif +0 -0
  49. synthesistoolkit-0.0.1/stk/doc/doxygen/images/mcgill.gif +0 -0
  50. synthesistoolkit-0.0.1/stk/doc/doxygen/images/princeton.gif +0 -0
  51. synthesistoolkit-0.0.1/stk/doc/doxygen/index.txt +41 -0
  52. synthesistoolkit-0.0.1/stk/doc/doxygen/information.txt +133 -0
  53. synthesistoolkit-0.0.1/stk/doc/doxygen/instruments.txt +19 -0
  54. synthesistoolkit-0.0.1/stk/doc/doxygen/links.txt +25 -0
  55. synthesistoolkit-0.0.1/stk/doc/doxygen/maillist.txt +14 -0
  56. synthesistoolkit-0.0.1/stk/doc/doxygen/multichannel.txt +30 -0
  57. synthesistoolkit-0.0.1/stk/doc/doxygen/polyvoices.txt +22 -0
  58. synthesistoolkit-0.0.1/stk/doc/doxygen/realtime.txt +49 -0
  59. synthesistoolkit-0.0.1/stk/doc/doxygen/skini.txt +226 -0
  60. synthesistoolkit-0.0.1/stk/doc/doxygen/system.txt +35 -0
  61. synthesistoolkit-0.0.1/stk/doc/doxygen/tutorial.txt +24 -0
  62. synthesistoolkit-0.0.1/stk/doc/doxygen/usage.txt +205 -0
  63. synthesistoolkit-0.0.1/stk/doc/hierarchy.txt +180 -0
  64. synthesistoolkit-0.0.1/stk/doc/treesed.html +175 -0
  65. synthesistoolkit-0.0.1/stk/iOS/README-iOS.md +91 -0
  66. synthesistoolkit-0.0.1/stk/iOS/STK.xcodeproj/project.pbxproj +1165 -0
  67. synthesistoolkit-0.0.1/stk/iOS/STK.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  68. synthesistoolkit-0.0.1/stk/iOS/demo/README.md +10 -0
  69. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/AppDelegate.h +14 -0
  70. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/AppDelegate.m +25 -0
  71. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/Images.xcassets/AppIcon.appiconset/Contents.json +23 -0
  72. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
  73. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/ViewController.h +12 -0
  74. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/ViewController.mm +108 -0
  75. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/en.lproj/InfoPlist.strings +2 -0
  76. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/iOS Demo-Info.plist +38 -0
  77. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/iOS Demo-Prefix.pch +16 -0
  78. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/main.m +18 -0
  79. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo.xcodeproj/project.pbxproj +571 -0
  80. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  81. synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo.xcodeproj/project.xcworkspace/xcshareddata/iOS Demo.xccheckout +41 -0
  82. synthesistoolkit-0.0.1/stk/iOS/demo/iOS DemoTests/en.lproj/InfoPlist.strings +2 -0
  83. synthesistoolkit-0.0.1/stk/iOS/demo/iOS DemoTests/iOS DemoTests-Info.plist +22 -0
  84. synthesistoolkit-0.0.1/stk/iOS/demo/iOS DemoTests/iOS_DemoTests.m +34 -0
  85. synthesistoolkit-0.0.1/stk/include/ADSR.h +179 -0
  86. synthesistoolkit-0.0.1/stk/include/Asymp.h +146 -0
  87. synthesistoolkit-0.0.1/stk/include/BandedWG.h +153 -0
  88. synthesistoolkit-0.0.1/stk/include/BeeThree.h +127 -0
  89. synthesistoolkit-0.0.1/stk/include/BiQuad.h +259 -0
  90. synthesistoolkit-0.0.1/stk/include/Blit.h +151 -0
  91. synthesistoolkit-0.0.1/stk/include/BlitSaw.h +148 -0
  92. synthesistoolkit-0.0.1/stk/include/BlitSquare.h +170 -0
  93. synthesistoolkit-0.0.1/stk/include/BlowBotl.h +144 -0
  94. synthesistoolkit-0.0.1/stk/include/BlowHole.h +185 -0
  95. synthesistoolkit-0.0.1/stk/include/BowTable.h +150 -0
  96. synthesistoolkit-0.0.1/stk/include/Bowed.h +157 -0
  97. synthesistoolkit-0.0.1/stk/include/Brass.h +147 -0
  98. synthesistoolkit-0.0.1/stk/include/Chorus.h +172 -0
  99. synthesistoolkit-0.0.1/stk/include/Clarinet.h +152 -0
  100. synthesistoolkit-0.0.1/stk/include/Cubic.h +138 -0
  101. synthesistoolkit-0.0.1/stk/include/Delay.h +188 -0
  102. synthesistoolkit-0.0.1/stk/include/DelayA.h +207 -0
  103. synthesistoolkit-0.0.1/stk/include/DelayL.h +230 -0
  104. synthesistoolkit-0.0.1/stk/include/Drummer.h +130 -0
  105. synthesistoolkit-0.0.1/stk/include/Echo.h +120 -0
  106. synthesistoolkit-0.0.1/stk/include/Effect.h +79 -0
  107. synthesistoolkit-0.0.1/stk/include/Envelope.h +131 -0
  108. synthesistoolkit-0.0.1/stk/include/FM.h +119 -0
  109. synthesistoolkit-0.0.1/stk/include/FMVoices.h +135 -0
  110. synthesistoolkit-0.0.1/stk/include/FileLoop.h +165 -0
  111. synthesistoolkit-0.0.1/stk/include/FileRead.h +141 -0
  112. synthesistoolkit-0.0.1/stk/include/FileWrite.h +116 -0
  113. synthesistoolkit-0.0.1/stk/include/FileWvIn.h +208 -0
  114. synthesistoolkit-0.0.1/stk/include/FileWvOut.h +102 -0
  115. synthesistoolkit-0.0.1/stk/include/Filter.h +124 -0
  116. synthesistoolkit-0.0.1/stk/include/Fir.h +155 -0
  117. synthesistoolkit-0.0.1/stk/include/Flute.h +167 -0
  118. synthesistoolkit-0.0.1/stk/include/FormSwep.h +190 -0
  119. synthesistoolkit-0.0.1/stk/include/FreeVerb.h +251 -0
  120. synthesistoolkit-0.0.1/stk/include/Function.h +41 -0
  121. synthesistoolkit-0.0.1/stk/include/Generator.h +50 -0
  122. synthesistoolkit-0.0.1/stk/include/Granulate.h +209 -0
  123. synthesistoolkit-0.0.1/stk/include/Guitar.h +202 -0
  124. synthesistoolkit-0.0.1/stk/include/HevyMetl.h +126 -0
  125. synthesistoolkit-0.0.1/stk/include/Iir.h +204 -0
  126. synthesistoolkit-0.0.1/stk/include/InetWvIn.h +158 -0
  127. synthesistoolkit-0.0.1/stk/include/InetWvOut.h +98 -0
  128. synthesistoolkit-0.0.1/stk/include/Instrmnt.h +108 -0
  129. synthesistoolkit-0.0.1/stk/include/JCRev.h +166 -0
  130. synthesistoolkit-0.0.1/stk/include/JetTable.h +112 -0
  131. synthesistoolkit-0.0.1/stk/include/LentPitShift.h +263 -0
  132. synthesistoolkit-0.0.1/stk/include/Mandolin.h +143 -0
  133. synthesistoolkit-0.0.1/stk/include/Mesh2D.h +144 -0
  134. synthesistoolkit-0.0.1/stk/include/Messager.h +166 -0
  135. synthesistoolkit-0.0.1/stk/include/MidiFileIn.h +135 -0
  136. synthesistoolkit-0.0.1/stk/include/Modal.h +154 -0
  137. synthesistoolkit-0.0.1/stk/include/ModalBar.h +65 -0
  138. synthesistoolkit-0.0.1/stk/include/Modulate.h +111 -0
  139. synthesistoolkit-0.0.1/stk/include/Moog.h +125 -0
  140. synthesistoolkit-0.0.1/stk/include/Mutex.h +74 -0
  141. synthesistoolkit-0.0.1/stk/include/NRev.h +160 -0
  142. synthesistoolkit-0.0.1/stk/include/Noise.h +84 -0
  143. synthesistoolkit-0.0.1/stk/include/OnePole.h +134 -0
  144. synthesistoolkit-0.0.1/stk/include/OneZero.h +134 -0
  145. synthesistoolkit-0.0.1/stk/include/PRCRev.h +140 -0
  146. synthesistoolkit-0.0.1/stk/include/PercFlut.h +127 -0
  147. synthesistoolkit-0.0.1/stk/include/Phonemes.h +55 -0
  148. synthesistoolkit-0.0.1/stk/include/PitShift.h +106 -0
  149. synthesistoolkit-0.0.1/stk/include/Plucked.h +117 -0
  150. synthesistoolkit-0.0.1/stk/include/PoleZero.h +113 -0
  151. synthesistoolkit-0.0.1/stk/include/Recorder.h +167 -0
  152. synthesistoolkit-0.0.1/stk/include/ReedTable.h +143 -0
  153. synthesistoolkit-0.0.1/stk/include/Resonate.h +124 -0
  154. synthesistoolkit-0.0.1/stk/include/Rhodey.h +128 -0
  155. synthesistoolkit-0.0.1/stk/include/RtAudio.h +939 -0
  156. synthesistoolkit-0.0.1/stk/include/RtMidi.h +677 -0
  157. synthesistoolkit-0.0.1/stk/include/RtWvIn.h +126 -0
  158. synthesistoolkit-0.0.1/stk/include/RtWvOut.h +96 -0
  159. synthesistoolkit-0.0.1/stk/include/SKINImsg.h +129 -0
  160. synthesistoolkit-0.0.1/stk/include/SKINItbl.h +135 -0
  161. synthesistoolkit-0.0.1/stk/include/Sampler.h +75 -0
  162. synthesistoolkit-0.0.1/stk/include/Saxofony.h +166 -0
  163. synthesistoolkit-0.0.1/stk/include/Shakers.h +332 -0
  164. synthesistoolkit-0.0.1/stk/include/Simple.h +126 -0
  165. synthesistoolkit-0.0.1/stk/include/SineWave.h +159 -0
  166. synthesistoolkit-0.0.1/stk/include/SingWave.h +136 -0
  167. synthesistoolkit-0.0.1/stk/include/Sitar.h +129 -0
  168. synthesistoolkit-0.0.1/stk/include/Skini.h +122 -0
  169. synthesistoolkit-0.0.1/stk/include/Socket.h +89 -0
  170. synthesistoolkit-0.0.1/stk/include/Sphere.h +79 -0
  171. synthesistoolkit-0.0.1/stk/include/StifKarp.h +153 -0
  172. synthesistoolkit-0.0.1/stk/include/Stk.h +637 -0
  173. synthesistoolkit-0.0.1/stk/include/TapDelay.h +220 -0
  174. synthesistoolkit-0.0.1/stk/include/TcpClient.h +65 -0
  175. synthesistoolkit-0.0.1/stk/include/TcpServer.h +65 -0
  176. synthesistoolkit-0.0.1/stk/include/Thread.h +98 -0
  177. synthesistoolkit-0.0.1/stk/include/TubeBell.h +125 -0
  178. synthesistoolkit-0.0.1/stk/include/Twang.h +160 -0
  179. synthesistoolkit-0.0.1/stk/include/TwoPole.h +153 -0
  180. synthesistoolkit-0.0.1/stk/include/TwoZero.h +149 -0
  181. synthesistoolkit-0.0.1/stk/include/UdpSocket.h +76 -0
  182. synthesistoolkit-0.0.1/stk/include/Vector3D.h +68 -0
  183. synthesistoolkit-0.0.1/stk/include/VoicForm.h +161 -0
  184. synthesistoolkit-0.0.1/stk/include/Voicer.h +219 -0
  185. synthesistoolkit-0.0.1/stk/include/Whistle.h +128 -0
  186. synthesistoolkit-0.0.1/stk/include/Wurley.h +128 -0
  187. synthesistoolkit-0.0.1/stk/include/WvIn.h +46 -0
  188. synthesistoolkit-0.0.1/stk/include/WvOut.h +85 -0
  189. synthesistoolkit-0.0.1/stk/m4/ax_cxx_compile_stdcxx.m4 +951 -0
  190. synthesistoolkit-0.0.1/stk/projects/demo/Banded +1 -0
  191. synthesistoolkit-0.0.1/stk/projects/demo/Banded.bat +1 -0
  192. synthesistoolkit-0.0.1/stk/projects/demo/CMakeLists.txt +9 -0
  193. synthesistoolkit-0.0.1/stk/projects/demo/Drums +1 -0
  194. synthesistoolkit-0.0.1/stk/projects/demo/Drums.bat +1 -0
  195. synthesistoolkit-0.0.1/stk/projects/demo/Makefile.in +93 -0
  196. synthesistoolkit-0.0.1/stk/projects/demo/Md2Skini.cpp +265 -0
  197. synthesistoolkit-0.0.1/stk/projects/demo/Md2Skini.dsp +126 -0
  198. synthesistoolkit-0.0.1/stk/projects/demo/Modal +1 -0
  199. synthesistoolkit-0.0.1/stk/projects/demo/Modal.bat +1 -0
  200. synthesistoolkit-0.0.1/stk/projects/demo/Physical +1 -0
  201. synthesistoolkit-0.0.1/stk/projects/demo/Physical.bat +1 -0
  202. synthesistoolkit-0.0.1/stk/projects/demo/Shakers +1 -0
  203. synthesistoolkit-0.0.1/stk/projects/demo/Shakers.bat +1 -0
  204. synthesistoolkit-0.0.1/stk/projects/demo/StkDemo +1 -0
  205. synthesistoolkit-0.0.1/stk/projects/demo/StkDemo.bat +1 -0
  206. synthesistoolkit-0.0.1/stk/projects/demo/Voice +1 -0
  207. synthesistoolkit-0.0.1/stk/projects/demo/Voice.bat +1 -0
  208. synthesistoolkit-0.0.1/stk/projects/demo/demo.cpp +319 -0
  209. synthesistoolkit-0.0.1/stk/projects/demo/demo.sln +25 -0
  210. synthesistoolkit-0.0.1/stk/projects/demo/demo.vcxproj +299 -0
  211. synthesistoolkit-0.0.1/stk/projects/demo/demo.vcxproj.filters +507 -0
  212. synthesistoolkit-0.0.1/stk/projects/demo/scores/README +19 -0
  213. synthesistoolkit-0.0.1/stk/projects/demo/scores/bachfugue.ski +1601 -0
  214. synthesistoolkit-0.0.1/stk/projects/demo/scores/bookert.ski +90 -0
  215. synthesistoolkit-0.0.1/stk/projects/demo/scores/chords.ski +112 -0
  216. synthesistoolkit-0.0.1/stk/projects/demo/scores/doogie.ski +32 -0
  217. synthesistoolkit-0.0.1/stk/projects/demo/scores/drumfunk.ski +128 -0
  218. synthesistoolkit-0.0.1/stk/projects/demo/scores/drumtest.ski +57 -0
  219. synthesistoolkit-0.0.1/stk/projects/demo/scores/duelingb.ski +24 -0
  220. synthesistoolkit-0.0.1/stk/projects/demo/scores/fiddle.ski +111 -0
  221. synthesistoolkit-0.0.1/stk/projects/demo/scores/flutbach.ski +97 -0
  222. synthesistoolkit-0.0.1/stk/projects/demo/scores/funicula.ski +180 -0
  223. synthesistoolkit-0.0.1/stk/projects/demo/scores/funskini.ski +105 -0
  224. synthesistoolkit-0.0.1/stk/projects/demo/scores/lacrymos.ski +34 -0
  225. synthesistoolkit-0.0.1/stk/projects/demo/scores/mandtune.ski +45 -0
  226. synthesistoolkit-0.0.1/stk/projects/demo/scores/marimba2.ski +107 -0
  227. synthesistoolkit-0.0.1/stk/projects/demo/scores/marimtst.ski +45 -0
  228. synthesistoolkit-0.0.1/stk/projects/demo/scores/misacrio.ski +58 -0
  229. synthesistoolkit-0.0.1/stk/projects/demo/scores/morazbel.ski +85 -0
  230. synthesistoolkit-0.0.1/stk/projects/demo/scores/muneira.ski +12901 -0
  231. synthesistoolkit-0.0.1/stk/projects/demo/scores/organs.ski +221 -0
  232. synthesistoolkit-0.0.1/stk/projects/demo/scores/pickdamp.ski +65 -0
  233. synthesistoolkit-0.0.1/stk/projects/demo/scores/pictures.ski +30 -0
  234. synthesistoolkit-0.0.1/stk/projects/demo/scores/riderson.ski +63 -0
  235. synthesistoolkit-0.0.1/stk/projects/demo/scores/scales.ski +72 -0
  236. synthesistoolkit-0.0.1/stk/projects/demo/scores/shaktest.ski +64 -0
  237. synthesistoolkit-0.0.1/stk/projects/demo/scores/simplgft.ski +47 -0
  238. synthesistoolkit-0.0.1/stk/projects/demo/scores/spain.ski +23 -0
  239. synthesistoolkit-0.0.1/stk/projects/demo/scores/streetsf.ski +56 -0
  240. synthesistoolkit-0.0.1/stk/projects/demo/scores/test.ski +3 -0
  241. synthesistoolkit-0.0.1/stk/projects/demo/scores/thecars.ski +38 -0
  242. synthesistoolkit-0.0.1/stk/projects/demo/scores/tubebell.ski +19 -0
  243. synthesistoolkit-0.0.1/stk/projects/demo/scores/vocaliz.ski +158 -0
  244. synthesistoolkit-0.0.1/stk/projects/demo/tcl/Banded.tcl +187 -0
  245. synthesistoolkit-0.0.1/stk/projects/demo/tcl/Demo.tcl +798 -0
  246. synthesistoolkit-0.0.1/stk/projects/demo/tcl/Drums.tcl +122 -0
  247. synthesistoolkit-0.0.1/stk/projects/demo/tcl/Modal.tcl +215 -0
  248. synthesistoolkit-0.0.1/stk/projects/demo/tcl/Physical.tcl +412 -0
  249. synthesistoolkit-0.0.1/stk/projects/demo/tcl/Shakers.tcl +227 -0
  250. synthesistoolkit-0.0.1/stk/projects/demo/tcl/Voice.tcl +180 -0
  251. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KFMod.xbm +117 -0
  252. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KFiddl.xbm +117 -0
  253. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KFloot.xbm +117 -0
  254. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KHose.xbm +117 -0
  255. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KModal.xbm +117 -0
  256. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KPluk.xbm +117 -0
  257. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KVoicForm.xbm +117 -0
  258. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KVoiceFM.xbm +117 -0
  259. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/Klar.xbm +117 -0
  260. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/bamboo.xbm +138 -0
  261. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/cabasa.xbm +138 -0
  262. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/cokecan.xbm +71 -0
  263. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/guiro.xbm +138 -0
  264. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/kasm.xbm +117 -0
  265. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/maraca.xbm +138 -0
  266. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/phism.xbm +90 -0
  267. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/prc.xbm +101 -0
  268. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/prcFunny.xbm +60 -0
  269. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/rachet.xbm +138 -0
  270. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/sleighbell.xbm +138 -0
  271. synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/tambourine.xbm +138 -0
  272. synthesistoolkit-0.0.1/stk/projects/demo/utilities.cpp +335 -0
  273. synthesistoolkit-0.0.1/stk/projects/demo/utilities.h +19 -0
  274. synthesistoolkit-0.0.1/stk/projects/effects/CMakeLists.txt +9 -0
  275. synthesistoolkit-0.0.1/stk/projects/effects/Makefile.in +71 -0
  276. synthesistoolkit-0.0.1/stk/projects/effects/README-effects.txt +26 -0
  277. synthesistoolkit-0.0.1/stk/projects/effects/StkEffects +1 -0
  278. synthesistoolkit-0.0.1/stk/projects/effects/StkEffects.bat +1 -0
  279. synthesistoolkit-0.0.1/stk/projects/effects/effects.cpp +285 -0
  280. synthesistoolkit-0.0.1/stk/projects/effects/effects.sln +25 -0
  281. synthesistoolkit-0.0.1/stk/projects/effects/effects.vcxproj +188 -0
  282. synthesistoolkit-0.0.1/stk/projects/effects/tcl/Effects.tcl +256 -0
  283. synthesistoolkit-0.0.1/stk/projects/eguitar/CMakeLists.txt +9 -0
  284. synthesistoolkit-0.0.1/stk/projects/eguitar/ElectricGuitar +1 -0
  285. synthesistoolkit-0.0.1/stk/projects/eguitar/ElectricGuitar.bat +1 -0
  286. synthesistoolkit-0.0.1/stk/projects/eguitar/Makefile.in +76 -0
  287. synthesistoolkit-0.0.1/stk/projects/eguitar/README-eguitar.txt +44 -0
  288. synthesistoolkit-0.0.1/stk/projects/eguitar/eguitar.cpp +371 -0
  289. synthesistoolkit-0.0.1/stk/projects/eguitar/eguitar.sln +25 -0
  290. synthesistoolkit-0.0.1/stk/projects/eguitar/eguitar.vcxproj +186 -0
  291. synthesistoolkit-0.0.1/stk/projects/eguitar/scores/test.ski +27 -0
  292. synthesistoolkit-0.0.1/stk/projects/eguitar/tcl/EGuitar.tcl +295 -0
  293. synthesistoolkit-0.0.1/stk/projects/eguitar/utilities.cpp +207 -0
  294. synthesistoolkit-0.0.1/stk/projects/eguitar/utilities.h +12 -0
  295. synthesistoolkit-0.0.1/stk/projects/examples/CMakeLists.txt +11 -0
  296. synthesistoolkit-0.0.1/stk/projects/examples/Makefile.in +109 -0
  297. synthesistoolkit-0.0.1/stk/projects/examples/audioprobe.cpp +117 -0
  298. synthesistoolkit-0.0.1/stk/projects/examples/audioprobe.vcxproj +141 -0
  299. synthesistoolkit-0.0.1/stk/projects/examples/audioprobe.vcxproj.filters +38 -0
  300. synthesistoolkit-0.0.1/stk/projects/examples/bethree.cpp +91 -0
  301. synthesistoolkit-0.0.1/stk/projects/examples/bethree.vcxproj +165 -0
  302. synthesistoolkit-0.0.1/stk/projects/examples/bethree.vcxproj.filters +114 -0
  303. synthesistoolkit-0.0.1/stk/projects/examples/controlbee.cpp +165 -0
  304. synthesistoolkit-0.0.1/stk/projects/examples/controlbee.vcxproj +172 -0
  305. synthesistoolkit-0.0.1/stk/projects/examples/controlbee.vcxproj.filters +135 -0
  306. synthesistoolkit-0.0.1/stk/projects/examples/crtsine.cpp +59 -0
  307. synthesistoolkit-0.0.1/stk/projects/examples/crtsine.vcxproj +141 -0
  308. synthesistoolkit-0.0.1/stk/projects/examples/crtsine.vcxproj.filters +42 -0
  309. synthesistoolkit-0.0.1/stk/projects/examples/duplex.cpp +167 -0
  310. synthesistoolkit-0.0.1/stk/projects/examples/duplex.vcxproj +141 -0
  311. synthesistoolkit-0.0.1/stk/projects/examples/duplex.vcxproj.filters +36 -0
  312. synthesistoolkit-0.0.1/stk/projects/examples/examples.sln +121 -0
  313. synthesistoolkit-0.0.1/stk/projects/examples/foursine.cpp +43 -0
  314. synthesistoolkit-0.0.1/stk/projects/examples/foursine.vcxproj +143 -0
  315. synthesistoolkit-0.0.1/stk/projects/examples/foursine.vcxproj.filters +48 -0
  316. synthesistoolkit-0.0.1/stk/projects/examples/grains.cpp +103 -0
  317. synthesistoolkit-0.0.1/stk/projects/examples/grains.vcxproj +146 -0
  318. synthesistoolkit-0.0.1/stk/projects/examples/grains.vcxproj.filters +57 -0
  319. synthesistoolkit-0.0.1/stk/projects/examples/inetIn.cpp +84 -0
  320. synthesistoolkit-0.0.1/stk/projects/examples/inetIn.vcxproj +151 -0
  321. synthesistoolkit-0.0.1/stk/projects/examples/inetIn.vcxproj.filters +72 -0
  322. synthesistoolkit-0.0.1/stk/projects/examples/inetOut.cpp +80 -0
  323. synthesistoolkit-0.0.1/stk/projects/examples/inetOut.vcxproj +148 -0
  324. synthesistoolkit-0.0.1/stk/projects/examples/inetOut.vcxproj.filters +63 -0
  325. synthesistoolkit-0.0.1/stk/projects/examples/libMakefile.in +91 -0
  326. synthesistoolkit-0.0.1/stk/projects/examples/midifiles/bwv772.mid +0 -0
  327. synthesistoolkit-0.0.1/stk/projects/examples/midifiles/jesu.mid +0 -0
  328. synthesistoolkit-0.0.1/stk/projects/examples/midifiles/tango.mid +0 -0
  329. synthesistoolkit-0.0.1/stk/projects/examples/midiprobe.cpp +71 -0
  330. synthesistoolkit-0.0.1/stk/projects/examples/midiprobe.vcxproj +137 -0
  331. synthesistoolkit-0.0.1/stk/projects/examples/midiprobe.vcxproj.filters +30 -0
  332. synthesistoolkit-0.0.1/stk/projects/examples/play.cpp +128 -0
  333. synthesistoolkit-0.0.1/stk/projects/examples/play.vcxproj +142 -0
  334. synthesistoolkit-0.0.1/stk/projects/examples/play.vcxproj.filters +45 -0
  335. synthesistoolkit-0.0.1/stk/projects/examples/playsmf.cpp +124 -0
  336. synthesistoolkit-0.0.1/stk/projects/examples/playsmf.vcxproj +141 -0
  337. synthesistoolkit-0.0.1/stk/projects/examples/playsmf.vcxproj.filters +42 -0
  338. synthesistoolkit-0.0.1/stk/projects/examples/rawwaves/sinewave.raw +0 -0
  339. synthesistoolkit-0.0.1/stk/projects/examples/record.cpp +88 -0
  340. synthesistoolkit-0.0.1/stk/projects/examples/record.vcxproj +147 -0
  341. synthesistoolkit-0.0.1/stk/projects/examples/record.vcxproj.filters +60 -0
  342. synthesistoolkit-0.0.1/stk/projects/examples/rtsine.cpp +54 -0
  343. synthesistoolkit-0.0.1/stk/projects/examples/rtsine.vcxproj +145 -0
  344. synthesistoolkit-0.0.1/stk/projects/examples/rtsine.vcxproj.filters +54 -0
  345. synthesistoolkit-0.0.1/stk/projects/examples/scores/bachfugue.ski +1601 -0
  346. synthesistoolkit-0.0.1/stk/projects/examples/scores/bookert.ski +90 -0
  347. synthesistoolkit-0.0.1/stk/projects/examples/simple.tcl +81 -0
  348. synthesistoolkit-0.0.1/stk/projects/examples/sine.cpp +87 -0
  349. synthesistoolkit-0.0.1/stk/projects/examples/sine.vcxproj +143 -0
  350. synthesistoolkit-0.0.1/stk/projects/examples/sine.vcxproj.filters +48 -0
  351. synthesistoolkit-0.0.1/stk/projects/examples/sineosc.cpp +53 -0
  352. synthesistoolkit-0.0.1/stk/projects/examples/sineosc.vcxproj +149 -0
  353. synthesistoolkit-0.0.1/stk/projects/examples/sineosc.vcxproj.filters +66 -0
  354. synthesistoolkit-0.0.1/stk/projects/examples/threebees.cpp +170 -0
  355. synthesistoolkit-0.0.1/stk/projects/examples/threebees.vcxproj +174 -0
  356. synthesistoolkit-0.0.1/stk/projects/examples/threebees.vcxproj.filters +141 -0
  357. synthesistoolkit-0.0.1/stk/projects/ragamatic/CMakeLists.txt +9 -0
  358. synthesistoolkit-0.0.1/stk/projects/ragamatic/Drone.cpp +88 -0
  359. synthesistoolkit-0.0.1/stk/projects/ragamatic/Drone.h +117 -0
  360. synthesistoolkit-0.0.1/stk/projects/ragamatic/Makefile.in +83 -0
  361. synthesistoolkit-0.0.1/stk/projects/ragamatic/README-raga.txt +30 -0
  362. synthesistoolkit-0.0.1/stk/projects/ragamatic/Raga +1 -0
  363. synthesistoolkit-0.0.1/stk/projects/ragamatic/Raga.bat +1 -0
  364. synthesistoolkit-0.0.1/stk/projects/ragamatic/Tabla.cpp +120 -0
  365. synthesistoolkit-0.0.1/stk/projects/ragamatic/Tabla.h +118 -0
  366. synthesistoolkit-0.0.1/stk/projects/ragamatic/VoicDrum.cpp +116 -0
  367. synthesistoolkit-0.0.1/stk/projects/ragamatic/VoicDrum.h +118 -0
  368. synthesistoolkit-0.0.1/stk/projects/ragamatic/ragamat.cpp +331 -0
  369. synthesistoolkit-0.0.1/stk/projects/ragamatic/ragamat.vcxproj +191 -0
  370. synthesistoolkit-0.0.1/stk/projects/ragamatic/ragamatic.sln +25 -0
  371. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/DrDoi1.raw +0 -0
  372. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/DrDoi2.raw +0 -0
  373. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/DrTak1.raw +0 -0
  374. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/DrTak2.raw +0 -0
  375. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdak2.raw +0 -0
  376. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdak3.raw +0 -0
  377. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdak4.raw +0 -0
  378. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drddak1.raw +0 -0
  379. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdee1.raw +0 -0
  380. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdee2.raw +0 -0
  381. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdoo1.raw +0 -0
  382. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdoo2.raw +0 -0
  383. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdoo3.raw +0 -0
  384. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drjun1.raw +0 -0
  385. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drjun2.raw +0 -0
  386. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/bee1.raw +0 -0
  387. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/dee1.raw +0 -0
  388. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/dee2.raw +0 -0
  389. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/din1.raw +0 -0
  390. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/gun1.raw +0 -0
  391. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/jun1.raw +0 -0
  392. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/jun2.raw +0 -0
  393. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/tak1.raw +0 -0
  394. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/tak2.raw +0 -0
  395. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/tak3.raw +0 -0
  396. synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/tak4.raw +0 -0
  397. synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/Raga.tcl +250 -0
  398. synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/prc.xbm +101 -0
  399. synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/prcFunny.xbm +60 -0
  400. synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/ragamat.bmp +0 -0
  401. synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/ragamat.xbm +768 -0
  402. synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/ragamat2.bmp +0 -0
  403. synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/ragamat2.xbm +200 -0
  404. synthesistoolkit-0.0.1/stk/projects/stk-template.zip +0 -0
  405. synthesistoolkit-0.0.1/stk/rawwaves/ahh.raw +0 -0
  406. synthesistoolkit-0.0.1/stk/rawwaves/bassdrum.raw +0 -0
  407. synthesistoolkit-0.0.1/stk/rawwaves/britestk.raw +0 -0
  408. synthesistoolkit-0.0.1/stk/rawwaves/cowbell1.raw +0 -0
  409. synthesistoolkit-0.0.1/stk/rawwaves/crashcym.raw +0 -0
  410. synthesistoolkit-0.0.1/stk/rawwaves/dope.raw +0 -0
  411. synthesistoolkit-0.0.1/stk/rawwaves/eee.raw +0 -0
  412. synthesistoolkit-0.0.1/stk/rawwaves/fwavblnk.raw +0 -0
  413. synthesistoolkit-0.0.1/stk/rawwaves/halfwave.raw +0 -0
  414. synthesistoolkit-0.0.1/stk/rawwaves/hihatcym.raw +0 -0
  415. synthesistoolkit-0.0.1/stk/rawwaves/impuls10.raw +0 -0
  416. synthesistoolkit-0.0.1/stk/rawwaves/impuls20.raw +0 -0
  417. synthesistoolkit-0.0.1/stk/rawwaves/impuls40.raw +0 -0
  418. synthesistoolkit-0.0.1/stk/rawwaves/makefunc.c +55 -0
  419. synthesistoolkit-0.0.1/stk/rawwaves/makemidi.c +33 -0
  420. synthesistoolkit-0.0.1/stk/rawwaves/makewavs.c +116 -0
  421. synthesistoolkit-0.0.1/stk/rawwaves/mand1.raw +0 -0
  422. synthesistoolkit-0.0.1/stk/rawwaves/mand10.raw +0 -0
  423. synthesistoolkit-0.0.1/stk/rawwaves/mand11.raw +0 -0
  424. synthesistoolkit-0.0.1/stk/rawwaves/mand12.raw +0 -0
  425. synthesistoolkit-0.0.1/stk/rawwaves/mand2.raw +0 -0
  426. synthesistoolkit-0.0.1/stk/rawwaves/mand3.raw +0 -0
  427. synthesistoolkit-0.0.1/stk/rawwaves/mand4.raw +0 -0
  428. synthesistoolkit-0.0.1/stk/rawwaves/mand5.raw +0 -0
  429. synthesistoolkit-0.0.1/stk/rawwaves/mand6.raw +0 -0
  430. synthesistoolkit-0.0.1/stk/rawwaves/mand7.raw +0 -0
  431. synthesistoolkit-0.0.1/stk/rawwaves/mand8.raw +0 -0
  432. synthesistoolkit-0.0.1/stk/rawwaves/mand9.raw +0 -0
  433. synthesistoolkit-0.0.1/stk/rawwaves/mandpluk.raw +0 -0
  434. synthesistoolkit-0.0.1/stk/rawwaves/marmstk1.raw +0 -0
  435. synthesistoolkit-0.0.1/stk/rawwaves/ooo.raw +0 -0
  436. synthesistoolkit-0.0.1/stk/rawwaves/peksblnk.raw +0 -0
  437. synthesistoolkit-0.0.1/stk/rawwaves/ppksblnk.raw +0 -0
  438. synthesistoolkit-0.0.1/stk/rawwaves/ridecymb.raw +0 -0
  439. synthesistoolkit-0.0.1/stk/rawwaves/silence.raw +0 -0
  440. synthesistoolkit-0.0.1/stk/rawwaves/sine.c +22 -0
  441. synthesistoolkit-0.0.1/stk/rawwaves/sineblnk.raw +0 -0
  442. synthesistoolkit-0.0.1/stk/rawwaves/sinewave.raw +0 -0
  443. synthesistoolkit-0.0.1/stk/rawwaves/snardrum.raw +0 -0
  444. synthesistoolkit-0.0.1/stk/rawwaves/snglpeak.raw +0 -0
  445. synthesistoolkit-0.0.1/stk/rawwaves/tambourn.raw +0 -0
  446. synthesistoolkit-0.0.1/stk/rawwaves/tomhidrm.raw +0 -0
  447. synthesistoolkit-0.0.1/stk/rawwaves/tomlowdr.raw +0 -0
  448. synthesistoolkit-0.0.1/stk/rawwaves/tommiddr.raw +0 -0
  449. synthesistoolkit-0.0.1/stk/rawwaves/twopeaks.raw +0 -0
  450. synthesistoolkit-0.0.1/stk/src/ADSR.cpp +181 -0
  451. synthesistoolkit-0.0.1/stk/src/Asymp.cpp +112 -0
  452. synthesistoolkit-0.0.1/stk/src/BandedWG.cpp +364 -0
  453. synthesistoolkit-0.0.1/stk/src/BeeThree.cpp +79 -0
  454. synthesistoolkit-0.0.1/stk/src/BiQuad.cpp +182 -0
  455. synthesistoolkit-0.0.1/stk/src/Blit.cpp +78 -0
  456. synthesistoolkit-0.0.1/stk/src/BlitSaw.cpp +91 -0
  457. synthesistoolkit-0.0.1/stk/src/BlitSquare.cpp +95 -0
  458. synthesistoolkit-0.0.1/stk/src/BlowBotl.cpp +122 -0
  459. synthesistoolkit-0.0.1/stk/src/BlowHole.cpp +224 -0
  460. synthesistoolkit-0.0.1/stk/src/Bowed.cpp +180 -0
  461. synthesistoolkit-0.0.1/stk/src/Brass.cpp +158 -0
  462. synthesistoolkit-0.0.1/stk/src/Chorus.cpp +56 -0
  463. synthesistoolkit-0.0.1/stk/src/Clarinet.cpp +138 -0
  464. synthesistoolkit-0.0.1/stk/src/Delay.cpp +110 -0
  465. synthesistoolkit-0.0.1/stk/src/DelayA.cpp +117 -0
  466. synthesistoolkit-0.0.1/stk/src/DelayL.cpp +73 -0
  467. synthesistoolkit-0.0.1/stk/src/Drummer.cpp +141 -0
  468. synthesistoolkit-0.0.1/stk/src/Echo.cpp +51 -0
  469. synthesistoolkit-0.0.1/stk/src/Envelope.cpp +87 -0
  470. synthesistoolkit-0.0.1/stk/src/FM.cpp +179 -0
  471. synthesistoolkit-0.0.1/stk/src/FMVoices.cpp +164 -0
  472. synthesistoolkit-0.0.1/stk/src/FileLoop.cpp +237 -0
  473. synthesistoolkit-0.0.1/stk/src/FileRead.cpp +903 -0
  474. synthesistoolkit-0.0.1/stk/src/FileWrite.cpp +799 -0
  475. synthesistoolkit-0.0.1/stk/src/FileWvIn.cpp +267 -0
  476. synthesistoolkit-0.0.1/stk/src/FileWvOut.cpp +140 -0
  477. synthesistoolkit-0.0.1/stk/src/Fir.cpp +74 -0
  478. synthesistoolkit-0.0.1/stk/src/Flute.cpp +163 -0
  479. synthesistoolkit-0.0.1/stk/src/FormSwep.cpp +136 -0
  480. synthesistoolkit-0.0.1/stk/src/FreeVerb.cpp +227 -0
  481. synthesistoolkit-0.0.1/stk/src/Granulate.cpp +296 -0
  482. synthesistoolkit-0.0.1/stk/src/Guitar.cpp +244 -0
  483. synthesistoolkit-0.0.1/stk/src/HevyMetl.cpp +75 -0
  484. synthesistoolkit-0.0.1/stk/src/Iir.cpp +125 -0
  485. synthesistoolkit-0.0.1/stk/src/InetWvIn.cpp +320 -0
  486. synthesistoolkit-0.0.1/stk/src/InetWvOut.cpp +231 -0
  487. synthesistoolkit-0.0.1/stk/src/JCRev.cpp +136 -0
  488. synthesistoolkit-0.0.1/stk/src/LentPitShift.cpp +52 -0
  489. synthesistoolkit-0.0.1/stk/src/Makefile.in +118 -0
  490. synthesistoolkit-0.0.1/stk/src/Mandolin.cpp +186 -0
  491. synthesistoolkit-0.0.1/stk/src/Mesh2D.cpp +367 -0
  492. synthesistoolkit-0.0.1/stk/src/Messager.cpp +435 -0
  493. synthesistoolkit-0.0.1/stk/src/MidiFileIn.cpp +353 -0
  494. synthesistoolkit-0.0.1/stk/src/Modal.cpp +169 -0
  495. synthesistoolkit-0.0.1/stk/src/ModalBar.cpp +191 -0
  496. synthesistoolkit-0.0.1/stk/src/Modulate.cpp +49 -0
  497. synthesistoolkit-0.0.1/stk/src/Moog.cpp +111 -0
  498. synthesistoolkit-0.0.1/stk/src/Mutex.cpp +104 -0
  499. synthesistoolkit-0.0.1/stk/src/NRev.cpp +119 -0
  500. synthesistoolkit-0.0.1/stk/src/Noise.cpp +34 -0
  501. synthesistoolkit-0.0.1/stk/src/OnePole.cpp +61 -0
  502. synthesistoolkit-0.0.1/stk/src/OneZero.cpp +49 -0
  503. synthesistoolkit-0.0.1/stk/src/PRCRev.cpp +120 -0
  504. synthesistoolkit-0.0.1/stk/src/PercFlut.cpp +85 -0
  505. synthesistoolkit-0.0.1/stk/src/Phonemes.cpp +292 -0
  506. synthesistoolkit-0.0.1/stk/src/PitShift.cpp +85 -0
  507. synthesistoolkit-0.0.1/stk/src/Plucked.cpp +98 -0
  508. synthesistoolkit-0.0.1/stk/src/PoleZero.cpp +73 -0
  509. synthesistoolkit-0.0.1/stk/src/Recorder.cpp +345 -0
  510. synthesistoolkit-0.0.1/stk/src/Resonate.cpp +113 -0
  511. synthesistoolkit-0.0.1/stk/src/Rhodey.cpp +92 -0
  512. synthesistoolkit-0.0.1/stk/src/RtAudio.cpp +11527 -0
  513. synthesistoolkit-0.0.1/stk/src/RtMidi.cpp +5264 -0
  514. synthesistoolkit-0.0.1/stk/src/RtWvIn.cpp +208 -0
  515. synthesistoolkit-0.0.1/stk/src/RtWvOut.cpp +217 -0
  516. synthesistoolkit-0.0.1/stk/src/Sampler.cpp +53 -0
  517. synthesistoolkit-0.0.1/stk/src/Saxofony.cpp +177 -0
  518. synthesistoolkit-0.0.1/stk/src/Shakers.cpp +729 -0
  519. synthesistoolkit-0.0.1/stk/src/Simple.cpp +105 -0
  520. synthesistoolkit-0.0.1/stk/src/SineWave.cpp +78 -0
  521. synthesistoolkit-0.0.1/stk/src/SingWave.cpp +53 -0
  522. synthesistoolkit-0.0.1/stk/src/Sitar.cpp +92 -0
  523. synthesistoolkit-0.0.1/stk/src/Skini.cpp +228 -0
  524. synthesistoolkit-0.0.1/stk/src/Socket.cpp +78 -0
  525. synthesistoolkit-0.0.1/stk/src/Sphere.cpp +50 -0
  526. synthesistoolkit-0.0.1/stk/src/StifKarp.cpp +181 -0
  527. synthesistoolkit-0.0.1/stk/src/Stk.cpp +401 -0
  528. synthesistoolkit-0.0.1/stk/src/TapDelay.cpp +87 -0
  529. synthesistoolkit-0.0.1/stk/src/TcpClient.cpp +105 -0
  530. synthesistoolkit-0.0.1/stk/src/TcpServer.cpp +99 -0
  531. synthesistoolkit-0.0.1/stk/src/Thread.cpp +106 -0
  532. synthesistoolkit-0.0.1/stk/src/TubeBell.cpp +78 -0
  533. synthesistoolkit-0.0.1/stk/src/Twang.cpp +108 -0
  534. synthesistoolkit-0.0.1/stk/src/TwoPole.cpp +76 -0
  535. synthesistoolkit-0.0.1/stk/src/TwoZero.cpp +74 -0
  536. synthesistoolkit-0.0.1/stk/src/UdpSocket.cpp +110 -0
  537. synthesistoolkit-0.0.1/stk/src/VoicForm.cpp +189 -0
  538. synthesistoolkit-0.0.1/stk/src/Voicer.cpp +224 -0
  539. synthesistoolkit-0.0.1/stk/src/Whistle.cpp +256 -0
  540. synthesistoolkit-0.0.1/stk/src/Wurley.cpp +94 -0
  541. synthesistoolkit-0.0.1/stk/src/include/FunctionDiscoveryKeys_devpkey.h +212 -0
  542. synthesistoolkit-0.0.1/stk/src/include/asio.cpp +257 -0
  543. synthesistoolkit-0.0.1/stk/src/include/asio.h +1070 -0
  544. synthesistoolkit-0.0.1/stk/src/include/asiodrivers.cpp +186 -0
  545. synthesistoolkit-0.0.1/stk/src/include/asiodrivers.h +41 -0
  546. synthesistoolkit-0.0.1/stk/src/include/asiodrvr.h +76 -0
  547. synthesistoolkit-0.0.1/stk/src/include/asiolist.cpp +306 -0
  548. synthesistoolkit-0.0.1/stk/src/include/asiolist.h +46 -0
  549. synthesistoolkit-0.0.1/stk/src/include/asiosys.h +82 -0
  550. synthesistoolkit-0.0.1/stk/src/include/dsound.h +2369 -0
  551. synthesistoolkit-0.0.1/stk/src/include/ginclude.h +38 -0
  552. synthesistoolkit-0.0.1/stk/src/include/iasiodrv.h +37 -0
  553. synthesistoolkit-0.0.1/stk/src/include/iasiothiscallresolver.cpp +572 -0
  554. synthesistoolkit-0.0.1/stk/src/include/iasiothiscallresolver.h +202 -0
  555. synthesistoolkit-0.0.1/stk/src/include/soundcard.h +1878 -0
  556. synthesistoolkit-0.0.1/tests/test_basic.py +6 -0
@@ -0,0 +1,11 @@
1
+ .idea
2
+ __pycache__
3
+ build
4
+ dist
5
+ cmake-build-*
6
+ uv.lock
7
+ src/synthesistoolkit/rawwaves
8
+ .DS_Store
9
+ *.wav
10
+ rebuild.sh
11
+ tmp.py
@@ -0,0 +1,4 @@
1
+ [submodule "stk"]
2
+ path = stk
3
+ url = https://github.com/thestk/stk
4
+ ignore = dirty
@@ -0,0 +1,54 @@
1
+ cmake_minimum_required(VERSION 3.30)
2
+ project(pystk)
3
+
4
+ find_package(Python
5
+ REQUIRED COMPONENTS Interpreter Development.Module
6
+ OPTIONAL_COMPONENTS Development.SABIModule)
7
+
8
+ execute_process(
9
+ COMMAND "${Python3_EXECUTABLE}" -m nanobind --cmake_dir
10
+ OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE nanobind_ROOT
11
+ )
12
+
13
+ find_package(nanobind CONFIG REQUIRED)
14
+
15
+ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/stk/cmake ${CMAKE_MODULE_PATH})
16
+ set(BUILD_SHARED OFF CACHE BOOL "Whether to build the shared library" FORCE)
17
+ set(ENABLE_JACK OFF CACHE BOOL "Enable JACK" FORCE)
18
+ set(ENABLE_DS OFF CACHE BOOL "Enable DirectSound API support (windows only)" FORCE)
19
+ set(COMPILE_PROJECTS OFF CACHE BOOL "Compile all the example projects" FORCE)
20
+
21
+ add_subdirectory(stk)
22
+ set_property(TARGET stk PROPERTY POSITION_INDEPENDENT_CODE ON)
23
+
24
+ nanobind_add_module(_pystk_impl STABLE_ABI NB_STATIC
25
+ src/instrmnt.cpp
26
+ src/effect.cpp
27
+ src/filter.cpp
28
+ src/function.cpp
29
+ src/generator.cpp
30
+ src/pystk.cpp
31
+ )
32
+
33
+ target_compile_features(_pystk_impl PRIVATE cxx_std_17)
34
+
35
+ target_link_libraries(_pystk_impl PRIVATE stk)
36
+ target_include_directories(_pystk_impl PRIVATE stk/include)
37
+
38
+ if(WIN32)
39
+ target_compile_definitions(stk PUBLIC -D_USE_MATH_DEFINES)
40
+ target_compile_definitions(_pystk_impl PRIVATE -D_USE_MATH_DEFINES)
41
+ endif()
42
+
43
+ # for editable installs
44
+ file(COPY stk/rawwaves DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/src/synthesistoolkit)
45
+
46
+ install(
47
+ TARGETS _pystk_impl LIBRARY
48
+ DESTINATION synthesistoolkit
49
+ )
50
+
51
+ install(
52
+ DIRECTORY stk/rawwaves
53
+ DESTINATION synthesistoolkit
54
+ )
@@ -0,0 +1,53 @@
1
+ -------------------------------------------------------------------------------
2
+ PySTK - Python Bindings for the Synthesis ToolKit in C++ (STK)
3
+ --
4
+ https://github.com/dsuedholt/pysdt
5
+ -------------------------------------------------------------------------------
6
+
7
+ Copyright (C) 2025 David Marttila
8
+
9
+ This program is free software: you can redistribute it and/or modify
10
+ it under the terms of the GNU General Public License as published by
11
+ the Free Software Foundation, either version 3 of the License, or
12
+ (at your option) any later version.
13
+
14
+ This program is distributed in the hope that it will be useful,
15
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ GNU General Public License for more details.
18
+
19
+ You should have received a copy of the GNU General Public License
20
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
21
+
22
+
23
+ -------------------------------------------------------------------------------
24
+ The Synthesis ToolKit in C++ (STK)
25
+ --
26
+ https://ccrma.stanford.edu/software/stk/
27
+ -------------------------------------------------------------------------------
28
+
29
+ Copyright (c) 1995-2023 Perry R. Cook and Gary P. Scavone
30
+
31
+ Permission is hereby granted, free of charge, to any person obtaining
32
+ a copy of this software and associated documentation files (the
33
+ "Software"), to deal in the Software without restriction, including
34
+ without limitation the rights to use, copy, modify, merge, publish,
35
+ distribute, sublicense, and/or sell copies of the Software, and to
36
+ permit persons to whom the Software is furnished to do so, subject to
37
+ the following conditions:
38
+
39
+ The above copyright notice and this permission notice shall be
40
+ included in all copies or substantial portions of the Software.
41
+
42
+ Any person wishing to distribute modifications to the Software is
43
+ asked to send the modifications to the original developer so that they
44
+ can be incorporated into the canonical version. This is, however, not
45
+ a binding provision of this license.
46
+
47
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
48
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
49
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
50
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
51
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
52
+ CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
53
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,11 @@
1
+ Metadata-Version: 2.1
2
+ Name: synthesistoolkit
3
+ Version: 0.0.1
4
+ Summary: Python bindings for the Synthesis ToolKit in C++ (STK)
5
+ Author-Email: David Marttila <david.suedholt@gmail.com>
6
+ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
7
+ Classifier: Programming Language :: Python :: 3 :: Only
8
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Sound Synthesis
9
+ Project-URL: Homepage, https://github.com/dsuedholt/pystk
10
+ Requires-Python: >=3.10
11
+ Requires-Dist: numpy>=1.25
@@ -0,0 +1,76 @@
1
+ # PySTK: Python bindings for the Synthesis ToolKit
2
+
3
+ Python bindings for the [Synthesis ToolKit in C++ (STK)](https://ccrma.stanford.edu/software/stk/) by Perry R. Cook and Gary P. Scavone, powered by [nanobind](https://github.com/wjakob/nanobind).
4
+
5
+ The bindings allow access to all classes that implement synthesis algorithms:
6
+
7
+ - `stk::Effect` and all derived classes
8
+ - `stk::Filter` and all derived classes
9
+ - `stk::Function` and all derived classes
10
+ - `stk::Generator` and all derived classes
11
+ - `stk::Guitar`
12
+ - `stk::Instrmnt` and all derived classes
13
+ - `stk::Phonemes`
14
+ - `stk::Twang`
15
+ - `stk::Voicer`
16
+
17
+ A lot of the functionality of other classes (File IO, Networking) can likely be substituted by common Python libraries, but might be added to the bindings as needed.
18
+
19
+ ## Installation
20
+
21
+ The bindings are available as prebuilt wheels for Linux, Windows and MacOS:
22
+
23
+ ```
24
+ pip install synthesistoolkit
25
+ ```
26
+
27
+ Alternatively, you can build the bindings from source:
28
+
29
+ ```
30
+ git clone --recurse-submodules git@github.com:dsuedholt/pystk.git
31
+ cd pysdt && pip install .
32
+ ```
33
+
34
+ ## Usage
35
+
36
+ Documentation for the Python bindings is not yet available, but the API is almost identical to the C++ API documented [here](https://ccrma.stanford.edu/software/stk/).
37
+
38
+ The `rawwaves` folder is included in the distribution and its path is set in `__init__.py`.
39
+
40
+ `tick(...)` methods that deal with `stk::StkFrames` return a `numpy.ndarray` with the audio data.
41
+
42
+ ```python
43
+ import synthesistoolkit as stk
44
+ import numpy as np
45
+
46
+ # important: initialize sample rate before doing anything else
47
+ sr = 44100
48
+ stk.set_sample_rate(sr)
49
+
50
+ clnt = stk.Clarinet()
51
+ clnt.set_frequency(220)
52
+
53
+ # for classes that support control changes: see available control change numbers
54
+ print(stk.Clarinet.CONTROL_IDS)
55
+ # {'breath_pressure': 128,
56
+ # 'noise_gain': 4,
57
+ # 'reed_stiffness': 2,
58
+ # 'vibrato_frequency': 11,
59
+ # 'vibrato_gain': 1}
60
+
61
+ # control changes can be set directly
62
+ clnt.control_change(stk.Clarinet.CONTROL_IDS['reed_stiffness'], 1.8)
63
+
64
+ # or passed as a dictionary of audio rate parameters
65
+ controls = {
66
+ stk.Clarinet.CONTROL_IDS['breath_pressure']: np.linspace(80, 40, num=sr),
67
+ stk.Clarinet.CONTROL_IDS['vibrato_gain']: np.linspace(0, 90, num=sr),
68
+ }
69
+
70
+ audio = clnt.tick(sr, controls=controls)
71
+ print(audio.shape) # (1, 44100)
72
+
73
+ # can now use the audio in any way you like, for example:
74
+ import soundfile as sf
75
+ sf.write('clarinet.wav', audio[0, :], sr)
76
+ ```
@@ -0,0 +1,44 @@
1
+ [build-system]
2
+ requires = ["scikit-build-core >=0.10", "nanobind @ git+https://github.com/wjakob/nanobind@master"]
3
+ build-backend = "scikit_build_core.build"
4
+
5
+ [project]
6
+ authors = [{name = "David Marttila", email = "david.suedholt@gmail.com"}]
7
+ dependencies = ["numpy>=1.25"]
8
+ description = "Python bindings for the Synthesis ToolKit in C++ (STK)"
9
+ name = "synthesistoolkit"
10
+ requires-python = ">= 3.10"
11
+ version = "0.0.1"
12
+ classifiers = [
13
+ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
14
+ "Programming Language :: Python :: 3 :: Only",
15
+ "Topic :: Multimedia :: Sound/Audio :: Sound Synthesis"
16
+ ]
17
+
18
+ [project.urls]
19
+ Homepage = "https://github.com/dsuedholt/pystk"
20
+
21
+ [tool.scikit-build]
22
+ # Protect the configuration against future changes in scikit-build-core
23
+ minimum-version = "build-system.requires"
24
+
25
+ # Setuptools-style build caching in a local directory
26
+ build-dir = "build/{wheel_tag}"
27
+
28
+ # Build stable ABI wheels for CPython 3.12+
29
+ wheel.py-api = "cp312"
30
+
31
+ sdist.exclude = [".github"]
32
+
33
+ [tool.cibuildwheel]
34
+ # Necessary to see build output from the actual compilation
35
+ build-verbosity = 1
36
+ build-frontend = "build[uv]"
37
+ skip = ["pp*", "*musllinux*"]
38
+
39
+ test-command = "pytest {project}/tests"
40
+ test-requires = "pytest"
41
+
42
+ [tool.cibuildwheel.macos.environment]
43
+ MACOSX_DEPLOYMENT_TARGET = "11.0"
44
+
@@ -0,0 +1,102 @@
1
+ #ifndef PYSTKCOMMON_H
2
+ #define PYSTKCOMMON_H
3
+
4
+ #include <nanobind/nanobind.h>
5
+ #include <nanobind/ndarray.h>
6
+ #include <nanobind/stl/map.h>
7
+ #include <nanobind/stl/string.h>
8
+ #include <nanobind/stl/vector.h>
9
+
10
+ #include <Stk.h>
11
+
12
+ namespace nb = nanobind;
13
+ using namespace nb::literals;
14
+ using namespace stk;
15
+
16
+ template<int CHANNELS=-1>
17
+ using audio_frames = nb::ndarray<nb::numpy, StkFloat, nb::shape<CHANNELS, -1>>;
18
+
19
+ typedef nb::ndarray<nb::numpy, StkFloat, nb::shape<1, -1>> mono_frames;
20
+ typedef nb::ndarray<nb::numpy, StkFloat, nb::shape<2, -1>> stereo_frames;
21
+ typedef std::map<int, nb::ndarray<StkFloat, nb::ndim<1>>> controls_dict;
22
+ typedef const std::map<std::string, int> control_ids;
23
+
24
+ inline StkFloat midi_to_hz(int midi) {
25
+ return 220.0 * pow(2.0, (midi - 57.0) / 12.0);
26
+ }
27
+
28
+ template<typename T>
29
+ mono_frames synth_with_controls(T& self, const unsigned long n_samples, const controls_dict& controls) {
30
+ const auto data = new StkFloat[n_samples];
31
+
32
+ nb::capsule owner(data, [](void* p) noexcept {
33
+ delete[] static_cast<StkFloat*>(p);
34
+ });
35
+
36
+ for (int n = 0; n < n_samples; n++) {
37
+ for (const auto& [control, value] : controls) {
38
+ self.controlChange(control, value(n));
39
+ }
40
+ data[n] = self.tick();
41
+ }
42
+ return mono_frames(data, {1, n_samples}, owner);
43
+ }
44
+
45
+ template<typename T>
46
+ mono_frames process_with_controls(T& self, const mono_frames& input, const controls_dict& controls) {
47
+ unsigned long n_samples = input.shape(1);
48
+ const auto data = new StkFloat[n_samples];
49
+
50
+ nb::capsule owner(data, [](void* p) noexcept {
51
+ delete[] static_cast<StkFloat*>(p);
52
+ });
53
+
54
+ for (int n = 0; n < n_samples; n++) {
55
+ for (const auto& [control, value] : controls) {
56
+ self.controlChange(control, value(n));
57
+ }
58
+ data[n] = self.tick(input(1, n));
59
+ }
60
+ return mono_frames(data, {1, n_samples}, owner);
61
+ }
62
+
63
+ template<int OUT=-1>
64
+ audio_frames<OUT> stkframes_to_numpy(StkFrames& frames) {
65
+ unsigned long n_channels = OUT;
66
+ if (n_channels == -1) n_channels = frames.channels();
67
+
68
+ const auto data = new StkFloat[frames.frames() * n_channels];
69
+
70
+ nb::capsule owner(data, [](void* p) noexcept {
71
+ delete[] static_cast<StkFloat*>(p);
72
+ });
73
+
74
+ for (int n = 0; n < frames.frames(); n++) {
75
+ for (int c = 0; c < n_channels; c++) {
76
+ data[n * n_channels + c] = frames(n, c);
77
+ }
78
+ }
79
+ return audio_frames<OUT>(data, {n_channels, frames.frames()}, owner);
80
+ }
81
+
82
+ template<typename T>
83
+ audio_frames<1> generate(T& self, int n_samples) {
84
+ StkFrames frames(n_samples, 1);
85
+ self.tick(frames);
86
+ return stkframes_to_numpy<1>(frames);
87
+ }
88
+
89
+ template<typename T, int IN=1, int OUT=1>
90
+ audio_frames<OUT> process_input(T& self, const audio_frames<IN>& input) {
91
+ int n_samples = input.shape(1);
92
+ StkFrames frames(n_samples, std::max(IN, OUT));
93
+ for (int n = 0; n < n_samples; n++) {
94
+ for (int i = 0; i < IN; i++) {
95
+ frames(n, i) = input(i, n);
96
+ }
97
+ }
98
+ self.tick(frames);
99
+ return stkframes_to_numpy<OUT>(frames);
100
+ }
101
+
102
+ #endif //PYSTKCOMMON_H
@@ -0,0 +1,93 @@
1
+ #include "Common.h"
2
+
3
+ #include <Effect.h>
4
+ #include <Chorus.h>
5
+ #include <Echo.h>
6
+ #include <FreeVerb.h>
7
+ #include <JCRev.h>
8
+ #include <LentPitShift.h>
9
+ #include <NRev.h>
10
+ #include <PRCRev.h>
11
+ #include <PitShift.h>
12
+
13
+ void add_effects_bindings(nb::module_& m) {
14
+ using namespace stk;
15
+
16
+ nb::class_<Effect>(m, "Effect")
17
+ .def("channels_out", &Effect::channelsOut)
18
+ .def("set_effect_mix", &Effect::setEffectMix);
19
+
20
+ nb::class_<Chorus, Effect>(m, "Chorus")
21
+ .def(nb::init<StkFloat>(), "base_delay"_a = 6000.0)
22
+ .def("clear", &Chorus::clear)
23
+ .def("set_mod_depth", &Chorus::setModDepth)
24
+ .def("set_mod_frequency", &Chorus::setModFrequency)
25
+ .def("last_out", &Chorus::lastOut, "channel"_a = 0)
26
+ .def("tick", nb::overload_cast<StkFloat, unsigned int>(&Chorus::tick), "input"_a = 0.0, "channel"_a = 0)
27
+ .def("tick", &process_input<Chorus, 1, 2>);
28
+
29
+ nb::class_<Echo, Effect>(m, "Echo")
30
+ .def(nb::init<unsigned long>(), "maximum_delay"_a = Stk::sampleRate())
31
+ .def("clear", &Echo::clear)
32
+ .def("set_maximum_delay", &Echo::setMaximumDelay)
33
+ .def("set_delay", &Echo::setDelay)
34
+ .def("last_out", &Echo::lastOut)
35
+ .def("tick", nb::overload_cast<StkFloat>(&Echo::tick), "input"_a = 0.0)
36
+ .def("tick", &process_input<Echo, 1, 1>);
37
+
38
+ nb::class_<FreeVerb, Effect>(m, "FreeVerb")
39
+ .def(nb::init<>())
40
+ .def("set_effect_mix", &FreeVerb::setEffectMix)
41
+ .def("set_room_size", &FreeVerb::setRoomSize)
42
+ .def("get_room_size", &FreeVerb::getRoomSize)
43
+ .def("set_damping", &FreeVerb::setDamping)
44
+ .def("get_damping", &FreeVerb::getDamping)
45
+ .def("set_width", &FreeVerb::setWidth)
46
+ .def("get_width", &FreeVerb::getWidth)
47
+ .def("set_mode", &FreeVerb::setMode)
48
+ .def("get_mode", &FreeVerb::getMode)
49
+ .def("clear", &FreeVerb::clear)
50
+ .def("last_out", &FreeVerb::lastOut)
51
+ .def("tick", nb::overload_cast<StkFloat, StkFloat, unsigned int>(&FreeVerb::tick), "inputL"_a = 0.0, "inputR"_a = 0.0, "channel"_a = 0)
52
+ .def("tick", &process_input<FreeVerb, 1, 2>)
53
+ .def("tick", &process_input<FreeVerb, 2, 2>);
54
+
55
+ nb::class_<JCRev, Effect>(m, "JCRev")
56
+ .def(nb::init<StkFloat>(), "t60"_a = 1.0)
57
+ .def("clear", &JCRev::clear)
58
+ .def("set_t60", &JCRev::setT60)
59
+ .def("last_out", &JCRev::lastOut)
60
+ .def("tick", nb::overload_cast<StkFloat, unsigned int>(&JCRev::tick), "input"_a = 0.0, "channel"_a = 0)
61
+ .def("tick", &process_input<JCRev, 1, 2>);
62
+
63
+ nb::class_<LentPitShift, Effect>(m, "LentPitShift")
64
+ .def(nb::init<StkFloat>(), "shift"_a = 1.0)
65
+ .def("clear", &LentPitShift::clear)
66
+ .def("set_shift", &LentPitShift::setShift)
67
+ .def("tick", nb::overload_cast<StkFloat>(&LentPitShift::tick), "input"_a = 0.0)
68
+ .def("tick", &process_input<LentPitShift, 1, 1>);
69
+
70
+ nb::class_<NRev, Effect>(m, "NRev")
71
+ .def(nb::init<StkFloat>(), "t60"_a = 1.0)
72
+ .def("clear", &NRev::clear)
73
+ .def("set_t60", &NRev::setT60)
74
+ .def("last_out", &NRev::lastOut)
75
+ .def("tick", nb::overload_cast<StkFloat, unsigned int>(&NRev::tick), "input"_a = 0.0, "channel"_a = 0)
76
+ .def("tick", &process_input<NRev, 1, 2>);
77
+
78
+ nb::class_<PRCRev, Effect>(m, "PRCRev")
79
+ .def(nb::init<StkFloat>(), "t60"_a = 1.0)
80
+ .def("clear", &PRCRev::clear)
81
+ .def("set_t60", &PRCRev::setT60)
82
+ .def("last_out", &PRCRev::lastOut)
83
+ .def("tick", nb::overload_cast<StkFloat, unsigned int>(&PRCRev::tick), "input"_a = 0.0, "channel"_a = 0)
84
+ .def("tick", &process_input<PRCRev, 1, 2>);
85
+
86
+ nb::class_<PitShift, Effect>(m, "PitShift")
87
+ .def(nb::init<>())
88
+ .def("clear", &PitShift::clear)
89
+ .def("set_shift", &PitShift::setShift)
90
+ .def("last_out", &PitShift::lastOut)
91
+ .def("tick", nb::overload_cast<StkFloat>(&PitShift::tick), "input"_a = 0.0)
92
+ .def("tick", &process_input<PitShift, 1, 2>);
93
+ }
@@ -0,0 +1,193 @@
1
+ #include "Common.h"
2
+
3
+ #include <Filter.h>
4
+ #include <BiQuad.h>
5
+ #include <Delay.h>
6
+ #include <DelayA.h>
7
+ #include <DelayL.h>
8
+ #include <Fir.h>
9
+ #include <FormSwep.h>
10
+ #include <Iir.h>
11
+ #include <OnePole.h>
12
+ #include <OneZero.h>
13
+ #include <PoleZero.h>
14
+ #include <TapDelay.h>
15
+ #include <TwoPole.h>
16
+ #include <TwoZero.h>
17
+
18
+ void add_filter_bindings(nb::module_& m) {
19
+ nb::class_<Filter>(m, "Filter")
20
+ .def("channels_in", &Filter::channelsIn)
21
+ .def("channels_out", &Filter::channelsOut)
22
+ .def("clear", &Filter::clear)
23
+ .def("set_gain", &Filter::setGain)
24
+ .def("get_gain", &Filter::getGain)
25
+ .def("phase_delay", &Filter::phaseDelay)
26
+ .def("last_frame", &Filter::lastFrame);
27
+
28
+ nb::class_<BiQuad, Filter>(m, "BiQuad")
29
+ .def(nb::init<>())
30
+ .def("ignore_sample_rate_change", &BiQuad::ignoreSampleRateChange)
31
+ .def("set_coefficients", &BiQuad::setCoefficients)
32
+ .def("set_b0", &BiQuad::setB0)
33
+ .def("set_b1", &BiQuad::setB1)
34
+ .def("set_b2", &BiQuad::setB2)
35
+ .def("set_a1", &BiQuad::setA1)
36
+ .def("set_a2", &BiQuad::setA2)
37
+ .def("set_resonance", &BiQuad::setResonance)
38
+ .def("set_notch", &BiQuad::setNotch)
39
+ .def("set_lowpass", &BiQuad::setLowPass)
40
+ .def("set_highpass", &BiQuad::setHighPass)
41
+ .def("set_bandpass", &BiQuad::setBandPass)
42
+ .def("set_bandreject", &BiQuad::setBandReject)
43
+ .def("set_allpass", &BiQuad::setAllPass)
44
+ .def("set_equal_gain_zeroes", &BiQuad::setEqualGainZeroes)
45
+ .def("last_out", &BiQuad::lastOut)
46
+ .def("tick", nb::overload_cast<StkFloat>(&BiQuad::tick))
47
+ .def("tick", &process_input<BiQuad, 1, 1>);
48
+
49
+ nb::class_<Delay, Filter>(m, "Delay")
50
+ .def(nb::init<unsigned long, unsigned long>(), "delay"_a = 0, "max_delay"_a = 4095)
51
+ .def("get_maximum_delay", &Delay::getMaximumDelay)
52
+ .def("set_maximum_delay", &Delay::setMaximumDelay)
53
+ .def("set_delay", &Delay::setDelay)
54
+ .def("get_delay", &Delay::getDelay)
55
+ .def("tap_out", &Delay::tapOut)
56
+ .def("tap_in", &Delay::tapIn)
57
+ .def("add_to", &Delay::addTo)
58
+ .def("last_out", &Delay::lastOut)
59
+ .def("next_out", &Delay::nextOut)
60
+ .def("energy", &Delay::energy)
61
+ .def("tick", nb::overload_cast<StkFloat>(&Delay::tick))
62
+ .def("tick", &process_input<Delay, 1, 1>);
63
+
64
+ nb::class_<DelayA, Filter>(m, "DelayA")
65
+ .def(nb::init<StkFloat, unsigned long>(), "delay"_a = 0.5, "max_delay"_a = 4095)
66
+ .def("clear", &DelayA::clear)
67
+ .def("get_maximum_delay", &DelayA::getMaximumDelay)
68
+ .def("set_maximum_delay", &DelayA::setMaximumDelay)
69
+ .def("set_delay", &DelayA::setDelay)
70
+ .def("get_delay", &DelayA::getDelay)
71
+ .def("tap_out", &DelayA::tapOut)
72
+ .def("tap_in", &DelayA::tapIn)
73
+ .def("last_out", &DelayA::lastOut)
74
+ .def("next_out", &DelayA::nextOut)
75
+ .def("tick", nb::overload_cast<StkFloat>(&DelayA::tick))
76
+ .def("tick", &process_input<DelayA, 1, 1>);
77
+
78
+ nb::class_<DelayL, Filter>(m, "DelayL")
79
+ .def(nb::init<StkFloat, unsigned long>(), "delay"_a = 0.0, "max_delay"_a = 4095)
80
+ .def("get_maximum_delay", &DelayL::getMaximumDelay)
81
+ .def("set_maximum_delay", &DelayL::setMaximumDelay)
82
+ .def("set_delay", &DelayL::setDelay)
83
+ .def("get_delay", &DelayL::getDelay)
84
+ .def("tap_out", &DelayL::tapOut)
85
+ .def("tap_in", &DelayL::tapIn)
86
+ .def("last_out", &DelayL::lastOut)
87
+ .def("next_out", &DelayL::nextOut)
88
+ .def("tick", nb::overload_cast<StkFloat>(&DelayL::tick))
89
+ .def("tick", &process_input<DelayL, 1, 1>);
90
+
91
+ nb::class_<Fir, Filter>(m, "Fir")
92
+ .def(nb::init<>())
93
+ .def(nb::init<std::vector<StkFloat>&>(), "coefficients"_a)
94
+ .def("set_coefficients", &Fir::setCoefficients)
95
+ .def("last_out", &Fir::lastOut)
96
+ .def("tick", nb::overload_cast<StkFloat>(&Fir::tick))
97
+ .def("tick", &process_input<Fir, 1, 1>);
98
+
99
+ nb::class_<FormSwep, Filter>(m, "FormSwep")
100
+ .def(nb::init<>())
101
+ .def("ignore_sample_rate_change", &FormSwep::ignoreSampleRateChange)
102
+ .def("set_resonance", &FormSwep::setResonance)
103
+ .def("set_states", &FormSwep::setStates)
104
+ .def("set_targets", &FormSwep::setTargets)
105
+ .def("set_sweep_rate", &FormSwep::setSweepRate)
106
+ .def("set_sweep_time", &FormSwep::setSweepTime)
107
+ .def("last_out", &FormSwep::lastOut)
108
+ .def("tick", nb::overload_cast<StkFloat>(&FormSwep::tick))
109
+ .def("tick", &process_input<FormSwep, 1, 1>);
110
+
111
+ nb::class_<Iir, Filter>(m, "Iir")
112
+ .def(nb::init<>())
113
+ .def(nb::init<std::vector<StkFloat>&, std::vector<StkFloat>&>(), "b_coefficients"_a, "a_coefficients"_a)
114
+ .def("set_coefficients", &Iir::setCoefficients)
115
+ .def("set_numerator", &Iir::setNumerator)
116
+ .def("set_denominator", &Iir::setDenominator)
117
+ .def("last_out", &Iir::lastOut)
118
+ .def("tick", nb::overload_cast<StkFloat>(&Iir::tick))
119
+ .def("tick", &process_input<Iir, 1, 1>);
120
+
121
+ nb::class_<OnePole, Filter>(m, "Filter")
122
+ .def(nb::init<StkFloat>(), "the_pole"_a = 0.9)
123
+ .def("set_b0", &OnePole::setB0)
124
+ .def("set_a1", &OnePole::setA1)
125
+ .def("set_coefficients", &OnePole::setCoefficients)
126
+ .def("set_pole", &OnePole::setPole)
127
+ .def("last_out", &OnePole::lastOut)
128
+ .def("tick", nb::overload_cast<StkFloat>(&OnePole::tick))
129
+ .def("tick", &process_input<OnePole, 1, 1>);
130
+
131
+ nb::class_<OneZero, Filter>(m, "OneZero")
132
+ .def(nb::init<StkFloat>(), "the_zero"_a = -1.0)
133
+ .def("set_b0", &OneZero::setB0)
134
+ .def("set_b1", &OneZero::setB1)
135
+ .def("set_coefficients", &OneZero::setCoefficients)
136
+ .def("set_zero", &OneZero::setZero)
137
+ .def("last_out", &OneZero::lastOut)
138
+ .def("tick", nb::overload_cast<StkFloat>(&OneZero::tick))
139
+ .def("tick", &process_input<OneZero, 1, 1>);
140
+
141
+ nb::class_<PoleZero, Filter>(m, "PoleZero")
142
+ .def(nb::init<>())
143
+ .def("set_b0", &PoleZero::setB0)
144
+ .def("set_b1", &PoleZero::setB1)
145
+ .def("set_a1", &PoleZero::setA1)
146
+ .def("set_coefficients", &PoleZero::setCoefficients)
147
+ .def("set_allpass", &PoleZero::setAllpass)
148
+ .def("set_block_zero", &PoleZero::setBlockZero)
149
+ .def("last_out", &PoleZero::lastOut)
150
+ .def("tick", nb::overload_cast<StkFloat>(&PoleZero::tick))
151
+ .def("tick", &process_input<PoleZero, 1, 1>);
152
+
153
+ nb::class_<TapDelay, Filter>(m, "TapDelay")
154
+ .def(nb::init<std::vector<unsigned long>, unsigned long>(), "taps"_a = std::vector<unsigned long>(1, 0), "max_delay"_a = 4095)
155
+ .def("set_maximum_delay", &TapDelay::setMaximumDelay)
156
+ .def("set_tap_delays", &TapDelay::setTapDelays)
157
+ .def("get_tap_delays", &TapDelay::getTapDelays)
158
+ .def("last_out", &TapDelay::lastOut)
159
+ .def("tick", [](TapDelay& self, StkFloat input) {
160
+ StkFrames frames(1, self.getTapDelays().size());
161
+ self.tick(input, frames);
162
+ return stkframes_to_numpy<-1>(frames);
163
+ })
164
+ .def("tick", [](TapDelay& self, const audio_frames<1>& input) {
165
+ StkFrames frames(input.shape(1), self.getTapDelays().size());
166
+ self.tick(frames);
167
+ return stkframes_to_numpy<-1>(frames);
168
+ });
169
+
170
+ nb::class_<TwoPole, Filter>(m, "TwoPole")
171
+ .def(nb::init<>())
172
+ .def("ignore_sample_rate_change", &TwoPole::ignoreSampleRateChange)
173
+ .def("set_b0", &TwoPole::setB0)
174
+ .def("set_a1", &TwoPole::setA1)
175
+ .def("set_a2", &TwoPole::setA2)
176
+ .def("set_coefficients", &TwoPole::setCoefficients)
177
+ .def("set_resonance", &TwoPole::setResonance)
178
+ .def("last_out", &TwoPole::lastOut)
179
+ .def("tick", nb::overload_cast<StkFloat>(&TwoPole::tick))
180
+ .def("tick", &process_input<TwoPole, 1, 1>);
181
+
182
+ nb::class_<TwoZero, Filter>(m, "TwoZero")
183
+ .def(nb::init<>())
184
+ .def("ignore_sample_rate_change", &TwoZero::ignoreSampleRateChange)
185
+ .def("set_b0", &TwoZero::setB0)
186
+ .def("set_b1", &TwoZero::setB1)
187
+ .def("set_b2", &TwoZero::setB2)
188
+ .def("set_coefficients", &TwoZero::setCoefficients)
189
+ .def("set_notch", &TwoZero::setNotch)
190
+ .def("last_out", &TwoZero::lastOut)
191
+ .def("tick", nb::overload_cast<StkFloat>(&TwoZero::tick))
192
+ .def("tick", &process_input<TwoZero, 1, 1>);
193
+ }