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.
- synthesistoolkit-0.0.1/.gitignore +11 -0
- synthesistoolkit-0.0.1/.gitmodules +4 -0
- synthesistoolkit-0.0.1/CMakeLists.txt +54 -0
- synthesistoolkit-0.0.1/LICENSE +53 -0
- synthesistoolkit-0.0.1/PKG-INFO +11 -0
- synthesistoolkit-0.0.1/README.md +76 -0
- synthesistoolkit-0.0.1/pyproject.toml +44 -0
- synthesistoolkit-0.0.1/src/Common.h +102 -0
- synthesistoolkit-0.0.1/src/effect.cpp +93 -0
- synthesistoolkit-0.0.1/src/filter.cpp +193 -0
- synthesistoolkit-0.0.1/src/function.cpp +43 -0
- synthesistoolkit-0.0.1/src/generator.cpp +162 -0
- synthesistoolkit-0.0.1/src/instrmnt.cpp +713 -0
- synthesistoolkit-0.0.1/src/pystk.cpp +91 -0
- synthesistoolkit-0.0.1/src/synthesistoolkit/__init__.py +7 -0
- synthesistoolkit-0.0.1/stk/.gitignore +199 -0
- synthesistoolkit-0.0.1/stk/CMakeLists.txt +167 -0
- synthesistoolkit-0.0.1/stk/INSTALL.md +54 -0
- synthesistoolkit-0.0.1/stk/LICENSE +27 -0
- synthesistoolkit-0.0.1/stk/Makefile.in +41 -0
- synthesistoolkit-0.0.1/stk/README.md +194 -0
- synthesistoolkit-0.0.1/stk/STK.podspec +55 -0
- synthesistoolkit-0.0.1/stk/bin/treesed +189 -0
- synthesistoolkit-0.0.1/stk/cmake/FindCoreAudio.cmake +21 -0
- synthesistoolkit-0.0.1/stk/config/config.guess +1441 -0
- synthesistoolkit-0.0.1/stk/config/config.sub +1813 -0
- synthesistoolkit-0.0.1/stk/config/install.sh +0 -0
- synthesistoolkit-0.0.1/stk/configure.ac +274 -0
- synthesistoolkit-0.0.1/stk/doc/README-Linux.txt +13 -0
- synthesistoolkit-0.0.1/stk/doc/README-MacOSX.txt +16 -0
- synthesistoolkit-0.0.1/stk/doc/README-SGI.txt +7 -0
- synthesistoolkit-0.0.1/stk/doc/README-Win.txt +26 -0
- synthesistoolkit-0.0.1/stk/doc/ReleaseNotes.txt +314 -0
- synthesistoolkit-0.0.1/stk/doc/SKINI.txt +388 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/Doxyfile +2719 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/classes.txt +10 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/compile.txt +109 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/control.txt +54 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/crealtime.txt +74 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/download.txt +299 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/faq.txt +81 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/filtering.txt +91 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/footer.html +9 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/fundamentals.txt +65 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/header.html +10 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/header.tex +31 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/hello.txt +94 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/images/ccrma.gif +0 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/images/mcgill.gif +0 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/images/princeton.gif +0 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/index.txt +41 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/information.txt +133 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/instruments.txt +19 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/links.txt +25 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/maillist.txt +14 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/multichannel.txt +30 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/polyvoices.txt +22 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/realtime.txt +49 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/skini.txt +226 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/system.txt +35 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/tutorial.txt +24 -0
- synthesistoolkit-0.0.1/stk/doc/doxygen/usage.txt +205 -0
- synthesistoolkit-0.0.1/stk/doc/hierarchy.txt +180 -0
- synthesistoolkit-0.0.1/stk/doc/treesed.html +175 -0
- synthesistoolkit-0.0.1/stk/iOS/README-iOS.md +91 -0
- synthesistoolkit-0.0.1/stk/iOS/STK.xcodeproj/project.pbxproj +1165 -0
- synthesistoolkit-0.0.1/stk/iOS/STK.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/README.md +10 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/AppDelegate.h +14 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/AppDelegate.m +25 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/Images.xcassets/AppIcon.appiconset/Contents.json +23 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/Images.xcassets/LaunchImage.launchimage/Contents.json +23 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/ViewController.h +12 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/ViewController.mm +108 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/en.lproj/InfoPlist.strings +2 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/iOS Demo-Info.plist +38 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/iOS Demo-Prefix.pch +16 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo/main.m +18 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo.xcodeproj/project.pbxproj +571 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS Demo.xcodeproj/project.xcworkspace/xcshareddata/iOS Demo.xccheckout +41 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS DemoTests/en.lproj/InfoPlist.strings +2 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS DemoTests/iOS DemoTests-Info.plist +22 -0
- synthesistoolkit-0.0.1/stk/iOS/demo/iOS DemoTests/iOS_DemoTests.m +34 -0
- synthesistoolkit-0.0.1/stk/include/ADSR.h +179 -0
- synthesistoolkit-0.0.1/stk/include/Asymp.h +146 -0
- synthesistoolkit-0.0.1/stk/include/BandedWG.h +153 -0
- synthesistoolkit-0.0.1/stk/include/BeeThree.h +127 -0
- synthesistoolkit-0.0.1/stk/include/BiQuad.h +259 -0
- synthesistoolkit-0.0.1/stk/include/Blit.h +151 -0
- synthesistoolkit-0.0.1/stk/include/BlitSaw.h +148 -0
- synthesistoolkit-0.0.1/stk/include/BlitSquare.h +170 -0
- synthesistoolkit-0.0.1/stk/include/BlowBotl.h +144 -0
- synthesistoolkit-0.0.1/stk/include/BlowHole.h +185 -0
- synthesistoolkit-0.0.1/stk/include/BowTable.h +150 -0
- synthesistoolkit-0.0.1/stk/include/Bowed.h +157 -0
- synthesistoolkit-0.0.1/stk/include/Brass.h +147 -0
- synthesistoolkit-0.0.1/stk/include/Chorus.h +172 -0
- synthesistoolkit-0.0.1/stk/include/Clarinet.h +152 -0
- synthesistoolkit-0.0.1/stk/include/Cubic.h +138 -0
- synthesistoolkit-0.0.1/stk/include/Delay.h +188 -0
- synthesistoolkit-0.0.1/stk/include/DelayA.h +207 -0
- synthesistoolkit-0.0.1/stk/include/DelayL.h +230 -0
- synthesistoolkit-0.0.1/stk/include/Drummer.h +130 -0
- synthesistoolkit-0.0.1/stk/include/Echo.h +120 -0
- synthesistoolkit-0.0.1/stk/include/Effect.h +79 -0
- synthesistoolkit-0.0.1/stk/include/Envelope.h +131 -0
- synthesistoolkit-0.0.1/stk/include/FM.h +119 -0
- synthesistoolkit-0.0.1/stk/include/FMVoices.h +135 -0
- synthesistoolkit-0.0.1/stk/include/FileLoop.h +165 -0
- synthesistoolkit-0.0.1/stk/include/FileRead.h +141 -0
- synthesistoolkit-0.0.1/stk/include/FileWrite.h +116 -0
- synthesistoolkit-0.0.1/stk/include/FileWvIn.h +208 -0
- synthesistoolkit-0.0.1/stk/include/FileWvOut.h +102 -0
- synthesistoolkit-0.0.1/stk/include/Filter.h +124 -0
- synthesistoolkit-0.0.1/stk/include/Fir.h +155 -0
- synthesistoolkit-0.0.1/stk/include/Flute.h +167 -0
- synthesistoolkit-0.0.1/stk/include/FormSwep.h +190 -0
- synthesistoolkit-0.0.1/stk/include/FreeVerb.h +251 -0
- synthesistoolkit-0.0.1/stk/include/Function.h +41 -0
- synthesistoolkit-0.0.1/stk/include/Generator.h +50 -0
- synthesistoolkit-0.0.1/stk/include/Granulate.h +209 -0
- synthesistoolkit-0.0.1/stk/include/Guitar.h +202 -0
- synthesistoolkit-0.0.1/stk/include/HevyMetl.h +126 -0
- synthesistoolkit-0.0.1/stk/include/Iir.h +204 -0
- synthesistoolkit-0.0.1/stk/include/InetWvIn.h +158 -0
- synthesistoolkit-0.0.1/stk/include/InetWvOut.h +98 -0
- synthesistoolkit-0.0.1/stk/include/Instrmnt.h +108 -0
- synthesistoolkit-0.0.1/stk/include/JCRev.h +166 -0
- synthesistoolkit-0.0.1/stk/include/JetTable.h +112 -0
- synthesistoolkit-0.0.1/stk/include/LentPitShift.h +263 -0
- synthesistoolkit-0.0.1/stk/include/Mandolin.h +143 -0
- synthesistoolkit-0.0.1/stk/include/Mesh2D.h +144 -0
- synthesistoolkit-0.0.1/stk/include/Messager.h +166 -0
- synthesistoolkit-0.0.1/stk/include/MidiFileIn.h +135 -0
- synthesistoolkit-0.0.1/stk/include/Modal.h +154 -0
- synthesistoolkit-0.0.1/stk/include/ModalBar.h +65 -0
- synthesistoolkit-0.0.1/stk/include/Modulate.h +111 -0
- synthesistoolkit-0.0.1/stk/include/Moog.h +125 -0
- synthesistoolkit-0.0.1/stk/include/Mutex.h +74 -0
- synthesistoolkit-0.0.1/stk/include/NRev.h +160 -0
- synthesistoolkit-0.0.1/stk/include/Noise.h +84 -0
- synthesistoolkit-0.0.1/stk/include/OnePole.h +134 -0
- synthesistoolkit-0.0.1/stk/include/OneZero.h +134 -0
- synthesistoolkit-0.0.1/stk/include/PRCRev.h +140 -0
- synthesistoolkit-0.0.1/stk/include/PercFlut.h +127 -0
- synthesistoolkit-0.0.1/stk/include/Phonemes.h +55 -0
- synthesistoolkit-0.0.1/stk/include/PitShift.h +106 -0
- synthesistoolkit-0.0.1/stk/include/Plucked.h +117 -0
- synthesistoolkit-0.0.1/stk/include/PoleZero.h +113 -0
- synthesistoolkit-0.0.1/stk/include/Recorder.h +167 -0
- synthesistoolkit-0.0.1/stk/include/ReedTable.h +143 -0
- synthesistoolkit-0.0.1/stk/include/Resonate.h +124 -0
- synthesistoolkit-0.0.1/stk/include/Rhodey.h +128 -0
- synthesistoolkit-0.0.1/stk/include/RtAudio.h +939 -0
- synthesistoolkit-0.0.1/stk/include/RtMidi.h +677 -0
- synthesistoolkit-0.0.1/stk/include/RtWvIn.h +126 -0
- synthesistoolkit-0.0.1/stk/include/RtWvOut.h +96 -0
- synthesistoolkit-0.0.1/stk/include/SKINImsg.h +129 -0
- synthesistoolkit-0.0.1/stk/include/SKINItbl.h +135 -0
- synthesistoolkit-0.0.1/stk/include/Sampler.h +75 -0
- synthesistoolkit-0.0.1/stk/include/Saxofony.h +166 -0
- synthesistoolkit-0.0.1/stk/include/Shakers.h +332 -0
- synthesistoolkit-0.0.1/stk/include/Simple.h +126 -0
- synthesistoolkit-0.0.1/stk/include/SineWave.h +159 -0
- synthesistoolkit-0.0.1/stk/include/SingWave.h +136 -0
- synthesistoolkit-0.0.1/stk/include/Sitar.h +129 -0
- synthesistoolkit-0.0.1/stk/include/Skini.h +122 -0
- synthesistoolkit-0.0.1/stk/include/Socket.h +89 -0
- synthesistoolkit-0.0.1/stk/include/Sphere.h +79 -0
- synthesistoolkit-0.0.1/stk/include/StifKarp.h +153 -0
- synthesistoolkit-0.0.1/stk/include/Stk.h +637 -0
- synthesistoolkit-0.0.1/stk/include/TapDelay.h +220 -0
- synthesistoolkit-0.0.1/stk/include/TcpClient.h +65 -0
- synthesistoolkit-0.0.1/stk/include/TcpServer.h +65 -0
- synthesistoolkit-0.0.1/stk/include/Thread.h +98 -0
- synthesistoolkit-0.0.1/stk/include/TubeBell.h +125 -0
- synthesistoolkit-0.0.1/stk/include/Twang.h +160 -0
- synthesistoolkit-0.0.1/stk/include/TwoPole.h +153 -0
- synthesistoolkit-0.0.1/stk/include/TwoZero.h +149 -0
- synthesistoolkit-0.0.1/stk/include/UdpSocket.h +76 -0
- synthesistoolkit-0.0.1/stk/include/Vector3D.h +68 -0
- synthesistoolkit-0.0.1/stk/include/VoicForm.h +161 -0
- synthesistoolkit-0.0.1/stk/include/Voicer.h +219 -0
- synthesistoolkit-0.0.1/stk/include/Whistle.h +128 -0
- synthesistoolkit-0.0.1/stk/include/Wurley.h +128 -0
- synthesistoolkit-0.0.1/stk/include/WvIn.h +46 -0
- synthesistoolkit-0.0.1/stk/include/WvOut.h +85 -0
- synthesistoolkit-0.0.1/stk/m4/ax_cxx_compile_stdcxx.m4 +951 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Banded +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Banded.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/CMakeLists.txt +9 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Drums +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Drums.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Makefile.in +93 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Md2Skini.cpp +265 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Md2Skini.dsp +126 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Modal +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Modal.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Physical +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Physical.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Shakers +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Shakers.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/StkDemo +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/StkDemo.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Voice +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/Voice.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/demo/demo.cpp +319 -0
- synthesistoolkit-0.0.1/stk/projects/demo/demo.sln +25 -0
- synthesistoolkit-0.0.1/stk/projects/demo/demo.vcxproj +299 -0
- synthesistoolkit-0.0.1/stk/projects/demo/demo.vcxproj.filters +507 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/README +19 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/bachfugue.ski +1601 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/bookert.ski +90 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/chords.ski +112 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/doogie.ski +32 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/drumfunk.ski +128 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/drumtest.ski +57 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/duelingb.ski +24 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/fiddle.ski +111 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/flutbach.ski +97 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/funicula.ski +180 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/funskini.ski +105 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/lacrymos.ski +34 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/mandtune.ski +45 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/marimba2.ski +107 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/marimtst.ski +45 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/misacrio.ski +58 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/morazbel.ski +85 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/muneira.ski +12901 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/organs.ski +221 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/pickdamp.ski +65 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/pictures.ski +30 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/riderson.ski +63 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/scales.ski +72 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/shaktest.ski +64 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/simplgft.ski +47 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/spain.ski +23 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/streetsf.ski +56 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/test.ski +3 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/thecars.ski +38 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/tubebell.ski +19 -0
- synthesistoolkit-0.0.1/stk/projects/demo/scores/vocaliz.ski +158 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/Banded.tcl +187 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/Demo.tcl +798 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/Drums.tcl +122 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/Modal.tcl +215 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/Physical.tcl +412 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/Shakers.tcl +227 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/Voice.tcl +180 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KFMod.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KFiddl.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KFloot.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KHose.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KModal.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KPluk.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KVoicForm.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/KVoiceFM.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/Klar.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/bamboo.xbm +138 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/cabasa.xbm +138 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/cokecan.xbm +71 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/guiro.xbm +138 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/kasm.xbm +117 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/maraca.xbm +138 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/phism.xbm +90 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/prc.xbm +101 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/prcFunny.xbm +60 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/rachet.xbm +138 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/sleighbell.xbm +138 -0
- synthesistoolkit-0.0.1/stk/projects/demo/tcl/bitmaps/tambourine.xbm +138 -0
- synthesistoolkit-0.0.1/stk/projects/demo/utilities.cpp +335 -0
- synthesistoolkit-0.0.1/stk/projects/demo/utilities.h +19 -0
- synthesistoolkit-0.0.1/stk/projects/effects/CMakeLists.txt +9 -0
- synthesistoolkit-0.0.1/stk/projects/effects/Makefile.in +71 -0
- synthesistoolkit-0.0.1/stk/projects/effects/README-effects.txt +26 -0
- synthesistoolkit-0.0.1/stk/projects/effects/StkEffects +1 -0
- synthesistoolkit-0.0.1/stk/projects/effects/StkEffects.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/effects/effects.cpp +285 -0
- synthesistoolkit-0.0.1/stk/projects/effects/effects.sln +25 -0
- synthesistoolkit-0.0.1/stk/projects/effects/effects.vcxproj +188 -0
- synthesistoolkit-0.0.1/stk/projects/effects/tcl/Effects.tcl +256 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/CMakeLists.txt +9 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/ElectricGuitar +1 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/ElectricGuitar.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/Makefile.in +76 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/README-eguitar.txt +44 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/eguitar.cpp +371 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/eguitar.sln +25 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/eguitar.vcxproj +186 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/scores/test.ski +27 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/tcl/EGuitar.tcl +295 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/utilities.cpp +207 -0
- synthesistoolkit-0.0.1/stk/projects/eguitar/utilities.h +12 -0
- synthesistoolkit-0.0.1/stk/projects/examples/CMakeLists.txt +11 -0
- synthesistoolkit-0.0.1/stk/projects/examples/Makefile.in +109 -0
- synthesistoolkit-0.0.1/stk/projects/examples/audioprobe.cpp +117 -0
- synthesistoolkit-0.0.1/stk/projects/examples/audioprobe.vcxproj +141 -0
- synthesistoolkit-0.0.1/stk/projects/examples/audioprobe.vcxproj.filters +38 -0
- synthesistoolkit-0.0.1/stk/projects/examples/bethree.cpp +91 -0
- synthesistoolkit-0.0.1/stk/projects/examples/bethree.vcxproj +165 -0
- synthesistoolkit-0.0.1/stk/projects/examples/bethree.vcxproj.filters +114 -0
- synthesistoolkit-0.0.1/stk/projects/examples/controlbee.cpp +165 -0
- synthesistoolkit-0.0.1/stk/projects/examples/controlbee.vcxproj +172 -0
- synthesistoolkit-0.0.1/stk/projects/examples/controlbee.vcxproj.filters +135 -0
- synthesistoolkit-0.0.1/stk/projects/examples/crtsine.cpp +59 -0
- synthesistoolkit-0.0.1/stk/projects/examples/crtsine.vcxproj +141 -0
- synthesistoolkit-0.0.1/stk/projects/examples/crtsine.vcxproj.filters +42 -0
- synthesistoolkit-0.0.1/stk/projects/examples/duplex.cpp +167 -0
- synthesistoolkit-0.0.1/stk/projects/examples/duplex.vcxproj +141 -0
- synthesistoolkit-0.0.1/stk/projects/examples/duplex.vcxproj.filters +36 -0
- synthesistoolkit-0.0.1/stk/projects/examples/examples.sln +121 -0
- synthesistoolkit-0.0.1/stk/projects/examples/foursine.cpp +43 -0
- synthesistoolkit-0.0.1/stk/projects/examples/foursine.vcxproj +143 -0
- synthesistoolkit-0.0.1/stk/projects/examples/foursine.vcxproj.filters +48 -0
- synthesistoolkit-0.0.1/stk/projects/examples/grains.cpp +103 -0
- synthesistoolkit-0.0.1/stk/projects/examples/grains.vcxproj +146 -0
- synthesistoolkit-0.0.1/stk/projects/examples/grains.vcxproj.filters +57 -0
- synthesistoolkit-0.0.1/stk/projects/examples/inetIn.cpp +84 -0
- synthesistoolkit-0.0.1/stk/projects/examples/inetIn.vcxproj +151 -0
- synthesistoolkit-0.0.1/stk/projects/examples/inetIn.vcxproj.filters +72 -0
- synthesistoolkit-0.0.1/stk/projects/examples/inetOut.cpp +80 -0
- synthesistoolkit-0.0.1/stk/projects/examples/inetOut.vcxproj +148 -0
- synthesistoolkit-0.0.1/stk/projects/examples/inetOut.vcxproj.filters +63 -0
- synthesistoolkit-0.0.1/stk/projects/examples/libMakefile.in +91 -0
- synthesistoolkit-0.0.1/stk/projects/examples/midifiles/bwv772.mid +0 -0
- synthesistoolkit-0.0.1/stk/projects/examples/midifiles/jesu.mid +0 -0
- synthesistoolkit-0.0.1/stk/projects/examples/midifiles/tango.mid +0 -0
- synthesistoolkit-0.0.1/stk/projects/examples/midiprobe.cpp +71 -0
- synthesistoolkit-0.0.1/stk/projects/examples/midiprobe.vcxproj +137 -0
- synthesistoolkit-0.0.1/stk/projects/examples/midiprobe.vcxproj.filters +30 -0
- synthesistoolkit-0.0.1/stk/projects/examples/play.cpp +128 -0
- synthesistoolkit-0.0.1/stk/projects/examples/play.vcxproj +142 -0
- synthesistoolkit-0.0.1/stk/projects/examples/play.vcxproj.filters +45 -0
- synthesistoolkit-0.0.1/stk/projects/examples/playsmf.cpp +124 -0
- synthesistoolkit-0.0.1/stk/projects/examples/playsmf.vcxproj +141 -0
- synthesistoolkit-0.0.1/stk/projects/examples/playsmf.vcxproj.filters +42 -0
- synthesistoolkit-0.0.1/stk/projects/examples/rawwaves/sinewave.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/examples/record.cpp +88 -0
- synthesistoolkit-0.0.1/stk/projects/examples/record.vcxproj +147 -0
- synthesistoolkit-0.0.1/stk/projects/examples/record.vcxproj.filters +60 -0
- synthesistoolkit-0.0.1/stk/projects/examples/rtsine.cpp +54 -0
- synthesistoolkit-0.0.1/stk/projects/examples/rtsine.vcxproj +145 -0
- synthesistoolkit-0.0.1/stk/projects/examples/rtsine.vcxproj.filters +54 -0
- synthesistoolkit-0.0.1/stk/projects/examples/scores/bachfugue.ski +1601 -0
- synthesistoolkit-0.0.1/stk/projects/examples/scores/bookert.ski +90 -0
- synthesistoolkit-0.0.1/stk/projects/examples/simple.tcl +81 -0
- synthesistoolkit-0.0.1/stk/projects/examples/sine.cpp +87 -0
- synthesistoolkit-0.0.1/stk/projects/examples/sine.vcxproj +143 -0
- synthesistoolkit-0.0.1/stk/projects/examples/sine.vcxproj.filters +48 -0
- synthesistoolkit-0.0.1/stk/projects/examples/sineosc.cpp +53 -0
- synthesistoolkit-0.0.1/stk/projects/examples/sineosc.vcxproj +149 -0
- synthesistoolkit-0.0.1/stk/projects/examples/sineosc.vcxproj.filters +66 -0
- synthesistoolkit-0.0.1/stk/projects/examples/threebees.cpp +170 -0
- synthesistoolkit-0.0.1/stk/projects/examples/threebees.vcxproj +174 -0
- synthesistoolkit-0.0.1/stk/projects/examples/threebees.vcxproj.filters +141 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/CMakeLists.txt +9 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/Drone.cpp +88 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/Drone.h +117 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/Makefile.in +83 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/README-raga.txt +30 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/Raga +1 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/Raga.bat +1 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/Tabla.cpp +120 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/Tabla.h +118 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/VoicDrum.cpp +116 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/VoicDrum.h +118 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/ragamat.cpp +331 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/ragamat.vcxproj +191 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/ragamatic.sln +25 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/DrDoi1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/DrDoi2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/DrTak1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/DrTak2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdak2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdak3.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdak4.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drddak1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdee1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdee2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdoo1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdoo2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drdoo3.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drjun1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/Drjun2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/bee1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/dee1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/dee2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/din1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/gun1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/jun1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/jun2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/tak1.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/tak2.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/tak3.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/rawwaves/tak4.raw +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/Raga.tcl +250 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/prc.xbm +101 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/prcFunny.xbm +60 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/ragamat.bmp +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/ragamat.xbm +768 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/ragamat2.bmp +0 -0
- synthesistoolkit-0.0.1/stk/projects/ragamatic/tcl/bitmaps/ragamat2.xbm +200 -0
- synthesistoolkit-0.0.1/stk/projects/stk-template.zip +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/ahh.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/bassdrum.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/britestk.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/cowbell1.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/crashcym.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/dope.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/eee.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/fwavblnk.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/halfwave.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/hihatcym.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/impuls10.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/impuls20.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/impuls40.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/makefunc.c +55 -0
- synthesistoolkit-0.0.1/stk/rawwaves/makemidi.c +33 -0
- synthesistoolkit-0.0.1/stk/rawwaves/makewavs.c +116 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand1.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand10.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand11.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand12.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand2.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand3.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand4.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand5.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand6.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand7.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand8.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mand9.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/mandpluk.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/marmstk1.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/ooo.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/peksblnk.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/ppksblnk.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/ridecymb.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/silence.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/sine.c +22 -0
- synthesistoolkit-0.0.1/stk/rawwaves/sineblnk.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/sinewave.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/snardrum.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/snglpeak.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/tambourn.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/tomhidrm.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/tomlowdr.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/tommiddr.raw +0 -0
- synthesistoolkit-0.0.1/stk/rawwaves/twopeaks.raw +0 -0
- synthesistoolkit-0.0.1/stk/src/ADSR.cpp +181 -0
- synthesistoolkit-0.0.1/stk/src/Asymp.cpp +112 -0
- synthesistoolkit-0.0.1/stk/src/BandedWG.cpp +364 -0
- synthesistoolkit-0.0.1/stk/src/BeeThree.cpp +79 -0
- synthesistoolkit-0.0.1/stk/src/BiQuad.cpp +182 -0
- synthesistoolkit-0.0.1/stk/src/Blit.cpp +78 -0
- synthesistoolkit-0.0.1/stk/src/BlitSaw.cpp +91 -0
- synthesistoolkit-0.0.1/stk/src/BlitSquare.cpp +95 -0
- synthesistoolkit-0.0.1/stk/src/BlowBotl.cpp +122 -0
- synthesistoolkit-0.0.1/stk/src/BlowHole.cpp +224 -0
- synthesistoolkit-0.0.1/stk/src/Bowed.cpp +180 -0
- synthesistoolkit-0.0.1/stk/src/Brass.cpp +158 -0
- synthesistoolkit-0.0.1/stk/src/Chorus.cpp +56 -0
- synthesistoolkit-0.0.1/stk/src/Clarinet.cpp +138 -0
- synthesistoolkit-0.0.1/stk/src/Delay.cpp +110 -0
- synthesistoolkit-0.0.1/stk/src/DelayA.cpp +117 -0
- synthesistoolkit-0.0.1/stk/src/DelayL.cpp +73 -0
- synthesistoolkit-0.0.1/stk/src/Drummer.cpp +141 -0
- synthesistoolkit-0.0.1/stk/src/Echo.cpp +51 -0
- synthesistoolkit-0.0.1/stk/src/Envelope.cpp +87 -0
- synthesistoolkit-0.0.1/stk/src/FM.cpp +179 -0
- synthesistoolkit-0.0.1/stk/src/FMVoices.cpp +164 -0
- synthesistoolkit-0.0.1/stk/src/FileLoop.cpp +237 -0
- synthesistoolkit-0.0.1/stk/src/FileRead.cpp +903 -0
- synthesistoolkit-0.0.1/stk/src/FileWrite.cpp +799 -0
- synthesistoolkit-0.0.1/stk/src/FileWvIn.cpp +267 -0
- synthesistoolkit-0.0.1/stk/src/FileWvOut.cpp +140 -0
- synthesistoolkit-0.0.1/stk/src/Fir.cpp +74 -0
- synthesistoolkit-0.0.1/stk/src/Flute.cpp +163 -0
- synthesistoolkit-0.0.1/stk/src/FormSwep.cpp +136 -0
- synthesistoolkit-0.0.1/stk/src/FreeVerb.cpp +227 -0
- synthesistoolkit-0.0.1/stk/src/Granulate.cpp +296 -0
- synthesistoolkit-0.0.1/stk/src/Guitar.cpp +244 -0
- synthesistoolkit-0.0.1/stk/src/HevyMetl.cpp +75 -0
- synthesistoolkit-0.0.1/stk/src/Iir.cpp +125 -0
- synthesistoolkit-0.0.1/stk/src/InetWvIn.cpp +320 -0
- synthesistoolkit-0.0.1/stk/src/InetWvOut.cpp +231 -0
- synthesistoolkit-0.0.1/stk/src/JCRev.cpp +136 -0
- synthesistoolkit-0.0.1/stk/src/LentPitShift.cpp +52 -0
- synthesistoolkit-0.0.1/stk/src/Makefile.in +118 -0
- synthesistoolkit-0.0.1/stk/src/Mandolin.cpp +186 -0
- synthesistoolkit-0.0.1/stk/src/Mesh2D.cpp +367 -0
- synthesistoolkit-0.0.1/stk/src/Messager.cpp +435 -0
- synthesistoolkit-0.0.1/stk/src/MidiFileIn.cpp +353 -0
- synthesistoolkit-0.0.1/stk/src/Modal.cpp +169 -0
- synthesistoolkit-0.0.1/stk/src/ModalBar.cpp +191 -0
- synthesistoolkit-0.0.1/stk/src/Modulate.cpp +49 -0
- synthesistoolkit-0.0.1/stk/src/Moog.cpp +111 -0
- synthesistoolkit-0.0.1/stk/src/Mutex.cpp +104 -0
- synthesistoolkit-0.0.1/stk/src/NRev.cpp +119 -0
- synthesistoolkit-0.0.1/stk/src/Noise.cpp +34 -0
- synthesistoolkit-0.0.1/stk/src/OnePole.cpp +61 -0
- synthesistoolkit-0.0.1/stk/src/OneZero.cpp +49 -0
- synthesistoolkit-0.0.1/stk/src/PRCRev.cpp +120 -0
- synthesistoolkit-0.0.1/stk/src/PercFlut.cpp +85 -0
- synthesistoolkit-0.0.1/stk/src/Phonemes.cpp +292 -0
- synthesistoolkit-0.0.1/stk/src/PitShift.cpp +85 -0
- synthesistoolkit-0.0.1/stk/src/Plucked.cpp +98 -0
- synthesistoolkit-0.0.1/stk/src/PoleZero.cpp +73 -0
- synthesistoolkit-0.0.1/stk/src/Recorder.cpp +345 -0
- synthesistoolkit-0.0.1/stk/src/Resonate.cpp +113 -0
- synthesistoolkit-0.0.1/stk/src/Rhodey.cpp +92 -0
- synthesistoolkit-0.0.1/stk/src/RtAudio.cpp +11527 -0
- synthesistoolkit-0.0.1/stk/src/RtMidi.cpp +5264 -0
- synthesistoolkit-0.0.1/stk/src/RtWvIn.cpp +208 -0
- synthesistoolkit-0.0.1/stk/src/RtWvOut.cpp +217 -0
- synthesistoolkit-0.0.1/stk/src/Sampler.cpp +53 -0
- synthesistoolkit-0.0.1/stk/src/Saxofony.cpp +177 -0
- synthesistoolkit-0.0.1/stk/src/Shakers.cpp +729 -0
- synthesistoolkit-0.0.1/stk/src/Simple.cpp +105 -0
- synthesistoolkit-0.0.1/stk/src/SineWave.cpp +78 -0
- synthesistoolkit-0.0.1/stk/src/SingWave.cpp +53 -0
- synthesistoolkit-0.0.1/stk/src/Sitar.cpp +92 -0
- synthesistoolkit-0.0.1/stk/src/Skini.cpp +228 -0
- synthesistoolkit-0.0.1/stk/src/Socket.cpp +78 -0
- synthesistoolkit-0.0.1/stk/src/Sphere.cpp +50 -0
- synthesistoolkit-0.0.1/stk/src/StifKarp.cpp +181 -0
- synthesistoolkit-0.0.1/stk/src/Stk.cpp +401 -0
- synthesistoolkit-0.0.1/stk/src/TapDelay.cpp +87 -0
- synthesistoolkit-0.0.1/stk/src/TcpClient.cpp +105 -0
- synthesistoolkit-0.0.1/stk/src/TcpServer.cpp +99 -0
- synthesistoolkit-0.0.1/stk/src/Thread.cpp +106 -0
- synthesistoolkit-0.0.1/stk/src/TubeBell.cpp +78 -0
- synthesistoolkit-0.0.1/stk/src/Twang.cpp +108 -0
- synthesistoolkit-0.0.1/stk/src/TwoPole.cpp +76 -0
- synthesistoolkit-0.0.1/stk/src/TwoZero.cpp +74 -0
- synthesistoolkit-0.0.1/stk/src/UdpSocket.cpp +110 -0
- synthesistoolkit-0.0.1/stk/src/VoicForm.cpp +189 -0
- synthesistoolkit-0.0.1/stk/src/Voicer.cpp +224 -0
- synthesistoolkit-0.0.1/stk/src/Whistle.cpp +256 -0
- synthesistoolkit-0.0.1/stk/src/Wurley.cpp +94 -0
- synthesistoolkit-0.0.1/stk/src/include/FunctionDiscoveryKeys_devpkey.h +212 -0
- synthesistoolkit-0.0.1/stk/src/include/asio.cpp +257 -0
- synthesistoolkit-0.0.1/stk/src/include/asio.h +1070 -0
- synthesistoolkit-0.0.1/stk/src/include/asiodrivers.cpp +186 -0
- synthesistoolkit-0.0.1/stk/src/include/asiodrivers.h +41 -0
- synthesistoolkit-0.0.1/stk/src/include/asiodrvr.h +76 -0
- synthesistoolkit-0.0.1/stk/src/include/asiolist.cpp +306 -0
- synthesistoolkit-0.0.1/stk/src/include/asiolist.h +46 -0
- synthesistoolkit-0.0.1/stk/src/include/asiosys.h +82 -0
- synthesistoolkit-0.0.1/stk/src/include/dsound.h +2369 -0
- synthesistoolkit-0.0.1/stk/src/include/ginclude.h +38 -0
- synthesistoolkit-0.0.1/stk/src/include/iasiodrv.h +37 -0
- synthesistoolkit-0.0.1/stk/src/include/iasiothiscallresolver.cpp +572 -0
- synthesistoolkit-0.0.1/stk/src/include/iasiothiscallresolver.h +202 -0
- synthesistoolkit-0.0.1/stk/src/include/soundcard.h +1878 -0
- synthesistoolkit-0.0.1/tests/test_basic.py +6 -0
|
@@ -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
|
+
}
|