├── HelpSource ├── Classes │ ├── .placeholder │ ├── AbstractIn.schelp │ ├── Event-default-note.png │ ├── IdentityDictionary_01.png │ ├── IdentityDictionary_02.png │ ├── IdentityDictionary_03.png │ ├── IdentityDictionary_04.png │ ├── chebyshevpolynomials.png │ ├── False.schelp │ ├── True.schelp │ ├── InfoUGenBase.schelp │ ├── BufInfoUGenBase.schelp │ ├── EmacsDocument.schelp │ ├── ScelDocument.schelp │ ├── MaxLocalBufs.schelp │ ├── RawPointer.schelp │ ├── ProxyNodeMap.schelp │ ├── ListPattern.schelp │ ├── TaskProxyGui.schelp │ ├── Silent.schelp │ ├── AbstractOut.schelp │ ├── FilterPattern.schelp │ ├── LinkedListNode.schelp │ ├── A2K.schelp │ ├── RawArray.schelp │ ├── XIn.schelp │ ├── Sum3.schelp │ ├── Sum4.schelp │ ├── XInFeedback.schelp │ ├── BasicOpUGen.schelp │ ├── NumBuffers.schelp │ ├── RadiansPerSample.schelp │ ├── AbstractSystemAction.schelp │ ├── NumAudioBuses.schelp │ ├── NumInputBuses.schelp │ ├── NumOutputBuses.schelp │ ├── NumControlBuses.schelp │ ├── FuncFilterPattern.schelp │ ├── UniqueID.schelp │ ├── SampleDur.schelp │ ├── ShutDown.schelp │ ├── String.ext.schelp │ ├── VLayout.schelp │ ├── OnError.schelp │ ├── ScopeOut.schelp │ ├── PauseSelfWhenDone.schelp │ ├── ControlDur.schelp │ ├── ScIDE.schelp │ ├── PureUGen.schelp │ ├── PSinGrain.schelp │ ├── ServerQuit.schelp │ ├── Pdiff.schelp │ ├── ServerBoot.schelp │ ├── ToggleFF.schelp │ ├── LagControl.schelp │ ├── SynthDescLib.schelp │ ├── MultiOutUGen.schelp │ ├── Pdrop.schelp │ ├── PdefnAllGui.schelp │ ├── LagIn.schelp │ ├── TrigControl.schelp │ ├── RefCopy.schelp │ ├── InterplPairs.schelp │ ├── Pdict.schelp │ ├── APF.schelp │ ├── InterplXYC.schelp │ ├── ServerTree.schelp │ ├── Delay2.schelp │ ├── ClipNoise.schelp │ ├── Dstutter.schelp │ ├── BPZ2.schelp │ ├── TDelay.schelp │ └── Sanitize.schelp ├── Guides │ ├── .placeholder │ ├── scEn.png │ ├── server.png │ ├── structureEn.png │ ├── sc_ide_overview.png │ ├── s8kfFC-clientServerEn.png │ └── sc_ide_overview_scaled.png ├── Other │ ├── .placeholder │ └── ccbysa3_88x31.png ├── Overviews │ ├── .placeholder │ └── ClassTree.schelp ├── Reference │ ├── .placeholder │ ├── functions.png │ ├── Comments.schelp │ ├── gui_alignments.schelp │ └── Expression-Sequence.schelp ├── Tutorials │ ├── .placeholder │ └── Getting-Started │ │ ├── Start-Your-Engines00.png │ │ ├── Start-Your-Engines01.png │ │ ├── Functions-and-Sound-00.png │ │ ├── Functions-and-Sound-01.png │ │ ├── Functions-and-Sound-02.png │ │ ├── Functions-and-Sound-03.png │ │ ├── Functions-and-Sound-04.png │ │ └── Scoping-and-Plotting01.png ├── QC │ ├── Cells.qtz │ ├── Stupid Pan.qtz │ ├── SCLevelMeter.qtz │ ├── SCQCSonogramCount2.qtz │ ├── SCQuartzComposerViewTest.qtz │ └── SCQuartzComposerViewStructureTest.qtz └── images │ ├── node.png │ ├── SC_icon.png │ ├── Swamp.png │ ├── plugin.png │ ├── vduck2.jpg │ ├── vline.png │ ├── flowers2.jpg │ ├── lastnode.png │ ├── duck_alpha.png │ └── icon.supercollider.png ├── tools ├── guard │ ├── .gitignore │ └── Gemfile ├── release │ └── requirements.txt ├── cmake_gen │ └── CMakeLists_footer.template └── lint_or_format.py.in ├── external_libraries ├── libsndfile │ └── VERSION.txt ├── oscpack_1_1_0 │ └── CHANGES ├── portmidi │ ├── pm_win │ │ └── pmwinmm.h │ └── porttime │ │ └── porttime.c ├── boost │ ├── boost │ │ ├── functional │ │ │ ├── hash.hpp │ │ │ └── hash_fwd.hpp │ │ ├── concept │ │ │ └── detail │ │ │ │ └── concept_undef.hpp │ │ ├── config │ │ │ ├── abi │ │ │ │ ├── msvc_suffix.hpp │ │ │ │ └── borland_suffix.hpp │ │ │ ├── platform │ │ │ │ ├── amigaos.hpp │ │ │ │ ├── cray.hpp │ │ │ │ └── cloudabi.hpp │ │ │ └── compiler │ │ │ │ └── compaq_cxx.hpp │ │ ├── thread │ │ │ ├── detail │ │ │ │ └── variadic_footer.hpp │ │ │ ├── thread.hpp │ │ │ ├── csbl │ │ │ │ └── memory │ │ │ │ │ └── config.hpp │ │ │ └── executor.hpp │ │ ├── predef │ │ │ ├── detail │ │ │ │ ├── os_detected.h │ │ │ │ ├── comp_detected.h │ │ │ │ ├── platform_detected.h │ │ │ │ ├── _exception.h │ │ │ │ ├── _cassert.h │ │ │ │ └── test.h │ │ │ ├── library │ │ │ │ └── c │ │ │ │ │ └── _prefix.h │ │ │ ├── version.h │ │ │ ├── other.h │ │ │ ├── hardware.h │ │ │ ├── library.h │ │ │ └── language.h │ │ ├── typeof │ │ │ ├── message.hpp │ │ │ └── constant.hpp │ │ ├── mpl │ │ │ ├── aux_ │ │ │ │ ├── preprocessed │ │ │ │ │ ├── bcc551 │ │ │ │ │ │ └── quote.hpp │ │ │ │ │ ├── msvc60 │ │ │ │ │ │ └── quote.hpp │ │ │ │ │ ├── no_ttp │ │ │ │ │ │ └── quote.hpp │ │ │ │ │ ├── bcc_pre590 │ │ │ │ │ │ └── quote.hpp │ │ │ │ │ ├── dmc │ │ │ │ │ │ └── template_arity.hpp │ │ │ │ │ ├── mwcw │ │ │ │ │ │ └── template_arity.hpp │ │ │ │ │ └── plain │ │ │ │ │ │ └── template_arity.hpp │ │ │ │ └── config │ │ │ │ │ ├── workaround.hpp │ │ │ │ │ ├── msvc.hpp │ │ │ │ │ ├── intel.hpp │ │ │ │ │ └── use_preprocessed.hpp │ │ │ ├── end.hpp │ │ │ ├── next.hpp │ │ │ ├── begin.hpp │ │ │ ├── prior.hpp │ │ │ ├── logical.hpp │ │ │ ├── less.hpp │ │ │ ├── plus.hpp │ │ │ ├── minus.hpp │ │ │ ├── times.hpp │ │ │ ├── int.hpp │ │ │ ├── limits │ │ │ │ ├── list.hpp │ │ │ │ └── vector.hpp │ │ │ ├── divides.hpp │ │ │ ├── greater.hpp │ │ │ ├── equal_to.hpp │ │ │ └── long.hpp │ │ ├── core │ │ │ └── use_default.hpp │ │ ├── detail │ │ │ └── workaround.hpp │ │ ├── ref.hpp │ │ ├── exception_ptr.hpp │ │ ├── swap.hpp │ │ ├── utility │ │ │ ├── declval.hpp │ │ │ ├── swap.hpp │ │ │ ├── addressof.hpp │ │ │ ├── enable_if.hpp │ │ │ └── explicit_operator_bool.hpp │ │ ├── align │ │ │ ├── alignment_of_forward.hpp │ │ │ ├── detail │ │ │ │ ├── align_cxx11.hpp │ │ │ │ └── alignment_of_cxx11.hpp │ │ │ ├── align.hpp │ │ │ ├── aligned_allocator_forward.hpp │ │ │ └── aligned_allocator_adaptor_forward.hpp │ │ ├── noncopyable.hpp │ │ ├── function │ │ │ ├── function0.hpp │ │ │ ├── function1.hpp │ │ │ ├── function10.hpp │ │ │ ├── function2.hpp │ │ │ ├── function3.hpp │ │ │ ├── function4.hpp │ │ │ ├── function5.hpp │ │ │ ├── function6.hpp │ │ │ ├── function7.hpp │ │ │ ├── function8.hpp │ │ │ ├── function9.hpp │ │ │ └── detail │ │ │ │ └── function_iterate.hpp │ │ ├── parameter │ │ │ └── aux_ │ │ │ │ ├── parameter_requirements.hpp │ │ │ │ ├── use_default.hpp │ │ │ │ ├── lambda_tag.hpp │ │ │ │ └── preprocessor │ │ │ │ └── nullptr.hpp │ │ ├── checked_delete.hpp │ │ ├── mp11 │ │ │ ├── version.hpp │ │ │ └── detail │ │ │ │ └── mp_list.hpp │ │ ├── chrono │ │ │ ├── chrono.hpp │ │ │ └── detail │ │ │ │ └── system.hpp │ │ ├── make_shared.hpp │ │ ├── move │ │ │ └── detail │ │ │ │ └── config_end.hpp │ │ ├── multi_index │ │ │ └── detail │ │ │ │ ├── restore_wstrict_aliasing.hpp │ │ │ │ └── undef_if_constexpr_macro.hpp │ │ ├── weak_ptr.hpp │ │ ├── container │ │ │ └── detail │ │ │ │ └── config_end.hpp │ │ ├── type.hpp │ │ ├── scoped_ptr.hpp │ │ ├── intrusive_ptr.hpp │ │ ├── fusion │ │ │ ├── include │ │ │ │ ├── tuple.hpp │ │ │ │ └── std_pair.hpp │ │ │ └── support │ │ │ │ └── void.hpp │ │ ├── scoped_array.hpp │ │ ├── intrusive │ │ │ └── detail │ │ │ │ └── config_end.hpp │ │ ├── optional.hpp │ │ ├── interprocess │ │ │ └── detail │ │ │ │ └── config_external_end.hpp │ │ ├── range │ │ │ └── iterator_range.hpp │ │ ├── shared_ptr.hpp │ │ ├── enable_shared_from_this.hpp │ │ ├── archive │ │ │ └── detail │ │ │ │ └── abi_suffix.hpp │ │ ├── atomic │ │ │ └── detail │ │ │ │ └── footer.hpp │ │ └── iostreams │ │ │ ├── get.hpp │ │ │ └── put.hpp │ └── libs │ │ ├── atomic │ │ ├── src │ │ │ └── lock_pool_init1.ipp │ │ └── config │ │ │ └── Jamfile.v2 │ │ ├── filesystem │ │ └── config │ │ │ ├── is_windows_ce.cpp │ │ │ ├── has_stat_st_mtim.cpp │ │ │ ├── has_stat_st_mtimensec.cpp │ │ │ └── has_stat_st_mtimespec.cpp │ │ ├── test │ │ └── src │ │ │ ├── junit_log_formatter.cpp │ │ │ ├── test_main.cpp │ │ │ ├── test_framework_init_observer.cpp │ │ │ ├── decorator.cpp │ │ │ ├── cpp_main.cpp │ │ │ ├── framework.cpp │ │ │ ├── test_tools.cpp │ │ │ ├── test_tree.cpp │ │ │ ├── unit_test_log.cpp │ │ │ ├── progress_monitor.cpp │ │ │ ├── results_reporter.cpp │ │ │ └── unit_test_main.cpp │ │ ├── predef │ │ └── check │ │ │ └── predef.jam │ │ └── chrono │ │ └── src │ │ └── chrono.cpp ├── TLSF-2.4.6 │ ├── TODO │ ├── src │ │ ├── target.h │ │ └── Makefile │ └── examples │ │ └── test4.c ├── oscpack_build.cpp └── boost_sync │ ├── meta │ └── libraries.json │ └── include │ └── boost │ └── sync │ └── detail │ └── footer.hpp ├── SCClassLibrary ├── Common │ ├── GUI │ │ ├── PlusGUI │ │ │ ├── Files │ │ │ │ └── FilePlusGUI.sc │ │ │ ├── Core │ │ │ │ ├── ObjectPlusGUI.sc │ │ │ │ ├── NilPlusGUI.sc │ │ │ │ └── KernelPlusGUI.sc │ │ │ └── Control │ │ │ │ └── server-meter.sc │ │ ├── backwardsCompatibility │ │ │ ├── flowViewSupportQt.sc │ │ │ └── deprecated-3.7.sc │ │ └── Base │ │ │ ├── ext-asLayoutElement.sc │ │ │ └── Gradient.sc │ ├── Unix │ │ └── Unix.sc │ ├── Control │ │ ├── asNodeArg.sc │ │ ├── asGroup.sc │ │ ├── asTarget.sc │ │ ├── NodeControl.sc │ │ ├── asBus.sc │ │ └── asMIDIPort.sc │ ├── Audio │ │ ├── Pluck.sc │ │ ├── PitchShift.sc │ │ ├── iphone │ │ │ └── iPhoneUGens.sc │ │ ├── PSinGrain.sc │ │ └── SoundIn.sc │ ├── Collections │ │ └── windows │ │ │ └── extString_windows.sc │ ├── Streams │ │ ├── Penv.sc │ │ └── FuncStreamAsRoutine.sc │ ├── Core │ │ ├── Semaphore.sc │ │ └── Message.sc │ └── Geometry │ │ └── Size.sc ├── Platform │ ├── linux │ │ └── extMain.sc │ ├── iphone │ │ ├── extMain.sc │ │ └── SystemOverwrites │ │ │ └── extFile.sc │ ├── windows │ │ ├── extMain.sc │ │ └── extMIDIOut.sc │ └── osx │ │ ├── extMIDIOut.sc │ │ ├── extMain.sc │ │ └── ApplicationStart.sc ├── deprecated │ ├── 3.10 │ │ ├── File.sc │ │ ├── Main.sc │ │ ├── GUI │ │ │ ├── Plotter.sc │ │ │ └── File.sc │ │ └── AudioIn.sc │ └── 3.11 │ │ └── deprecated-3.11.sc ├── JITLib │ ├── ProxySpace │ │ └── TempoBusClock.sc │ └── Patterns │ │ └── extFunction.sc └── DefaultLibrary │ └── extNumber.sc ├── SCDoc ├── .gitignore ├── SCDocPrim.h ├── build_parser.sh └── CMakeLists.txt ├── platform ├── windows │ ├── Resources │ │ ├── scide.rc │ │ ├── sclang.rc │ │ ├── sc_cube.ico │ │ └── sc_ide.ico │ ├── PlugIns │ │ ├── SCPlugIn_Exports.def │ │ └── diskiotest.cpp │ ├── lib │ │ ├── libsndfile.dll │ │ └── libsndfile.lib │ └── server_bundle.cmake ├── disable_startup_files │ └── extPlatform.sc ├── mac │ ├── lib │ │ └── scUBlibsndfile.a │ └── Standalone Resources │ │ ├── SCcube.icns │ │ └── English.lproj │ │ ├── MainMenu.nib │ │ └── objects.nib │ │ └── Credits.rtf ├── linux │ ├── icons │ │ └── supercollider.png │ ├── CMakeLists.txt │ └── supercollider.xml ├── renderAllHelp.scd └── CMakeLists.txt ├── .travis ├── script-linux.sh ├── qpm-test.sh ├── lint.sh ├── package-osx.sh ├── test.sh ├── qpm-prep.sh ├── script-osx.sh └── before-script-osx.sh ├── package ├── .gitignore ├── ds_store ├── background.png └── contributor-list-generator │ ├── .gitignore │ └── README.md ├── wasm ├── .gitignore ├── build.sh ├── make.sh ├── configure.sh └── pre.js ├── testsuite ├── sclang │ ├── sclang_crash_2.scd │ ├── sclang_crash_deprecated.scd │ ├── lpc │ │ ├── .gitignore │ │ ├── test_data.zip │ │ └── test_script.scd │ ├── sclang_crash_1.scd │ ├── sclang_crash_3.scd │ └── CMakeLists.txt ├── CMakeLists.txt ├── server │ ├── boost_test.cpp │ ├── supernova │ │ ├── default.scsyndef │ │ ├── help-In.scsyndef │ │ ├── help_out.scsyndef │ │ ├── help_out2.scsyndef │ │ ├── help_Demand.scsyndef │ │ ├── help_LocalBuf.scsyndef │ │ ├── help_LocalIn.scsyndef │ │ ├── help_PlayBuf.scsyndef │ │ ├── help_InFeedback.scsyndef │ │ ├── help_RecordBuf.scsyndef │ │ ├── help_RecordBuf_overdub.scsyndef │ │ ├── sc_synthdef_test.cpp │ │ ├── buffer_manager_test.cpp │ │ ├── sc_synth_prototype_test.cpp │ │ └── server_sc_osc_handler_test.cpp │ ├── scsynth │ │ ├── scsynth_test.hpp │ │ └── scsynth_test.cpp │ └── CMakeLists.txt └── classlibrary │ ├── sonic-pi-beep.scsyndef │ ├── CommonTests.quark │ ├── TestEnvGate.sc │ ├── TestObject.sc │ ├── TestRecorder.sc │ ├── TestView.sc │ ├── TestCondition.sc │ ├── TestCollection.sc │ ├── TestProcessCreation.sc │ ├── TestDoesNotUnderstandError.sc │ ├── TestTaskProxy.sc │ └── TestTask.sc ├── icons ├── sc.icns ├── scd.icns ├── sc_ide.ico ├── SCcube.icns ├── sc_ide.icns ├── sc_ide_16.png ├── sc_ide_24.png ├── sc_ide_32.png ├── sc_ide_48.png ├── sc_ide_64.png ├── sc_ide_1024.png ├── sc_ide_128.png ├── sc_ide_256.png ├── sc_ide_512.png ├── sc_cube_16x16.png ├── sc_cube_32x32.png ├── sc_cube_48x48.png ├── sc_cube_128x128.png ├── sc_cube_256x256.png ├── sc_cube_512x512.png └── sc_cube_1024x1024.png ├── sounds ├── a11wlk01.wav ├── SinedPink.aiff └── a11wlk01-44_1.aiff ├── lang ├── LangPrimSource │ └── SC_AudioDevicePrim.hpp └── LangSource │ └── Bison │ └── make_parser.sh ├── editors ├── sc-ide │ ├── .kateconfig │ ├── core │ │ └── util │ │ │ └── scdoc_log.cpp │ ├── SuperColliderIDE.desktop │ └── primitives │ │ └── localsocket_utils.cpp └── sced │ ├── AUTHORS │ ├── data │ └── sced.gedit-plugin │ └── sced3 │ └── supercollider.plugin.in ├── server ├── supernova │ └── sc │ │ └── CMakeLists.txt └── scsynth │ └── iPhone │ ├── iscsynthmain.m │ └── iscsynthAppDelegate.h ├── CONTRIBUTING.md ├── QtCollider ├── QtCollider.h ├── style │ ├── style.cpp │ └── ProxyStyle.hpp ├── resources.qrc └── QcHelper.h ├── DEVELOPING.md ├── INSTALL ├── cmake_modules ├── launch-c.in ├── launch-cxx.in ├── FinalFile.cmake └── FindAvahi.cmake ├── examples ├── demonstrations │ ├── sc_oneliner.scd │ ├── babbling brook.scd │ ├── DemandingStudies.scd │ └── bit_reduction.scd └── pieces │ └── hommage_a_duerer.scd ├── .github ├── ISSUE_TEMPLATE │ └── feature_request.md └── PULL_REQUEST_TEMPLATE.md ├── README_IPHONE.md ├── .clang-format └── common └── SC_ServerBootDelayWarning.h /HelpSource/Classes/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HelpSource/Guides/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HelpSource/Other/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HelpSource/Overviews/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HelpSource/Reference/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HelpSource/Tutorials/.placeholder: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/guard/.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | -------------------------------------------------------------------------------- /external_libraries/libsndfile/VERSION.txt: -------------------------------------------------------------------------------- 1 | 1.0.20 2 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/PlusGUI/Files/FilePlusGUI.sc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SCDoc/.gitignore: -------------------------------------------------------------------------------- 1 | test.schelp 2 | scdoc_parse_dump 3 | 4 | -------------------------------------------------------------------------------- /platform/windows/Resources/scide.rc: -------------------------------------------------------------------------------- 1 | id ICON "sc_ide.ico" -------------------------------------------------------------------------------- /platform/windows/Resources/sclang.rc: -------------------------------------------------------------------------------- 1 | id ICON "sc_cube.ico" -------------------------------------------------------------------------------- /.travis/script-linux.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo make install -j2 4 | -------------------------------------------------------------------------------- /package/.gitignore: -------------------------------------------------------------------------------- 1 | LinuxExclusions.txt 2 | SuperCollider-*.tar.bz2 3 | -------------------------------------------------------------------------------- /wasm/.gitignore: -------------------------------------------------------------------------------- 1 | /scsynth.wasm 2 | /scsynth.js 3 | /scsynth.worker.js 4 | -------------------------------------------------------------------------------- /SCDoc/SCDocPrim.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void initSCDocPrimitives(void); 4 | -------------------------------------------------------------------------------- /testsuite/sclang/sclang_crash_2.scd: -------------------------------------------------------------------------------- 1 | { 1+1 }.def.instVarAt(1); 2 | 0.exit; 3 | -------------------------------------------------------------------------------- /tools/release/requirements.txt: -------------------------------------------------------------------------------- 1 | GitPython 2 | PyGithub 3 | semantic_version 4 | -------------------------------------------------------------------------------- /wasm/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ../wasm/configure.sh 3 | ../wasm/make.sh 4 | -------------------------------------------------------------------------------- /icons/sc.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc.icns -------------------------------------------------------------------------------- /icons/scd.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/scd.icns -------------------------------------------------------------------------------- /testsuite/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(server) 2 | add_subdirectory(sclang) 3 | -------------------------------------------------------------------------------- /icons/sc_ide.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide.ico -------------------------------------------------------------------------------- /package/ds_store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/package/ds_store -------------------------------------------------------------------------------- /icons/SCcube.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/SCcube.icns -------------------------------------------------------------------------------- /icons/sc_ide.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide.icns -------------------------------------------------------------------------------- /icons/sc_ide_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_16.png -------------------------------------------------------------------------------- /icons/sc_ide_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_24.png -------------------------------------------------------------------------------- /icons/sc_ide_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_32.png -------------------------------------------------------------------------------- /icons/sc_ide_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_48.png -------------------------------------------------------------------------------- /icons/sc_ide_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_64.png -------------------------------------------------------------------------------- /sounds/a11wlk01.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/sounds/a11wlk01.wav -------------------------------------------------------------------------------- /testsuite/sclang/sclang_crash_deprecated.scd: -------------------------------------------------------------------------------- 1 | b = { nil.deprecated}; 2 | b.(); 3 | 0.exit; 4 | -------------------------------------------------------------------------------- /SCClassLibrary/Platform/linux/extMain.sc: -------------------------------------------------------------------------------- 1 | + Main { 2 | platformClass { ^LinuxPlatform } 3 | } 4 | -------------------------------------------------------------------------------- /icons/sc_ide_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_1024.png -------------------------------------------------------------------------------- /icons/sc_ide_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_128.png -------------------------------------------------------------------------------- /icons/sc_ide_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_256.png -------------------------------------------------------------------------------- /icons/sc_ide_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_ide_512.png -------------------------------------------------------------------------------- /platform/disable_startup_files/extPlatform.sc: -------------------------------------------------------------------------------- 1 | + Platform { 2 | loadStartupFiles {^this} 3 | } 4 | -------------------------------------------------------------------------------- /sounds/SinedPink.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/sounds/SinedPink.aiff -------------------------------------------------------------------------------- /HelpSource/QC/Cells.qtz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/QC/Cells.qtz -------------------------------------------------------------------------------- /SCClassLibrary/Platform/iphone/extMain.sc: -------------------------------------------------------------------------------- 1 | + Main { 2 | platformClass { ^IPhonePlatform } 3 | } 4 | -------------------------------------------------------------------------------- /SCClassLibrary/Platform/windows/extMain.sc: -------------------------------------------------------------------------------- 1 | + Main { 2 | platformClass { ^WindowsPlatform } 3 | } 4 | -------------------------------------------------------------------------------- /icons/sc_cube_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_cube_16x16.png -------------------------------------------------------------------------------- /icons/sc_cube_32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_cube_32x32.png -------------------------------------------------------------------------------- /icons/sc_cube_48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_cube_48x48.png -------------------------------------------------------------------------------- /lang/LangPrimSource/SC_AudioDevicePrim.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void initAudioDevicePrimitives(); 4 | -------------------------------------------------------------------------------- /package/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/package/background.png -------------------------------------------------------------------------------- /package/contributor-list-generator/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | github-data 3 | 4 | npm-debug.log* 5 | -------------------------------------------------------------------------------- /tools/guard/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "guard-sclang" 4 | gem "libnotify" 5 | -------------------------------------------------------------------------------- /HelpSource/Guides/scEn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Guides/scEn.png -------------------------------------------------------------------------------- /HelpSource/images/node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/node.png -------------------------------------------------------------------------------- /icons/sc_cube_128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_cube_128x128.png -------------------------------------------------------------------------------- /icons/sc_cube_256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_cube_256x256.png -------------------------------------------------------------------------------- /icons/sc_cube_512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_cube_512x512.png -------------------------------------------------------------------------------- /sounds/a11wlk01-44_1.aiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/sounds/a11wlk01-44_1.aiff -------------------------------------------------------------------------------- /testsuite/sclang/lpc/.gitignore: -------------------------------------------------------------------------------- 1 | compiler/ 2 | lexer/ 3 | parser/ 4 | lexer_targeted/ 5 | test_output/ 6 | -------------------------------------------------------------------------------- /testsuite/server/boost_test.cpp: -------------------------------------------------------------------------------- 1 | #define BOOST_TEST_MAIN 2 | #include 3 | -------------------------------------------------------------------------------- /HelpSource/Guides/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Guides/server.png -------------------------------------------------------------------------------- /HelpSource/QC/Stupid Pan.qtz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/QC/Stupid Pan.qtz -------------------------------------------------------------------------------- /HelpSource/images/SC_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/SC_icon.png -------------------------------------------------------------------------------- /HelpSource/images/Swamp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/Swamp.png -------------------------------------------------------------------------------- /HelpSource/images/plugin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/plugin.png -------------------------------------------------------------------------------- /HelpSource/images/vduck2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/vduck2.jpg -------------------------------------------------------------------------------- /HelpSource/images/vline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/vline.png -------------------------------------------------------------------------------- /editors/sc-ide/.kateconfig: -------------------------------------------------------------------------------- 1 | kate: space-indent on; tab-width 4; indent-width 4; replace-tabs on; eol unix; 2 | -------------------------------------------------------------------------------- /icons/sc_cube_1024x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/icons/sc_cube_1024x1024.png -------------------------------------------------------------------------------- /platform/windows/PlugIns/SCPlugIn_Exports.def: -------------------------------------------------------------------------------- 1 | LIBRARY UNARYOPUGENS.SCX 2 | EXPORTS 3 | _loaxxd@1 = load 4 | -------------------------------------------------------------------------------- /server/supernova/sc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(supernova 1) 2 | add_subdirectory(supercollider/common/Source/plugins) 3 | -------------------------------------------------------------------------------- /HelpSource/QC/SCLevelMeter.qtz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/QC/SCLevelMeter.qtz -------------------------------------------------------------------------------- /HelpSource/images/flowers2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/flowers2.jpg -------------------------------------------------------------------------------- /HelpSource/images/lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/lastnode.png -------------------------------------------------------------------------------- /SCClassLibrary/Common/Unix/Unix.sc: -------------------------------------------------------------------------------- 1 | Unix { 2 | *errno { 3 | _Unix_Errno 4 | ^this.primitiveFailed 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /HelpSource/Guides/structureEn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Guides/structureEn.png -------------------------------------------------------------------------------- /HelpSource/Other/ccbysa3_88x31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Other/ccbysa3_88x31.png -------------------------------------------------------------------------------- /HelpSource/Reference/functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Reference/functions.png -------------------------------------------------------------------------------- /HelpSource/images/duck_alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/duck_alpha.png -------------------------------------------------------------------------------- /lang/LangSource/Bison/make_parser.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | bison --defines=lang11d_tab.h --output=lang11d_tab.cpp lang11d 3 | 4 | -------------------------------------------------------------------------------- /platform/mac/lib/scUBlibsndfile.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/platform/mac/lib/scUBlibsndfile.a -------------------------------------------------------------------------------- /testsuite/sclang/lpc/test_data.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/sclang/lpc/test_data.zip -------------------------------------------------------------------------------- /wasm/make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | make scsynth 3 | cp server/scsynth/*.js ../wasm/ 4 | cp server/scsynth/*.wasm ../wasm/ 5 | -------------------------------------------------------------------------------- /HelpSource/QC/SCQCSonogramCount2.qtz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/QC/SCQCSonogramCount2.qtz -------------------------------------------------------------------------------- /SCClassLibrary/Common/Control/asNodeArg.sc: -------------------------------------------------------------------------------- 1 | + Object { 2 | asNodeArg {^this.asUGenInput} // replaced by asUGenInput 3 | } 4 | -------------------------------------------------------------------------------- /platform/windows/lib/libsndfile.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/platform/windows/lib/libsndfile.dll -------------------------------------------------------------------------------- /platform/windows/lib/libsndfile.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/platform/windows/lib/libsndfile.lib -------------------------------------------------------------------------------- /HelpSource/Guides/sc_ide_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Guides/sc_ide_overview.png -------------------------------------------------------------------------------- /SCClassLibrary/deprecated/3.10/File.sc: -------------------------------------------------------------------------------- 1 | + File { 2 | *openDialogs { 3 | this.deprecated(thisMethod); 4 | ^nil; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /platform/linux/icons/supercollider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/platform/linux/icons/supercollider.png -------------------------------------------------------------------------------- /platform/windows/Resources/sc_cube.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/platform/windows/Resources/sc_cube.ico -------------------------------------------------------------------------------- /platform/windows/Resources/sc_ide.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/platform/windows/Resources/sc_ide.ico -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | The Contributing Guide has been moved to the SuperCollider wiki: https://github.com/supercollider/supercollider/wiki 2 | -------------------------------------------------------------------------------- /HelpSource/Classes/AbstractIn.schelp: -------------------------------------------------------------------------------- 1 | class:: AbstractIn 2 | summary:: Abstract class for in ugens 3 | categories:: UGens>InOut 4 | 5 | -------------------------------------------------------------------------------- /HelpSource/Classes/Event-default-note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Classes/Event-default-note.png -------------------------------------------------------------------------------- /HelpSource/images/icon.supercollider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/images/icon.supercollider.png -------------------------------------------------------------------------------- /external_libraries/oscpack_1_1_0/CHANGES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/external_libraries/oscpack_1_1_0/CHANGES -------------------------------------------------------------------------------- /.travis/qpm-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | qpm test.run -l $TRAVIS_BUILD_DIR/BUILD/travis_test_run.json --path $SCLANG --include $HOME/Quarks 4 | -------------------------------------------------------------------------------- /HelpSource/Classes/IdentityDictionary_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Classes/IdentityDictionary_01.png -------------------------------------------------------------------------------- /HelpSource/Classes/IdentityDictionary_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Classes/IdentityDictionary_02.png -------------------------------------------------------------------------------- /HelpSource/Classes/IdentityDictionary_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Classes/IdentityDictionary_03.png -------------------------------------------------------------------------------- /HelpSource/Classes/IdentityDictionary_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Classes/IdentityDictionary_04.png -------------------------------------------------------------------------------- /HelpSource/Classes/chebyshevpolynomials.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Classes/chebyshevpolynomials.png -------------------------------------------------------------------------------- /HelpSource/Guides/s8kfFC-clientServerEn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Guides/s8kfFC-clientServerEn.png -------------------------------------------------------------------------------- /HelpSource/Guides/sc_ide_overview_scaled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Guides/sc_ide_overview_scaled.png -------------------------------------------------------------------------------- /HelpSource/QC/SCQuartzComposerViewTest.qtz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/QC/SCQuartzComposerViewTest.qtz -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/PlusGUI/Core/ObjectPlusGUI.sc: -------------------------------------------------------------------------------- 1 | + Object { 2 | mouseDown { ^nil } 3 | mouseOver { ^nil } 4 | keyDown { } 5 | } 6 | -------------------------------------------------------------------------------- /testsuite/server/supernova/default.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/default.scsyndef -------------------------------------------------------------------------------- /testsuite/server/supernova/help-In.scsyndef: -------------------------------------------------------------------------------- 1 | SCgfhelp-InoutinControlInOut -------------------------------------------------------------------------------- /testsuite/server/supernova/help_out.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_out.scsyndef -------------------------------------------------------------------------------- /platform/mac/Standalone Resources/SCcube.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/platform/mac/Standalone Resources/SCcube.icns -------------------------------------------------------------------------------- /testsuite/classlibrary/sonic-pi-beep.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/classlibrary/sonic-pi-beep.scsyndef -------------------------------------------------------------------------------- /testsuite/server/supernova/help_out2.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_out2.scsyndef -------------------------------------------------------------------------------- /testsuite/sclang/sclang_crash_1.scd: -------------------------------------------------------------------------------- 1 | x = { 1+1 }.def; 2 | x.instVarSize.do { |i| 3 | i.debug("index"); 4 | x.instVarAt(i).postln 5 | }; 6 | 0.exit; 7 | -------------------------------------------------------------------------------- /testsuite/server/supernova/help_Demand.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_Demand.scsyndef -------------------------------------------------------------------------------- /testsuite/server/supernova/help_LocalBuf.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_LocalBuf.scsyndef -------------------------------------------------------------------------------- /testsuite/server/supernova/help_LocalIn.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_LocalIn.scsyndef -------------------------------------------------------------------------------- /testsuite/server/supernova/help_PlayBuf.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_PlayBuf.scsyndef -------------------------------------------------------------------------------- /HelpSource/Classes/False.schelp: -------------------------------------------------------------------------------- 1 | class::False 2 | categories::Core 3 | summary::false logical value 4 | 5 | description:: 6 | see link::Classes/Boolean:: 7 | -------------------------------------------------------------------------------- /HelpSource/Classes/True.schelp: -------------------------------------------------------------------------------- 1 | class::True 2 | categories::Core 3 | summary::true logical value 4 | 5 | description:: 6 | see link::Classes/Boolean:: 7 | -------------------------------------------------------------------------------- /HelpSource/QC/SCQuartzComposerViewStructureTest.qtz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/QC/SCQuartzComposerViewStructureTest.qtz -------------------------------------------------------------------------------- /editors/sced/AUTHORS: -------------------------------------------------------------------------------- 1 | Артём Попов 2 | Eckard Riedenklau 3 | Marije Baalman -------------------------------------------------------------------------------- /testsuite/server/supernova/help_InFeedback.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_InFeedback.scsyndef -------------------------------------------------------------------------------- /testsuite/server/supernova/help_RecordBuf.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_RecordBuf.scsyndef -------------------------------------------------------------------------------- /QtCollider/QtCollider.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace QtCollider { 4 | void initPrimitives(); 5 | void init(); 6 | int exec(int argc, char** argv); 7 | } 8 | -------------------------------------------------------------------------------- /testsuite/server/supernova/help_RecordBuf_overdub.scsyndef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/testsuite/server/supernova/help_RecordBuf_overdub.scsyndef -------------------------------------------------------------------------------- /DEVELOPING.md: -------------------------------------------------------------------------------- 1 | The contents of this page have been moved to separate pages in the SuperCollider wiki: https://github.com/supercollider/supercollider/wiki#developer-reference. 2 | -------------------------------------------------------------------------------- /HelpSource/Tutorials/Getting-Started/Start-Your-Engines00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Tutorials/Getting-Started/Start-Your-Engines00.png -------------------------------------------------------------------------------- /HelpSource/Tutorials/Getting-Started/Start-Your-Engines01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Tutorials/Getting-Started/Start-Your-Engines01.png -------------------------------------------------------------------------------- /external_libraries/portmidi/pm_win/pmwinmm.h: -------------------------------------------------------------------------------- 1 | /* midiwin32.h -- system-specific definitions */ 2 | 3 | void pm_winmm_init( void ); 4 | void pm_winmm_term( void ); 5 | 6 | -------------------------------------------------------------------------------- /HelpSource/Tutorials/Getting-Started/Functions-and-Sound-00.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Tutorials/Getting-Started/Functions-and-Sound-00.png -------------------------------------------------------------------------------- /HelpSource/Tutorials/Getting-Started/Functions-and-Sound-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Tutorials/Getting-Started/Functions-and-Sound-01.png -------------------------------------------------------------------------------- /HelpSource/Tutorials/Getting-Started/Functions-and-Sound-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Tutorials/Getting-Started/Functions-and-Sound-02.png -------------------------------------------------------------------------------- /HelpSource/Tutorials/Getting-Started/Functions-and-Sound-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Tutorials/Getting-Started/Functions-and-Sound-03.png -------------------------------------------------------------------------------- /HelpSource/Tutorials/Getting-Started/Functions-and-Sound-04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Tutorials/Getting-Started/Functions-and-Sound-04.png -------------------------------------------------------------------------------- /HelpSource/Tutorials/Getting-Started/Scoping-and-Plotting01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/HelpSource/Tutorials/Getting-Started/Scoping-and-Plotting01.png -------------------------------------------------------------------------------- /platform/renderAllHelp.scd: -------------------------------------------------------------------------------- 1 | SCDoc.helpSourceDir = thisProcess.argv[0]; 2 | SCDoc.helpTargetDir = thisProcess.argv[1]; 3 | SCDoc.renderAll(includeExtensions: false); 4 | 0.exit; 5 | -------------------------------------------------------------------------------- /platform/windows/server_bundle.cmake: -------------------------------------------------------------------------------- 1 | include(BundleUtilities) 2 | fixup_bundle( 3 | "${SC_WIN_SERVER_INSTALL_PREFIX}/scsynth.exe" 4 | "" 5 | "${SC_WIN_DLL_DIRS}" 6 | ) 7 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/PlusGUI/Core/NilPlusGUI.sc: -------------------------------------------------------------------------------- 1 | + Nil { 2 | // nil parent view 3 | asView {} 4 | 5 | // graphical support 6 | asRect { ^Rect.new } 7 | asArray { ^[] } 8 | } 9 | -------------------------------------------------------------------------------- /editors/sc-ide/core/util/scdoc_log.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void error(const char* fmt, ...) { qWarning() << fmt; } 4 | 5 | void post(const char* fmt, ...) { qDebug() << fmt; } 6 | -------------------------------------------------------------------------------- /external_libraries/portmidi/porttime/porttime.c: -------------------------------------------------------------------------------- 1 | /* porttime.c -- portable API for millisecond timer */ 2 | 3 | /* There is no machine-independent implementation code to put here */ 4 | -------------------------------------------------------------------------------- /HelpSource/Overviews/ClassTree.schelp: -------------------------------------------------------------------------------- 1 | title:: Class Tree 2 | related:: Overviews/Classes 3 | summary:: The whole class inheritance tree 4 | categories:: Language>OOP 5 | 6 | classtree::Object 7 | 8 | -------------------------------------------------------------------------------- /platform/mac/Standalone Resources/English.lproj/MainMenu.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sciss/supercollider/HEAD/platform/mac/Standalone Resources/English.lproj/MainMenu.nib/objects.nib -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- 1 | See the platform specific build and install instructions in: 2 | 3 | README_IPHONE.md 4 | README_JAILBROKEN_IPHONE.md 5 | README_LINUX.md 6 | README_MACOS.md 7 | README_WINDOWS.md 8 | README.md 9 | -------------------------------------------------------------------------------- /HelpSource/Classes/InfoUGenBase.schelp: -------------------------------------------------------------------------------- 1 | class:: InfoUGenBase 2 | summary:: Base class for info ugens 3 | categories:: UGens>Base 4 | 5 | description:: 6 | This is the superclass for the various info ugens. 7 | 8 | -------------------------------------------------------------------------------- /.travis/lint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | shopt -s globstar 5 | 6 | dir="$1" 7 | config="$dir"/.editorconfig 8 | 9 | # class library 10 | lintspaces -e "$config" "$dir"/SCClassLibrary/**/*.sc 11 | -------------------------------------------------------------------------------- /SCClassLibrary/deprecated/3.10/Main.sc: -------------------------------------------------------------------------------- 1 | + Main { 2 | *scVersionPostfix { 3 | this.deprecated(thisMethod, this.class.findMethod(\scVersionPatch)); 4 | ^"." ++ this.scVersionPatch ++ this.scVersionTweak; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /cmake_modules/launch-c.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # thanks to Craig Scott: https://crascit.com/2016/04/09/using-ccache-with-cmake/ 4 | export CCACHE_CPP2=true 5 | exec "${RULE_LAUNCH_COMPILE}" "${CMAKE_CXX_COMPILER}" "$@" 6 | -------------------------------------------------------------------------------- /cmake_modules/launch-cxx.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Thanks to Craig Scott: https://crascit.com/2016/04/09/using-ccache-with-cmake/ 3 | 4 | export CCACHE_CPP2=true 5 | exec "${RULE_LAUNCH_COMPILE}" "${CMAKE_CXX_COMPILER}" "$@" 6 | -------------------------------------------------------------------------------- /testsuite/sclang/sclang_crash_3.scd: -------------------------------------------------------------------------------- 1 | ~f = {|i| 2 | if (i == 0) { 3 | Exception("test").throw 4 | } { 5 | ~f.(i-1) 6 | }; 7 | }; 8 | 9 | try { 10 | ~f.(100000) 11 | } { 12 | 13 | }; 14 | 15 | 0.exit; 16 | -------------------------------------------------------------------------------- /testsuite/server/scsynth/scsynth_test.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #include "SC_WorldOptions.h" 7 | #include "SC_World.h" 8 | #include "SC_Prototypes.h" 9 | -------------------------------------------------------------------------------- /SCDoc/build_parser.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | flex -P scdoc -o lex.scdoc.cpp SCDoc.l && 3 | bison -p scdoc --defines -o SCDoc.tab.cpp SCDoc.y 4 | #g++ -g -O3 -o scdoc_parse_dump lex.scdoc.cpp SCDoc.tab.cpp SCDoc.cpp main.cpp -ll 5 | 6 | -------------------------------------------------------------------------------- /HelpSource/Classes/BufInfoUGenBase.schelp: -------------------------------------------------------------------------------- 1 | class:: BufInfoUGenBase 2 | categories:: UGens>Base 3 | summary:: Base class for buffer info ugens 4 | 5 | description:: 6 | This is the superclass for the various buffer info ugens. 7 | 8 | -------------------------------------------------------------------------------- /platform/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(WIN32) 2 | add_subdirectory(windows) 3 | endif() 4 | 5 | # NB bsd currently OK to ride on linux for this subdir. eventually may need separating. 6 | if(UNIX AND NOT APPLE) 7 | add_subdirectory(linux) 8 | endif() 9 | -------------------------------------------------------------------------------- /HelpSource/Classes/EmacsDocument.schelp: -------------------------------------------------------------------------------- 1 | TITLE:: EmacsDocument 2 | summary:: Document subclass for Emacs editor 3 | categories:: IDE 4 | related:: Classes/Document 5 | 6 | DESCRIPTION:: 7 | Is this already implemented? 8 | Please fill in details... 9 | -------------------------------------------------------------------------------- /HelpSource/Classes/ScelDocument.schelp: -------------------------------------------------------------------------------- 1 | TITLE:: ScelDocument 2 | summary:: Document subclass for scel editor 3 | categories:: IDE 4 | related:: Classes/Document 5 | 6 | DESCRIPTION:: 7 | Is this already implemented? 8 | Please fill in details... 9 | -------------------------------------------------------------------------------- /testsuite/server/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(boost_test STATIC boost_test.cpp) 2 | target_include_directories(boost_test PUBLIC ${boost_include_dirs}) 3 | 4 | add_subdirectory(scsynth) 5 | if (SUPERNOVA) 6 | add_subdirectory(supernova) 7 | endif() 8 | 9 | -------------------------------------------------------------------------------- /.travis/package-osx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | mkdir -p $HOME/artifacts 4 | 5 | cd $TRAVIS_BUILD_DIR/BUILD/Install 6 | zip -q -r --symlinks $HOME/artifacts/$S3_ARTIFACT_NAME.zip SuperCollider 7 | cp $HOME/artifacts/$S3_ARTIFACT_NAME.zip $HOME/$GITHUB_ARTIFACT_NAME.zip 8 | -------------------------------------------------------------------------------- /testsuite/classlibrary/CommonTests.quark: -------------------------------------------------------------------------------- 1 | ( 2 | \name: "CommonTests", 3 | \path: "CommonTests", // path relative to the root Quarks folder 4 | \summary: "UnitTests for the Common library", 5 | \dependencies: ["UnitTesting"], 6 | \author: "felix, dan s, jrhb" 7 | ) 8 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestEnvGate.sc: -------------------------------------------------------------------------------- 1 | 2 | TestEnvGate : UnitTest { 3 | 4 | test_number_as_fadeTime { 5 | this.assertNoException({ 6 | { EnvGate(fadeTime:1) }.asSynthDef 7 | }, "number should be a valid EnvGate fadeTime") 8 | } 9 | 10 | } 11 | 12 | -------------------------------------------------------------------------------- /wasm/configure.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | emcmake cmake -DSC_EL=no -DSUPERNOVA=no -DSC_HIDAPI=no -DNO_LIBSNDFILE=yes -DSC_QT=no -DNO_AVAHI=yes -DSC_ABLETON_LINK=no -DCMAKE_BUILD_TYPE="Release" -Wno-dev -DPTHREADS_LIBRARY=ignore -DSSE=no -DSSE2=no -DNO_X11=yes --target scsynth .. 3 | -------------------------------------------------------------------------------- /testsuite/server/scsynth/scsynth_test.cpp: -------------------------------------------------------------------------------- 1 | #include "scsynth_test.hpp" 2 | 3 | BOOST_AUTO_TEST_CASE(create_and_destroy_world) { 4 | WorldOptions options; 5 | options.mRealTime = false; 6 | World* world = World_New(&options); 7 | World_Cleanup(world, true); 8 | } 9 | -------------------------------------------------------------------------------- /HelpSource/Classes/MaxLocalBufs.schelp: -------------------------------------------------------------------------------- 1 | class:: MaxLocalBufs 2 | summary:: Set the maximum number of local buffers in a synth 3 | categories:: UGens>InOut 4 | 5 | description:: 6 | This class is used internally by LocalBuf, sets the maximum number of local buffers in a synth. 7 | 8 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/PlusGUI/Control/server-meter.sc: -------------------------------------------------------------------------------- 1 | + Server { 2 | meter { |numIns, numOuts| 3 | ^if( GUI.id == \swing and: { \JSCPeakMeter.asClass.notNil }, { 4 | \JSCPeakMeter.asClass.meterServer( this ); 5 | }, { ServerMeter(this, numIns, numOuts) }); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/PlusGUI/Core/KernelPlusGUI.sc: -------------------------------------------------------------------------------- 1 | + Process{ 2 | //this called when the menu item file-new or file-open is called 3 | addDocument { 4 | Document.prGetLast; 5 | } 6 | } 7 | 8 | + Class { 9 | browse { 10 | ^ClassBrowser.new(this) 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /HelpSource/Classes/RawPointer.schelp: -------------------------------------------------------------------------------- 1 | class::RawPointer 2 | categories::Core>Kernel 3 | summary:: Hold raw pointers from the host environment 4 | 5 | description:: 6 | 7 | A class used to hold raw pointers from the host environment. 8 | No instance variables, no methods. 9 | 10 | -------------------------------------------------------------------------------- /platform/windows/PlugIns/diskiotest.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | struct InterfaceTable; 3 | 4 | extern "C" { 5 | 6 | void load(InterfaceTable* inTable) { 7 | ::MessageBox(NULL, "void load(InterfaceTable *inTable)", "void load(InterfaceTable *inTable)", MB_OK); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Audio/Pluck.sc: -------------------------------------------------------------------------------- 1 | Pluck : UGen { 2 | 3 | *ar { arg in = 0.0, trig = 1.0, maxdelaytime = 0.2, delaytime = 0.2, decaytime = 1.0, 4 | coef = 0.5, mul = 1.0, add = 0.0; 5 | ^this.multiNew('audio', in, trig, maxdelaytime, delaytime, decaytime, coef).madd(mul, add)} 6 | } 7 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestObject.sc: -------------------------------------------------------------------------------- 1 | TestObject : UnitTest { 2 | 3 | // not testing Object().writeDefFile("") because it behaves differently 4 | test_writeDefFile_emptyName { 5 | this.assertException({ nil.writeDefFile("") }, Error, "nil.writeDefFile(\"\") should fail"); 6 | } 7 | 8 | } 9 | -------------------------------------------------------------------------------- /HelpSource/Classes/ProxyNodeMap.schelp: -------------------------------------------------------------------------------- 1 | class:: ProxyNodeMap 2 | summary:: store control values and bus mappings for NodeProxy 3 | categories:: JITLib>NodeProxy 4 | related:: Classes/Bus 5 | 6 | description:: 7 | Object to store control values and bus mappings independantly of a specific NodeProxy. 8 | 9 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/functional/hash.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright 2005-2009 Daniel James. 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | -------------------------------------------------------------------------------- /package/contributor-list-generator/README.md: -------------------------------------------------------------------------------- 1 | Tools for generating a list of contributors. 2 | 3 | # Before running anything: 4 | npm install 5 | 6 | # Remove any existing github-data/ directory. 7 | trash github-data/ 8 | 9 | ./fetch-data.sh 10 | node contributors.js 11 | -------------------------------------------------------------------------------- /testsuite/sclang/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB tests *.scd) 2 | 3 | foreach(test ${tests}) 4 | get_filename_component(test_name ${test} NAME_WE) 5 | set(test_target ${test_name}_run) 6 | add_test(NAME ${test_target} COMMAND sclang -l ${CMAKE_BINARY_DIR}/build_sclang.cfg ${test}) 7 | endforeach() 8 | -------------------------------------------------------------------------------- /QtCollider/style/style.cpp: -------------------------------------------------------------------------------- 1 | #include "style.hpp" 2 | #include "routines.hpp" 3 | 4 | using namespace QtCollider::Style; 5 | 6 | 7 | void StyleImpl::polish(QPalette& p) { 8 | _colors[Focus] = p.color(QPalette::Highlight); 9 | _colors[Groove] = p.color(QPalette::Window).darker(120); 10 | } 11 | -------------------------------------------------------------------------------- /SCClassLibrary/Platform/osx/extMIDIOut.sc: -------------------------------------------------------------------------------- 1 | + MIDIOut { 2 | // these are required on linux but not osx 3 | // so we have stubs to prevent errors running linux code on osx 4 | connect {} 5 | disconnect {} 6 | *connect {} 7 | *disconnect {} 8 | *connectByUID {} 9 | *disconnectByUID {} 10 | } 11 | -------------------------------------------------------------------------------- /HelpSource/Classes/ListPattern.schelp: -------------------------------------------------------------------------------- 1 | class:: ListPattern 2 | summary:: abstract class that holds a list 3 | related:: Classes/FilterPattern 4 | categories:: Streams-Patterns-Events>Patterns>List 5 | 6 | Examples:: 7 | 8 | code:: 9 | // post subclasses: 10 | 11 | ListPattern.dumpClassSubtree; 12 | :: 13 | -------------------------------------------------------------------------------- /HelpSource/Classes/TaskProxyGui.schelp: -------------------------------------------------------------------------------- 1 | class:: TaskProxyGui 2 | summary:: a superclass for Guis for PatternProxies 3 | categories:: JITLib>GUI, Live Coding 4 | related:: Classes/TdefGui, Classes/PdefGui 5 | 6 | description:: 7 | 8 | Please see link::Classes/TdefGui:: and link::Classes/PdefGui:: for examples! 9 | -------------------------------------------------------------------------------- /cmake_modules/FinalFile.cmake: -------------------------------------------------------------------------------- 1 | MACRO(CREATE_FINAL_FILE _filename) 2 | FILE(WRITE ${_filename} "//autogenerated file\n") 3 | FOREACH (_current_FILE ${ARGN}) 4 | FILE(APPEND ${_filename} "#include \"${_current_FILE}\"\n") 5 | ENDFOREACH (_current_FILE) 6 | ENDMACRO(CREATE_FINAL_FILE _filename) 7 | 8 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/functional/hash_fwd.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright 2005-2009 Daniel James. 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #include 7 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/concept/detail/concept_undef.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2006. Distributed under the Boost 2 | // Software License, Version 1.0. (See accompanying 3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 | # undef BOOST_concept_typename 5 | # undef BOOST_concept 6 | -------------------------------------------------------------------------------- /HelpSource/Classes/Silent.schelp: -------------------------------------------------------------------------------- 1 | class:: Silent 2 | summary:: Output silence. 3 | categories:: UGens>Generators>Single-value 4 | 5 | 6 | Description:: 7 | 8 | Output silence. 9 | 10 | 11 | classmethods:: 12 | 13 | method::ar 14 | 15 | argument::numChannels 16 | 17 | Number of channels to output. 18 | 19 | -------------------------------------------------------------------------------- /SCClassLibrary/Platform/windows/extMIDIOut.sc: -------------------------------------------------------------------------------- 1 | + MIDIOut { 2 | // these are required on linux but not windows 3 | // so we have stubs to prevent errors running linux code on windows 4 | connect {} 5 | disconnect {} 6 | *connect {} 7 | *disconnect {} 8 | *connectByUID {} 9 | *disconnectByUID {} 10 | } 11 | -------------------------------------------------------------------------------- /HelpSource/Classes/AbstractOut.schelp: -------------------------------------------------------------------------------- 1 | class:: AbstractOut 2 | summary:: Abstract class for out ugens 3 | categories:: UGens>InOut 4 | 5 | classmethods:: 6 | private:: categories 7 | 8 | instancemethods:: 9 | method:: numOutputs 10 | returns:: 11 | number of output buses (default: 0, overridden in subclasses) 12 | 13 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/backwardsCompatibility/flowViewSupportQt.sc: -------------------------------------------------------------------------------- 1 | 2 | 3 | + Window { 4 | 5 | asPageLayout { arg title, bounds; 6 | ^PageLayout.on(this, bounds) 7 | } 8 | } 9 | 10 | 11 | + View { 12 | 13 | asPageLayout { arg title, bounds; 14 | ^FlowView(this, bounds ?? {this.bounds}) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Collections/windows/extString_windows.sc: -------------------------------------------------------------------------------- 1 | + String { 2 | runInTerminal { 3 | format("start \"SuperCollider runInTerminal\" cmd.exe /k %", this.quote).unixCmd; 4 | } 5 | 6 | openOS {|aPath| 7 | // start "title" "command" 8 | ("start" + "\"SuperCollider\"" + this.quote).systemCmd 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /platform/linux/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | install(FILES icons/supercollider.png icons/supercollider.xpm 2 | DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps ) 3 | 4 | install(FILES ../../icons/sc_ide.svg 5 | DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps ) 6 | 7 | install(FILES supercollider.xml 8 | DESTINATION share/mime/packages ) 9 | -------------------------------------------------------------------------------- /HelpSource/Classes/FilterPattern.schelp: -------------------------------------------------------------------------------- 1 | class:: FilterPattern 2 | summary:: abstract class that holds a pattern to be modified 3 | related:: Classes/ListPattern 4 | categories:: Streams-Patterns-Events>Patterns>Filter 5 | 6 | Examples:: 7 | 8 | code:: 9 | // post subclasses: 10 | 11 | FilterPattern.dumpClassSubtree; 12 | :: 13 | -------------------------------------------------------------------------------- /HelpSource/Classes/LinkedListNode.schelp: -------------------------------------------------------------------------------- 1 | CLASS::LinkedListNode 2 | summary:: Internally used class for LinkedList nodes 3 | categories:: Collections 4 | 5 | DESCRIPTION:: 6 | LinkedListNode is used to implement the internal nodes of the link::Classes/LinkedList:: class. 7 | You should not need to deal with a LinkedListNode directly. 8 | -------------------------------------------------------------------------------- /examples/demonstrations/sc_oneliner.scd: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | This one-line example by Lance Putnam is an example of SuperCollider's expressive power. It modulates the pitch of a single sine-wave oscillator. 4 | */ 5 | 6 | {SinOsc.ar(OnePole.ar(Mix(LFSaw.ar([1,0.99],[0,0.6], 7 | 2000,2000).trunc([400,600])*[1,-1]),0.98)).dup*0.1}.play 8 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/config/abi/msvc_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #pragma pack(pop) 7 | 8 | 9 | -------------------------------------------------------------------------------- /SCClassLibrary/deprecated/3.10/GUI/Plotter.sc: -------------------------------------------------------------------------------- 1 | + Plotter { 2 | plotColors { 3 | this.deprecated(thisMethod, this.class.findMethod(\plotColor)); 4 | ^this.plotColor; 5 | } 6 | 7 | plotColors_ { |argColors| 8 | this.deprecated(thisMethod, this.class.findMethod(\plotColor_)); 9 | ^this.plotColor_(argColors); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /.travis/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ $TRAVIS_OS_NAME == linux ]]; then 4 | export SCLANG=$TRAVIS_BUILD_DIR/BUILD/Install/bin/sclang 5 | else 6 | export SCLANG=$TRAVIS_BUILD_DIR/BUILD/Install/SuperCollider/SuperCollider.app/Contents/MacOS/sclang 7 | fi 8 | 9 | if [[ $QT == true ]]; then $TRAVIS_BUILD_DIR/.travis/qpm-test.sh; fi 10 | -------------------------------------------------------------------------------- /editors/sced/data/sced.gedit-plugin: -------------------------------------------------------------------------------- 1 | [Gedit Plugin] 2 | Loader=python 3 | Module=sced 4 | IAge=2 5 | Name=Sced 6 | Description=Interact with the SuperCollider interpreter from gedit. 7 | Authors=Артём Попов ;Eckard Riedenklau 8 | Copyright=Copyright © 2006-2008 Артём Попов 9 | -------------------------------------------------------------------------------- /tools/cmake_gen/CMakeLists_footer.template: -------------------------------------------------------------------------------- 1 | 2 | #################################################################################################### 3 | # END PLUGIN TARGET DEFINITION 4 | #################################################################################################### 5 | 6 | message(STATUS "Generating plugin targets done") 7 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestRecorder.sc: -------------------------------------------------------------------------------- 1 | TestRecorder : UnitTest { 2 | 3 | test_recorder_makePath_extension { 4 | var ext, server = Server(); 5 | server.options.recHeaderFormat = "aiff"; 6 | server.recorder.recHeaderFormat = "wav"; 7 | ext = server.recorder.makePath.splitext[1]; 8 | this.assertEquals("wav", ext) 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestView.sc: -------------------------------------------------------------------------------- 1 | TestView : UnitTest { 2 | test_View_settingFontUpdatesVariable { 3 | var view = View(nil, Rect(100, 100, 100, 100)); 4 | var font = Font.default.pixelSize_(48); 5 | view.font = font; 6 | this.assertEquals(view.font, font, "aView.font should answer with the last set font"); 7 | view.close; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /testsuite/server/supernova/sc_synthdef_test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "sc/sc_synthdef.hpp" 5 | 6 | BOOST_AUTO_TEST_CASE(sc_synthdef_test) { 7 | std::vector defs = nova::read_synthdef_file("testsuite/default.scsyndef"); 8 | 9 | std::cout << defs[0].dump(); 10 | } 11 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/backwardsCompatibility/deprecated-3.7.sc: -------------------------------------------------------------------------------- 1 | + Dialog { 2 | *getPaths { arg okFunc, cancelFunc, allowsMultiple=true; 3 | var fileMode; 4 | this.deprecated(thisMethod, this.class.findMethod(\openPanel)); 5 | if( allowsMultiple ) { fileMode = 3 } { fileMode = 1 }; 6 | ^QFileDialog.new( okFunc, cancelFunc, fileMode, 0 ); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /editors/sc-ide/SuperColliderIDE.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=SuperCollider IDE 3 | GenericName=SuperCollider IDE 4 | Comment=IDE for the SuperCollider audio synthesis language 5 | Exec=scide %F 6 | Icon=sc_ide 7 | Type=Application 8 | Terminal=false 9 | Categories=AudioVideo;Audio;Development;IDE; 10 | MimeType=text/x-sc; 11 | StartupWMClass=scide 12 | -------------------------------------------------------------------------------- /HelpSource/Classes/A2K.schelp: -------------------------------------------------------------------------------- 1 | class:: A2K 2 | summary:: Audio to control rate converter. 3 | related:: Classes/K2A 4 | categories:: UGens>Conversion 5 | 6 | 7 | Description:: 8 | 9 | Audio to control rate converter. Only needed in specific cases. 10 | 11 | 12 | classmethods:: 13 | 14 | method::kr 15 | 16 | argument::in 17 | The input signal. 18 | 19 | -------------------------------------------------------------------------------- /HelpSource/Classes/RawArray.schelp: -------------------------------------------------------------------------------- 1 | CLASS::RawArray 2 | categories::Collections>Ordered 3 | summary:: Abstract superclass for arrays holding raw data values 4 | 5 | DESCRIPTION:: 6 | RawArray is the abstract superclass of a group of array classes that hold raw data values. 7 | 8 | INSTANCEMETHODS:: 9 | 10 | private::archiveAsCompileString, archiveAsObject 11 | -------------------------------------------------------------------------------- /HelpSource/Classes/XIn.schelp: -------------------------------------------------------------------------------- 1 | TITLE:: XIn 2 | summary:: Helper class used by InBus. 3 | categories:: UGens>InOut 4 | related:: Classes/InBus, Classes/In, Classes/InFeedback, Classes/XInFeedback 5 | 6 | DESCRIPTION:: 7 | A private class used in the implementation of link::Classes/InBus::. 8 | You should never need to use this UGen directly. 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /external_libraries/TLSF-2.4.6/TODO: -------------------------------------------------------------------------------- 1 | To do list 2 | ========== 3 | 4 | * Add mmap/sbrk support (DONE - V2.4). 5 | 6 | * TLSF rounds-up request size to the head of a free list. 7 | It has been shown to be a good policy for small blocks (<2048). 8 | But for larger blocks this policy may cause excesive fragmentation. 9 | A deeper analisys should be done. 10 | -------------------------------------------------------------------------------- /HelpSource/Classes/Sum3.schelp: -------------------------------------------------------------------------------- 1 | CLASS:: Sum3 2 | summary:: Sum three signals 3 | categories:: UGens>Algebraic 4 | related:: Classes/Mix 5 | 6 | DESCRIPTION:: 7 | Sum three signals. Internal ugen to efficiently mix three signals. Should be used via link::Classes/Mix::. 8 | 9 | CLASSMETHODS:: 10 | private:: new1 11 | 12 | METHOD:: new 13 | 14 | Construct UGen. 15 | -------------------------------------------------------------------------------- /HelpSource/Classes/Sum4.schelp: -------------------------------------------------------------------------------- 1 | CLASS:: Sum4 2 | summary:: Sum four signals 3 | categories:: UGens>Algebraic 4 | related:: Classes/Mix 5 | 6 | DESCRIPTION:: 7 | Sum four signals. Internal ugen to efficiently mix four signals. Should be used via link::Classes/Mix::. 8 | 9 | CLASSMETHODS:: 10 | private:: new1 11 | 12 | METHOD:: new 13 | 14 | Construct UGen. 15 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/thread/detail/variadic_footer.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Vicente J. Botet Escriba 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | 7 | #if defined BOOST_NO_CXX11_VARIADIC_TEMPLATES 8 | 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /HelpSource/Classes/XInFeedback.schelp: -------------------------------------------------------------------------------- 1 | TITLE:: XInFeedback 2 | summary:: Helper class used by InBus. 3 | categories:: UGens>InOut 4 | related:: Classes/InBus, Classes/In, Classes/InFeedback, Classes/XIn 5 | 6 | DESCRIPTION:: 7 | A private class used in the implementation of link::Classes/InBus::. 8 | You should never need to use this UGen directly. 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Audio/PitchShift.sc: -------------------------------------------------------------------------------- 1 | PitchShift : UGen { 2 | checkInputs { ^this.checkSameRateAsFirstInput } 3 | *ar { arg in = 0.0, windowSize = 0.2, pitchRatio = 1.0, 4 | pitchDispersion = 0.0, timeDispersion = 0.0, mul = 1.0, add = 0.0; 5 | ^this.multiNew('audio', in, windowSize, pitchRatio, 6 | pitchDispersion, timeDispersion).madd(mul, add) 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Streams/Penv.sc: -------------------------------------------------------------------------------- 1 | Penv : Env { 2 | embedInStream { arg inval; 3 | var startTime; 4 | startTime = thisThread.endBeat ? thisThread.beats; 5 | thisThread.endBeat = this.times.sum + startTime; 6 | while 7 | { thisThread.beats < thisThread.endBeat } 8 | { inval = yield(this.at(thisThread.beats - startTime))}; 9 | ^inval 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/detail/os_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_OS_DETECTED 9 | #define BOOST_PREDEF_DETAIL_OS_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/typeof/message.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2005 Arkadiy Vertleyb 2 | // Use, modification and distribution is subject to the Boost Software 3 | // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) 4 | 5 | #if defined(_MSC_VER) && defined BOOST_TYPEOF_MESSAGES 6 | # pragma message(BOOST_TYPEOF_TEXT) 7 | #endif 8 | #undef BOOST_TYPEOF_TEXT 9 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/detail/comp_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_COMP_DETECTED 9 | #define BOOST_PREDEF_DETAIL_COMP_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /HelpSource/Classes/BasicOpUGen.schelp: -------------------------------------------------------------------------------- 1 | class:: BasicOpUGen 2 | summary:: Common superclass to operations on UGen 3 | categories:: UGens>Algebraic 4 | related:: Classes/UnaryOpUGen, Classes/BinaryOpUGen, Overviews/Operators 5 | 6 | description:: 7 | Common superclass to operations on UGens 8 | 9 | instancemethods:: 10 | 11 | method::operator 12 | set or get the operator 13 | 14 | -------------------------------------------------------------------------------- /HelpSource/Classes/NumBuffers.schelp: -------------------------------------------------------------------------------- 1 | class:: NumBuffers 2 | summary:: Number of open buffers. 3 | related:: Classes/NumAudioBuses, Classes/NumControlBuses, Classes/NumInputBuses, Classes/NumOutputBuses, Classes/NumRunningSynths 4 | categories:: UGens>Info 5 | 6 | 7 | Description:: 8 | 9 | Number of open buffers. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ir 15 | 16 | -------------------------------------------------------------------------------- /HelpSource/Classes/RadiansPerSample.schelp: -------------------------------------------------------------------------------- 1 | class:: RadiansPerSample 2 | summary:: Number of radians per sample. 3 | related:: Classes/ControlRate, Classes/SampleDur, Classes/SampleRate, Classes/SubsampleOffset 4 | categories:: UGens>Info 5 | 6 | 7 | Description:: 8 | 9 | Returns the number of radians per sample. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ir 15 | 16 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/detail/platform_detected.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2014 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_PLAT_DETECTED 9 | #define BOOST_PREDEF_DETAIL_PLAT_DETECTED 1 10 | #endif 11 | -------------------------------------------------------------------------------- /HelpSource/Classes/AbstractSystemAction.schelp: -------------------------------------------------------------------------------- 1 | class:: AbstractSystemAction 2 | summary:: register actions to be taken for system events 3 | related:: Classes/CmdPeriod, Classes/StartUp, Classes/ShutDown, Classes/ServerBoot, Classes/ServerTree, Classes/ServerQuit 4 | categories:: Control 5 | 6 | 7 | ClassMethods:: 8 | 9 | method::removeAll 10 | Remove all items from registry. 11 | -------------------------------------------------------------------------------- /HelpSource/Classes/NumAudioBuses.schelp: -------------------------------------------------------------------------------- 1 | class:: NumAudioBuses 2 | summary:: Number of audio busses. 3 | related:: Classes/NumBuffers, Classes/NumControlBuses, Classes/NumInputBuses, Classes/NumOutputBuses, Classes/NumRunningSynths 4 | categories:: UGens>Info 5 | 6 | 7 | Description:: 8 | 9 | Number of audio busses. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ir 15 | 16 | -------------------------------------------------------------------------------- /HelpSource/Classes/NumInputBuses.schelp: -------------------------------------------------------------------------------- 1 | class:: NumInputBuses 2 | summary:: Number of input busses. 3 | related:: Classes/NumAudioBuses, Classes/NumControlBuses, Classes/NumBuffers, Classes/NumOutputBuses, Classes/NumRunningSynths 4 | categories:: UGens>Info 5 | 6 | 7 | Description:: 8 | 9 | Number of input busses. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ir 15 | 16 | -------------------------------------------------------------------------------- /HelpSource/Classes/NumOutputBuses.schelp: -------------------------------------------------------------------------------- 1 | class:: NumOutputBuses 2 | summary:: Number of output busses. 3 | related:: Classes/NumAudioBuses, Classes/NumControlBuses, Classes/NumBuffers, Classes/NumInputBuses, Classes/NumRunningSynths 4 | categories:: UGens>Info 5 | 6 | 7 | Description:: 8 | 9 | Number of output busses. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ir 15 | 16 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Control/asGroup.sc: -------------------------------------------------------------------------------- 1 | + AbstractGroup { 2 | asGroup {} 3 | } 4 | 5 | + Nil { 6 | asGroup { 7 | ^Server.default.defaultGroup 8 | } 9 | } 10 | + Server { 11 | asGroup { 12 | ^this.defaultGroup 13 | } 14 | } 15 | + Synth { 16 | asGroup { 17 | ^this.group 18 | } 19 | } 20 | + Integer { 21 | asGroup { 22 | ^Group.basicNew(nil, this) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /SCClassLibrary/Platform/iphone/SystemOverwrites/extFile.sc: -------------------------------------------------------------------------------- 1 | //primitive fails with boost::filesystem::status: Operation not permitted: "/tmp/" 2 | //using the old sclang implementation for file exists until fixed. 3 | 4 | + File { 5 | *exists { arg pathName; 6 | var file; 7 | file = File(pathName,"r"); 8 | if (file.isOpen, { file.close; ^true }); 9 | ^false 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /HelpSource/Classes/NumControlBuses.schelp: -------------------------------------------------------------------------------- 1 | class:: NumControlBuses 2 | summary:: Number of control busses. 3 | related:: Classes/NumAudioBuses, Classes/NumBuffers, Classes/NumInputBuses, Classes/NumOutputBuses, Classes/NumRunningSynths 4 | categories:: UGens>Info 5 | 6 | 7 | Description:: 8 | 9 | Number of control busses. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ir 15 | 16 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/config/abi/borland_suffix.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | # pragma option pop 7 | #pragma nopushoptwarn 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/atomic/src/lock_pool_init1.ipp: -------------------------------------------------------------------------------- 1 | /* 2 | * Distributed under the Boost Software License, Version 1.0. 3 | * (See accompanying file LICENSE_1_0.txt or copy at 4 | * http://www.boost.org/LICENSE_1_0.txt) 5 | * 6 | * Copyright (c) 2020 Andrey Semashev 7 | */ 8 | 9 | #if BOOST_PP_ITERATION() > 1 10 | , 11 | #endif 12 | 13 | { BOOST_ATOMIC_LOCK_STATE_INIT } 14 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestCondition.sc: -------------------------------------------------------------------------------- 1 | TestCondition : UnitTest { 2 | 3 | test_timeout { 4 | var condition = Condition.new; 5 | var failed = false; 6 | var lateTask = fork { 7 | 0.12.wait; 8 | failed = true; 9 | condition.unhang; 10 | }; 11 | condition.hang(1e-6); 12 | lateTask.stop; 13 | this.assert(failed.not, "condition has timed out") 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /HelpSource/Classes/FuncFilterPattern.schelp: -------------------------------------------------------------------------------- 1 | class:: FuncFilterPattern 2 | summary:: Abstract class that filters a pattern using a function 3 | related:: Classes/FilterPattern 4 | categories:: Streams-Patterns-Events>Patterns>Filter 5 | 6 | description:: 7 | This is an abstract class that filters a pattern using a function. See subclasses below: 8 | 9 | classtree::FuncFilterPattern 10 | 11 | -------------------------------------------------------------------------------- /QtCollider/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../icons/sc_cube_16x16.png 4 | ../icons/sc_cube_32x32.png 5 | ../icons/sc_cube_48x48.png 6 | ../icons/sc_cube_128x128.png 7 | 8 | 9 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Control/asTarget.sc: -------------------------------------------------------------------------------- 1 | +Server { 2 | asTarget { ^this.defaultGroup } 3 | asNodeID { ^0 } 4 | } 5 | 6 | +Node { 7 | asTarget { ^this } 8 | asNodeID { ^nodeID } 9 | } 10 | 11 | +Nil { 12 | asTarget { ^Server.default.asTarget } 13 | asNodeID { ^this } 14 | } 15 | 16 | +Integer { 17 | asTarget { ^Group.basicNew(Server.default, this) } 18 | asNodeID { ^this } 19 | } 20 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Streams/FuncStreamAsRoutine.sc: -------------------------------------------------------------------------------- 1 | FuncStreamAsRoutine : Routine { 2 | var <>nextFunc; 3 | var <>resetFunc; 4 | 5 | *new { arg nextFunc, resetFunc; 6 | ^super.new({ arg inval; 7 | loop { 8 | inval = yield(thisThread.nextFunc.value(inval)) 9 | } 10 | }) 11 | .nextFunc_(nextFunc).resetFunc_(resetFunc) 12 | } 13 | 14 | reset { ^resetFunc.value } 15 | } 16 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestCollection.sc: -------------------------------------------------------------------------------- 1 | TestCollection : UnitTest { 2 | 3 | test_asPairs { 4 | 5 | this.assert([2,10,100,1000].collect{ |size| size.collect{ |i| i -> i }.asPairs.size >= (size * 2) }.reduce('&&') 6 | , "asPairs on an array of associations should create an array with size higher or equal to twice the number of elements in the original array"); 7 | 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /HelpSource/Classes/UniqueID.schelp: -------------------------------------------------------------------------------- 1 | class::UniqueID 2 | summary::source for unique numbers 3 | categories::Core 4 | 5 | classmethods:: 6 | 7 | method::initClass 8 | 9 | initialize the starting id. 10 | 11 | method::next 12 | 13 | get next id, which is unique to the system 14 | 15 | examples:: 16 | 17 | code:: 18 | // example 19 | UniqueID.next; 20 | UniqueID.next; 21 | UniqueID.next; 22 | :: 23 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/preprocessed/bcc551/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/preprocessed/msvc60/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /HelpSource/Classes/SampleDur.schelp: -------------------------------------------------------------------------------- 1 | class:: SampleDur 2 | summary:: Duration of one sample. 3 | related:: Classes/ControlRate, Classes/RadiansPerSample, Classes/SampleRate, Classes/SubsampleOffset 4 | categories:: UGens>Info 5 | 6 | 7 | Description:: 8 | 9 | Returns the current sample duration of the server. 10 | Equivalent to 1/SampleRate. 11 | 12 | 13 | classmethods:: 14 | 15 | method::ir 16 | 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2000-2008 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // *Preprocessed* version of the main "quote.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/filesystem/config/is_windows_ce.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Andrey Semashev 2 | 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // See http://www.boost.org/LICENSE_1_0.txt 5 | 6 | // See library home page at http://www.boost.org/libs/filesystem 7 | 8 | #if !defined(_WIN32_WCE) 9 | #error "This is not Windows CE" 10 | #endif 11 | 12 | int main() 13 | { 14 | } 15 | -------------------------------------------------------------------------------- /HelpSource/Classes/ShutDown.schelp: -------------------------------------------------------------------------------- 1 | class:: ShutDown 2 | summary:: register functions to be evaluated before system shuts down 3 | related:: Classes/StartUp, Classes/ServerQuit, Classes/ServerTree, Classes/CmdPeriod 4 | categories:: Control 5 | 6 | description:: 7 | ShutDown registers functions to perform an action before system shut down. 8 | 9 | ClassMethods:: 10 | 11 | method::run 12 | Call the object in order. 13 | -------------------------------------------------------------------------------- /HelpSource/Classes/String.ext.schelp: -------------------------------------------------------------------------------- 1 | instancemethods:: 2 | 3 | subsection:: Extensions by SCDoc 4 | 5 | method:: stripWhiteSpace 6 | Strips whitespace at the beginning and end of the string. 7 | returns:: The stripped string 8 | 9 | method:: unixCmdGetStdOutLines 10 | Like link::#-unixCmdGetStdOut:: but returns the lines in an Array instead. 11 | returns:: an link::Classes/Array:: of each line of output 12 | 13 | -------------------------------------------------------------------------------- /HelpSource/Classes/VLayout.schelp: -------------------------------------------------------------------------------- 1 | CLASS:: VLayout 2 | summary:: A layout that distributes views in a vertical line 3 | categories:: GUI>Layout 4 | related:: Classes/HLayout, Classes/GridLayout, Classes/StackLayout, Guides/GUI-Layout-Management 5 | 6 | DESCRIPTION:: 7 | See documentation of superclass link::Classes/LineLayout:: for details. 8 | 9 | CLASSMETHODS:: 10 | 11 | PRIVATE:: key 12 | PRIVATE:: layoutClass 13 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | 11 | 12 | ## Motivation 13 | 14 | ## Description of Proposed Feature 15 | 16 | ## Plan for Implementation 17 | 18 | 19 | -------------------------------------------------------------------------------- /README_IPHONE.md: -------------------------------------------------------------------------------- 1 | If you are a subscribed iPhone Developer, you know what to do. 2 | If you're not, download and install the SDK from developer.apple.com (free download, it's the actual developer certificates that cost money), then follow the instructions at: 3 | http://blog.paulbetts.org/index.php/2008/07/22/running-your-iphone-sdk-app-on-iphone-without-the-app-store 4 | 5 | Patches should be stored in iPhone Resources/patches 6 | -------------------------------------------------------------------------------- /SCClassLibrary/Platform/osx/extMain.sc: -------------------------------------------------------------------------------- 1 | + Main { 2 | platformClass { ^OSXPlatform } 3 | 4 | applicationStart { 5 | ApplicationStart.run; 6 | } 7 | 8 | sleep { 9 | this.platform.isSleeping = true; 10 | ^this.platform.sleepAction.value(this); 11 | } 12 | wake { 13 | this.platform.isSleeping = false; 14 | ^this.platform.wakeAction.value(this); 15 | } 16 | isSleeping { ^this.platform.isSleeping } 17 | } 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/core/use_default.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2019 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_CORE_USE_DEFAULT_HPP 9 | #define BOOST_CORE_USE_DEFAULT_HPP 10 | 11 | namespace boost { 12 | 13 | struct use_default { }; 14 | 15 | } /* boost */ 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/detail/workaround.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams 2002. 2 | // Distributed under the Boost Software License, Version 1.0. (See 3 | // accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | #ifndef WORKAROUND_DWA2002126_HPP 6 | #define WORKAROUND_DWA2002126_HPP 7 | 8 | #include 9 | 10 | #endif // WORKAROUND_DWA2002126_HPP 11 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /HelpSource/Classes/OnError.schelp: -------------------------------------------------------------------------------- 1 | class:: OnError 2 | summary:: register functions to be evaluated when an error occurs 3 | related:: Classes/StartUp, Classes/ShutDown, Classes/ServerQuit, Classes/ServerTree, Classes/CmdPeriod 4 | categories:: Control 5 | 6 | description:: 7 | OnError registers functions to perform an action when an error occurs. 8 | 9 | ClassMethods:: 10 | 11 | method::run 12 | Call the object in order. 13 | -------------------------------------------------------------------------------- /HelpSource/Classes/ScopeOut.schelp: -------------------------------------------------------------------------------- 1 | class:: ScopeOut 2 | summary:: FIXME: ScopeOut purpose. 3 | categories:: UGens>Buffer, UGens>Undocumented 4 | 5 | 6 | Description:: 7 | 8 | FIXME: ScopeOut description. 9 | 10 | 11 | classmethods:: 12 | 13 | method::ar, kr 14 | 15 | argument::inputArray 16 | 17 | FIXME: explain parameter inputArray. 18 | 19 | 20 | argument::bufnum 21 | 22 | FIXME: explain parameter bufnum. 23 | 24 | -------------------------------------------------------------------------------- /SCClassLibrary/deprecated/3.10/AudioIn.sc: -------------------------------------------------------------------------------- 1 | // backward compatible version of SoundIn. 2 | // The only difference is that it counts from channel 1. 3 | 4 | AudioIn : SoundIn { 5 | *ar { arg channel = 0, mul=1.0, add=0.0; 6 | this.deprecated(thisMethod, SoundIn.class.findMethod(\ar)); 7 | ^super.ar(channel, mul, add) 8 | } 9 | *channelOffset { 10 | ^NumOutputBuses.ir - 1 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/preprocessed/plain/template_arity.hpp: -------------------------------------------------------------------------------- 1 | 2 | // Copyright Aleksey Gurtovoy 2001-2004 3 | // 4 | // Distributed under the Boost Software License, Version 1.0. 5 | // (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | 9 | // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header 10 | // -- DO NOT modify by hand! 11 | 12 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/library/c/_prefix.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2013 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_LIBRARY_C__PREFIX_H 9 | #define BOOST_PREDEF_LIBRARY_C__PREFIX_H 10 | 11 | #include 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /SCClassLibrary/deprecated/3.10/GUI/File.sc: -------------------------------------------------------------------------------- 1 | + File { 2 | *openDialog { arg prompt, successFunc, cancelFunc; 3 | this.deprecated(thisMethod, Dialog.findMethod(\openPanel)); 4 | Dialog.openPanel(successFunc, cancelFunc); 5 | } 6 | 7 | *saveDialog { arg prompt, defaultName, successFunc, cancelFunc; 8 | this.deprecated(thisMethod, Dialog.findMethod(\saveDialog)); 9 | Dialog.savePanel(successFunc, cancelFunc); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /external_libraries/TLSF-2.4.6/src/target.h: -------------------------------------------------------------------------------- 1 | #ifndef _TARGET_H_ 2 | #define _TARGET_H_ 3 | 4 | #include 5 | 6 | #define TLSF_MLOCK_T pthread_mutex_t 7 | #define TLSF_CREATE_LOCK(l) pthread_mutex_init (l, NULL) 8 | #define TLSF_DESTROY_LOCK(l) pthread_mutex_destroy(l) 9 | #define TLSF_ACQUIRE_LOCK(l) pthread_mutex_lock(l) 10 | #define TLSF_RELEASE_LOCK(l) pthread_mutex_unlock(l) 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /HelpSource/Classes/PauseSelfWhenDone.schelp: -------------------------------------------------------------------------------- 1 | class:: PauseSelfWhenDone 2 | summary:: FIXME: PauseSelfWhenDone purpose. 3 | related:: Classes/Done, Classes/FreeSelfWhenDone 4 | categories:: UGens>Synth control, UGens>Undocumented 5 | 6 | 7 | Description:: 8 | 9 | FIXME: PauseSelfWhenDone description. 10 | 11 | 12 | classmethods:: 13 | 14 | method::kr 15 | 16 | argument::src 17 | 18 | FIXME: explain parameter src. 19 | 20 | 21 | -------------------------------------------------------------------------------- /testsuite/server/supernova/buffer_manager_test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include "server/buffer_manager.cpp" 5 | 6 | 7 | using namespace nova; 8 | 9 | 10 | BOOST_AUTO_TEST_CASE(buffer_manager_test) { 11 | buffer_manager bm(1024); 12 | bm.allocate_buffer(0, 44100, 2); 13 | bm.zero_buffer(0); 14 | bm.fill_samples(0, 0, 882000, 0.2); 15 | bm.free_buffer(0); 16 | } 17 | -------------------------------------------------------------------------------- /HelpSource/Reference/Comments.schelp: -------------------------------------------------------------------------------- 1 | title:: Comments 2 | categories:: Language 3 | summary:: source-code comments 4 | 5 | Comments begin with code:://:: and go until the end of the line. Comments can also be delimited with code::/*:: and code::*/::. 6 | 7 | Examples: 8 | code:: 9 | // single line comment 10 | 11 | /* 12 | multi 13 | line 14 | comment 15 | */ 16 | 17 | /* Unlike C, you can have /* nested */ comments */ 18 | :: 19 | 20 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Audio/iphone/iPhoneUGens.sc: -------------------------------------------------------------------------------- 1 | AccelerometerX : UGen { 2 | // warp 0 = linear 3 | // warp 1 = exponential 4 | *kr { 5 | arg minval=0, maxval=1, warp=0, lag=0.2; 6 | if (warp === \linear, { warp = 0 }); 7 | if (warp === \exponential, { warp = 1 }); 8 | 9 | ^this.multiNew('control', minval, maxval, warp, lag) 10 | } 11 | } 12 | 13 | AccelerometerY : AccelerometerX {} 14 | AccelerometerZ : AccelerometerX {} 15 | -------------------------------------------------------------------------------- /SCClassLibrary/Platform/osx/ApplicationStart.sc: -------------------------------------------------------------------------------- 1 | ApplicationStart : StartUp { 2 | classvar <>objects; 3 | 4 | *run { 5 | this.objects.do({ arg item; item.doOnApplicationStart; }); 6 | } 7 | } 8 | 9 | + Function { 10 | doOnApplicationStart { 11 | this.try{|error| 12 | "ApplicationStart: an error has occurred.".postln; 13 | error.reportError; 14 | "Thrown during function:".postln; 15 | this.postcs; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /editors/sc-ide/primitives/localsocket_utils.cpp: -------------------------------------------------------------------------------- 1 | #include "localsocket_utils.hpp" 2 | 3 | 4 | qint32 ArrayToInt(QByteArray source) { 5 | qint32 temp; 6 | QDataStream data(&source, QIODevice::ReadWrite); 7 | data >> temp; 8 | return temp; 9 | } 10 | 11 | QByteArray IntToArray(qint32 source) { 12 | QByteArray temp; 13 | QDataStream data(&temp, QIODevice::ReadWrite); 14 | data << source; 15 | return temp; 16 | } 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/detail/_exception.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL__EXCEPTION_H 9 | #define BOOST_PREDEF_DETAIL__EXCEPTION_H 10 | 11 | #if defined(__cplusplus) 12 | #include 13 | #endif 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /server/scsynth/iPhone/iscsynthmain.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // iscsynth 4 | // 5 | // Created by Axel Balley on 20/10/08. 6 | // Copyright __MyCompanyName__ 2008. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, char* argv[]) { 12 | NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; 13 | int retVal = UIApplicationMain(argc, argv, nil, nil); 14 | [pool release]; 15 | return retVal; 16 | } 17 | -------------------------------------------------------------------------------- /external_libraries/TLSF-2.4.6/examples/test4.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "tlsf.h" 4 | 5 | int main(void){ 6 | int *ptr[100]; 7 | int i; 8 | 9 | for (i=0; i< 100; i++) 10 | if (!(ptr[i]=tlsf_malloc(1024))){ 11 | printf("Error\n"); 12 | exit(-1); 13 | } 14 | 15 | for (i=0; i< 100; i++) 16 | tlsf_free(ptr[i]); 17 | 18 | printf("Test OK\n"); 19 | 20 | exit(0); 21 | } 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /examples/demonstrations/babbling brook.scd: -------------------------------------------------------------------------------- 1 | 2 | 3 | /* 4 | A babbling brook example, by James McCartney 2007. See 5 | http://www.create.ucsb.edu/pipermail/sc-users/2007-April/033231.html 6 | */ 7 | 8 | ( 9 | { 10 | ({RHPF.ar(OnePole.ar(BrownNoise.ar, 0.99), LPF.ar(BrownNoise.ar, 14) 11 | * 400 + 500, 0.03, 0.003)}!2) 12 | + ({RHPF.ar(OnePole.ar(BrownNoise.ar, 0.99), LPF.ar(BrownNoise.ar, 20) 13 | * 800 + 1000, 0.03, 0.005)}!2) 14 | * 4 15 | }.play 16 | ) 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2015-2016 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_VERSION_H 9 | #define BOOST_PREDEF_VERSION_H 10 | 11 | #include 12 | 13 | #define BOOST_PREDEF_VERSION BOOST_VERSION_NUMBER(1,11,0) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /wasm/pre.js: -------------------------------------------------------------------------------- 1 | Module['noInitialRun'] = true; 2 | 3 | { 4 | var a = Module['arguments']; 5 | if (!a) { 6 | a = []; 7 | Module['arguments'] = a; 8 | } 9 | if (!a.includes('-u')) a.push('-u', '57110'); // default 'udp' port 10 | if (!a.includes('-D')) a.push('-D', '0'); // do not load synthdefs 11 | if (!a.includes('-i')) a.push('-i', '0'); // no input channels 12 | if (!a.includes('-o')) a.push('-o', '2'); // two output channels 13 | } 14 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/detail/_cassert.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL__CASSERT_H 9 | #define BOOST_PREDEF_DETAIL__CASSERT_H 10 | 11 | #if defined(__cplusplus) 12 | #include 13 | #else 14 | #include 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/atomic/config/Jamfile.v2: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright Andrey Semashev 2020. 3 | # Distributed under the Boost Software License, Version 1.0. 4 | # (See accompanying file LICENSE_1_0.txt or copy at 5 | # http://www.boost.org/LICENSE_1_0.txt) 6 | # 7 | 8 | lib synchronization ; 9 | explicit synchronization ; 10 | 11 | exe has_synchronization : has_synchronization.cpp : synchronization ; 12 | explicit has_synchronization ; 13 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/filesystem/config/has_stat_st_mtim.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Andrey Semashev 2 | 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // See http://www.boost.org/LICENSE_1_0.txt 5 | 6 | // See library home page at http://www.boost.org/libs/filesystem 7 | 8 | #include 9 | #include 10 | #include 11 | 12 | int main() 13 | { 14 | struct stat st; 15 | st.st_mtim.tv_nsec = 10; 16 | } 17 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/filesystem/config/has_stat_st_mtimensec.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Andrey Semashev 2 | 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // See http://www.boost.org/LICENSE_1_0.txt 5 | 6 | // See library home page at http://www.boost.org/libs/filesystem 7 | 8 | #include 9 | #include 10 | #include 11 | 12 | int main() 13 | { 14 | struct stat st; 15 | st.st_mtimensec = 10; 16 | } 17 | -------------------------------------------------------------------------------- /HelpSource/Reference/gui_alignments.schelp: -------------------------------------------------------------------------------- 1 | title:: Alignment 2 | summary:: Alignment options within the GUI system 3 | categories:: GUI 4 | 5 | Alignment in GUI classes is represented with the following symbols: 6 | 7 | list:: 8 | ## \left 9 | ## \center 10 | ## \right 11 | :: 12 | 13 | Additionally, the following symbols are available in Qt GUI: 14 | 15 | list:: 16 | ## \topLeft 17 | ## \top 18 | ## \topRight 19 | ## \bottomLeft 20 | ## \bottom 21 | ## \bottomRight 22 | :: 23 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Control/NodeControl.sc: -------------------------------------------------------------------------------- 1 | NodeControl { 2 | 3 | var name; 4 | 5 | *new { arg node,index; 6 | ^super.newCopyArgs(node,index) 7 | } 8 | value_ { arg aval; 9 | node.set(index,aval) 10 | } 11 | readFromBus { arg bus; 12 | node.map(index,bus) 13 | } 14 | stopReadFromBus { 15 | node.map(index,-1) 16 | } 17 | setMsg { arg value; ^[15, node.nodeID,index, value] } 18 | 19 | server { ^node.server } 20 | group { ^node.group } 21 | } 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/ref.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_REF_HPP 10 | #define BOOST_REF_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/ref.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /platform/mac/Standalone Resources/English.lproj/Credits.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf420 2 | {\fonttbl\f0\fnil\fcharset77 LucidaGrande;} 3 | {\colortbl;\red255\green255\blue255;} 4 | \vieww9000\viewh8400\viewkind0 5 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc 6 | 7 | \f0\fs26 \cf0 \ 8 | A sample stand-alone application created with SuperCollider.\ 9 | \ 10 | http://supercollider.sourceforge.net/\ 11 | \ 12 | } -------------------------------------------------------------------------------- /tools/lint_or_format.py.in: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | if __name__ == "__main__": 3 | import subprocess 4 | import sys 5 | commit_arg = [sys.argv[1]] if len(sys.argv) > 1 else [] 6 | # Have to use Python interpreter directly since Windows shell doesn't seem to consider Python 7 | # scripts executable via Python even if the filetype association is there. 8 | subprocess.call(['python', '@SC_FORMAT_SCRIPT_PATH@', '@SC_LINT_FORMAT_HELPER_SCRIPT_COMMAND@'] + commit_arg) 9 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/exception_ptr.hpp: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. 2 | 3 | //Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_EXCEPTION_FA5836A2CADA11DC8CD47C8555D89593 7 | #define BOOST_EXCEPTION_FA5836A2CADA11DC8CD47C8555D89593 8 | 9 | #include 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/detail/test.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2012 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #ifndef BOOST_PREDEF_DETAIL_TEST_H 9 | #define BOOST_PREDEF_DETAIL_TEST_H 10 | 11 | #if !defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 12 | 13 | #define BOOST_PREDEF_DECLARE_TEST(x,s) 14 | 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/swap.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_SWAP_HPP 10 | #define BOOST_SWAP_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/swap.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/utility/declval.hpp: -------------------------------------------------------------------------------- 1 | // declval.hpp -------------------------------------------------------------// 2 | 3 | // Copyright 2010 Vicente J. Botet Escriba 4 | 5 | // Distributed under the Boost Software License, Version 1.0. 6 | // See http://www.boost.org/LICENSE_1_0.txt 7 | 8 | #ifndef BOOST_UTILITY_DECLVAL_HPP 9 | #define BOOST_UTILITY_DECLVAL_HPP 10 | 11 | #include 12 | 13 | #endif // BOOST_UTILITY_DECLVAL_HPP 14 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/filesystem/config/has_stat_st_mtimespec.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Andrey Semashev 2 | 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // See http://www.boost.org/LICENSE_1_0.txt 5 | 6 | // See library home page at http://www.boost.org/libs/filesystem 7 | 8 | #include 9 | #include 10 | #include 11 | 12 | int main() 13 | { 14 | struct stat st; 15 | st.st_mtimespec.tv_nsec = 10; 16 | } 17 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/junit_log_formatter.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright 2016 Raffi Enficiaud. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // forward to impl 9 | 10 | #define BOOST_TEST_SOURCE 11 | #include 12 | 13 | // EOF 14 | -------------------------------------------------------------------------------- /HelpSource/Classes/ControlDur.schelp: -------------------------------------------------------------------------------- 1 | class:: ControlDur 2 | summary:: Duration of one block 3 | categories:: UGens>Info 4 | related:: Classes/ControlRate 5 | 6 | description:: 7 | Returns the current block duration of the server in seconds. Equivalent to 1 / link::Classes/ControlRate::. 8 | 9 | classmethods:: 10 | method:: ir 11 | 12 | examples:: 13 | code:: 14 | { ControlDur.ir.poll }.play; 15 | 16 | { (1/ControlDur.ir).poll }.play; 17 | 18 | { ControlRate.ir.poll }.play; 19 | :: 20 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Audio/PSinGrain.sc: -------------------------------------------------------------------------------- 1 | /* 2 | PSinGrain - fixed frequency sine oscillator 3 | arguments : 4 | freq - frequency in cycles per second. Must be a scalar. 5 | dur - grain duration 6 | amp - amplitude of grain 7 | 8 | This unit generator uses a very fast algorithm for generating a sine 9 | wave at a fixed frequency. 10 | */ 11 | 12 | PSinGrain : UGen { 13 | *ar { arg freq = 440.0, dur = 0.2, amp = 0.1; 14 | ^this.multiNew('audio', freq, dur, amp) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /external_libraries/oscpack_build.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #if BOOST_ENDIAN_LITTLE_BYTE 4 | #define OSC_HOST_LITTLE_ENDIAN 5 | #elif BOOST_ENDIAN_BIG_BYTE 6 | #define OSC_HOST_BIG_ENDIAN 7 | #else 8 | #error please define endianness 9 | #endif 10 | 11 | #include "oscpack_1_1_0/osc/OscOutboundPacketStream.cpp" 12 | #include "oscpack_1_1_0/osc/OscPrintReceivedElements.cpp" 13 | #include "oscpack_1_1_0/osc/OscReceivedElements.cpp" 14 | #include "oscpack_1_1_0/osc/OscTypes.cpp" 15 | -------------------------------------------------------------------------------- /HelpSource/Classes/ScIDE.schelp: -------------------------------------------------------------------------------- 1 | TITLE:: ScIDE 2 | summary:: interaction with the Qt IDE 3 | categories:: Frontends 4 | related:: Classes/Document 5 | 6 | DESCRIPTION:: 7 | 8 | The ScIDE class contains a number of class methods for interaction with the Qt IDE. Most users won't need to access these methods directly. For example, the link::Classes/Document:: class wraps most of the document-related functionality. 9 | 10 | There's no use calling *new on this class. It has no instance methods! 11 | -------------------------------------------------------------------------------- /.travis/qpm-prep.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd $TRAVIS_BUILD_DIR/BUILD 4 | sudo pip2 install git+https://github.com/supercollider/qpm.git 5 | 6 | mkdir $HOME/Quarks && cd $HOME/Quarks 7 | git clone --depth=1 https://github.com/supercollider-quarks/API 8 | git clone --depth=1 https://github.com/supercollider-quarks/CommonTests 9 | git clone --depth=1 https://github.com/supercollider-quarks/CommonTestsGUI 10 | cd $TRAVIS_BUILD_DIR/BUILD 11 | 12 | cp ../travis_test_run_proto.json ./travis_test_run.json 13 | -------------------------------------------------------------------------------- /HelpSource/Classes/PureUGen.schelp: -------------------------------------------------------------------------------- 1 | TITLE:: PureUGen 2 | summary:: Pure UGen 3 | categories:: UGens 4 | related:: Classes/UGen 5 | 6 | DESCRIPTION:: 7 | 8 | A Pure UGen is a UGen, which does not access any shared resources like busses, buffers or random number generators. UGen 9 | classes which are derived from PureUGen are candidates for common subexpression elimination and dead code elimination 10 | passes during the SynthDef compilation. 11 | 12 | INSTANCEMETHODS:: 13 | PRIVATE:: optimizeGraph 14 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/thread/thread.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_THREAD_THREAD_HPP 2 | #define BOOST_THREAD_THREAD_HPP 3 | 4 | // thread.hpp 5 | // 6 | // (C) Copyright 2007-8 Anthony Williams 7 | // 8 | // Distributed under the Boost Software License, Version 1.0. (See 9 | // accompanying file LICENSE_1_0.txt or copy at 10 | // http://www.boost.org/LICENSE_1_0.txt) 11 | 12 | #include 13 | #include 14 | 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /HelpSource/Classes/PSinGrain.schelp: -------------------------------------------------------------------------------- 1 | class:: PSinGrain 2 | summary:: Very fast sine grain with a parabolic envelope 3 | categories:: UGens>Generators>Deterministic 4 | 5 | 6 | Description:: 7 | 8 | Very fast sine grain with a parabolic envelope. 9 | 10 | 11 | classmethods:: 12 | private:: categories 13 | 14 | method::ar 15 | 16 | argument::freq 17 | 18 | Frequency in Hertz. 19 | 20 | 21 | argument::dur 22 | 23 | Grain duration. 24 | 25 | 26 | argument::amp 27 | 28 | Grain amplitude. 29 | 30 | -------------------------------------------------------------------------------- /editors/sced/sced3/supercollider.plugin.in: -------------------------------------------------------------------------------- 1 | [Plugin] 2 | Loader=python 3 | Module=supercollider 4 | IAge=3 5 | Name=SuperCollider 6 | Description=SuperCollider interaction plugin for gedit. 7 | Authors=Artem Popov ;Eckard Riedenklau ;Marije Baalman ;Jonatan Liljedahl 8 | Copyright=Copyright © 2006-2011 Artem Popov 9 | Website=http://supercollider.sourceforge.net 10 | Version=@SC_VERSION@ 11 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/utility/swap.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_SWAP_HPP 10 | #define BOOST_UTILITY_SWAP_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/swap.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /HelpSource/Classes/ServerQuit.schelp: -------------------------------------------------------------------------------- 1 | class:: ServerQuit 2 | summary:: register actions to be taken when a server quits 3 | related:: Classes/Server, Classes/ServerBoot, Classes/ServerTree, Classes/ShutDown 4 | categories:: Control 5 | 6 | description:: 7 | The singleton ServerQuit provides a place for registering functions and objects for events that should happen when a given server quits. 8 | 9 | See link::Classes/AbstractServerAction:: for usage. 10 | 11 | ClassMethods:: 12 | 13 | private::initClass 14 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/Base/ext-asLayoutElement.sc: -------------------------------------------------------------------------------- 1 | // asLayoutElement interface to allow non-Views to go into Layouts 2 | // (such as SCViewHolders) 3 | 4 | + Object { 5 | asLayoutElement { ^this.asView } 6 | } 7 | 8 | + View { 9 | asLayoutElement { ^this } 10 | } 11 | 12 | + Number { 13 | asLayoutElement { ^this } 14 | } 15 | 16 | + Symbol { 17 | asLayoutElement { ^this } 18 | } 19 | 20 | + SequenceableCollection { 21 | asLayoutElement { ^this.collect { |item| item.asLayoutElement } } 22 | } 23 | -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: WebKit 2 | AlignAfterOpenBracket: Align 3 | BreakBeforeBinaryOperators: NonAssignment 4 | BreakBeforeBraces: Attach 5 | BreakConstructorInitializers: AfterColon 6 | ColumnLimit: 120 7 | CompactNamespaces: true 8 | ConstructorInitializerAllOnOneLineOrOnePerLine: true 9 | IndentPPDirectives: AfterHash 10 | KeepEmptyLinesAtTheStartOfBlocks: false 11 | MaxEmptyLinesToKeep: 2 12 | NamespaceIndentation: None 13 | SortIncludes: false 14 | SpaceBeforeCtorInitializerColon: false 15 | TabWidth: 4 16 | -------------------------------------------------------------------------------- /HelpSource/Classes/Pdiff.schelp: -------------------------------------------------------------------------------- 1 | class:: Pdiff 2 | summary:: returns the difference between the current and previous values of an enclosed pattern 3 | related:: Classes/Pseries 4 | categories:: Streams-Patterns-Events>Patterns 5 | 6 | description:: 7 | 8 | A pattern that returns the difference between the current and previous values of an enclosed pattern. 9 | 10 | Examples:: 11 | 12 | code:: 13 | p = Pbind( 14 | \degree, Pxrand([0,2,3,4,6,7],12), 15 | \dur, Pdiff(Pkey(\degree)).abs/4, 16 | ).play; 17 | :: 18 | -------------------------------------------------------------------------------- /HelpSource/Classes/ServerBoot.schelp: -------------------------------------------------------------------------------- 1 | class:: ServerBoot 2 | summary:: register actions to be taken when a server has booted 3 | related:: Classes/Server, Classes/ServerQuit, Classes/ServerTree, Classes/StartUp 4 | categories:: Control 5 | 6 | description:: 7 | The singleton ServerBoot provides a place for registering functions and objects for events that should happen when a given server has booted. 8 | 9 | See link::Classes/AbstractServerAction:: for usage. 10 | 11 | ClassMethods:: 12 | 13 | private::initClass 14 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/align/alignment_of_forward.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_ALIGN_ALIGNMENT_OF_FORWARD_HPP 9 | #define BOOST_ALIGN_ALIGNMENT_OF_FORWARD_HPP 10 | 11 | namespace boost { 12 | namespace alignment { 13 | 14 | template 15 | struct alignment_of; 16 | 17 | } /* alignment */ 18 | } /* boost */ 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/align/detail/align_cxx11.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_ALIGN_DETAIL_ALIGN_CXX11_HPP 9 | #define BOOST_ALIGN_DETAIL_ALIGN_CXX11_HPP 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace alignment { 15 | 16 | using std::align; 17 | 18 | } /* alignment */ 19 | } /* boost */ 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/noncopyable.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_NONCOPYABLE_HPP 10 | #define BOOST_NONCOPYABLE_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/noncopyable.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /HelpSource/Classes/ToggleFF.schelp: -------------------------------------------------------------------------------- 1 | class:: ToggleFF 2 | summary:: Toggle flip flop. 3 | related:: Classes/SetResetFF 4 | categories:: UGens>Triggers 5 | 6 | 7 | Description:: 8 | 9 | Toggles between 0 and 1 upon receiving a trigger. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ar, kr 15 | 16 | argument::trig 17 | 18 | Trigger input. 19 | 20 | 21 | Examples:: 22 | 23 | code:: 24 | 25 | ( 26 | play({ 27 | SinOsc.ar((ToggleFF.ar(Dust.ar(XLine.kr(1,1000,60))) * 400) + 800, 0, 0.1) 28 | })) 29 | 30 | :: 31 | 32 | -------------------------------------------------------------------------------- /QtCollider/style/ProxyStyle.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace QtCollider { 6 | 7 | class ProxyStyle : public QProxyStyle { 8 | public: 9 | ProxyStyle(QStyle* style = 0): QProxyStyle(style) {} 10 | 11 | virtual void drawComplexControl(ComplexControl, const QStyleOptionComplex*, QPainter*, const QWidget* w = 0) const; 12 | 13 | virtual int styleHint(StyleHint, const QStyleOption* = 0, const QWidget* = 0, QStyleHintReturn* = 0) const; 14 | }; 15 | 16 | } // namespace QtCollider 17 | -------------------------------------------------------------------------------- /SCClassLibrary/deprecated/3.11/deprecated-3.11.sc: -------------------------------------------------------------------------------- 1 | + AbstractFunction { 2 | asInt { 3 | this.deprecated(thisMethod, this.class.findMethod(\asInteger)); 4 | ^this.composeUnaryOp('asInteger'); 5 | } 6 | } 7 | 8 | + Object { 9 | asInt { 10 | this.deprecated(thisMethod, this.class.findMethod(\asInteger)); 11 | ^this.asInteger; 12 | } 13 | } 14 | 15 | + String { 16 | *scDir { 17 | this.deprecated(thisMethod, Platform.class.findMethod(\resourceDir)); 18 | ^Platform.resourceDir 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function0.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 0 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function1.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 1 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function10.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 10 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function2.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 2 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function3.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 3 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function4.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 4 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function5.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 5 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function6.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 6 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function7.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 7 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function8.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 8 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/function9.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2002-2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | 10 | #define BOOST_FUNCTION_NUM_ARGS 9 11 | #include 12 | #undef BOOST_FUNCTION_NUM_ARGS 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/parameter/aux_/parameter_requirements.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Daniel Wallin, David Abrahams 2005. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_PARAMETER_AUX_PARAMETER_REQUIREMENTS_HPP 7 | #define BOOST_PARAMETER_AUX_PARAMETER_REQUIREMENTS_HPP 8 | 9 | #include 10 | 11 | #endif // include guard 12 | 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/thread/csbl/memory/config.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Vicente J. Botet Escriba 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // 2013/10 Vicente J. Botet Escriba 7 | // Creation. 8 | 9 | #ifndef BOOST_CSBL_MEMORY_CONFIG_HPP 10 | #define BOOST_CSBL_MEMORY_CONFIG_HPP 11 | 12 | #include 13 | 14 | #include 15 | 16 | #endif // header 17 | -------------------------------------------------------------------------------- /.travis/script-osx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Keep a raw log of cmake's output 4 | BUILD_LOG=$TRAVIS_BUILD_DIR/BUILD/raw_build.log 5 | XCPRETTY='xcpretty --simple --no-utf --no-color' 6 | 7 | # Make cmake failure an overall failure 8 | set -o pipefail 9 | cmake --build $TRAVIS_BUILD_DIR/BUILD --config Release --target install | tee $BUILD_LOG | $XCPRETTY 10 | CMAKE_EXIT=$? 11 | set +o pipefail 12 | 13 | if [[ $CMAKE_EXIT != 0 ]]; then 14 | echo "Build failed. Log:" 15 | cat $BUILD_LOG 16 | fi 17 | 18 | exit $CMAKE_EXIT 19 | -------------------------------------------------------------------------------- /HelpSource/Classes/LagControl.schelp: -------------------------------------------------------------------------------- 1 | class:: LagControl 2 | summary:: Lagged control input 3 | related:: Classes/Control, Classes/TrigControl 4 | categories:: UGens>Synth control 5 | 6 | 7 | Description:: 8 | 9 | code::Control:: ugen with fixed-time lags. 10 | 11 | classmethods:: 12 | 13 | private::ir 14 | 15 | method::kr 16 | 17 | argument::values 18 | 19 | Initial value (code::Float:: or code::Array:: of Floats). 20 | 21 | argument::lags 22 | 23 | Lag times (code::Float:: or code::Array:: of Floats). 24 | 25 | 26 | -------------------------------------------------------------------------------- /HelpSource/Classes/SynthDescLib.schelp: -------------------------------------------------------------------------------- 1 | class:: SynthDescLib 2 | summary:: SynthDesc library 3 | categories:: Server>Nodes 4 | related:: Classes/SynthDesc 5 | 6 | description:: 7 | See link::Classes/SynthDesc:: 8 | 9 | INSTANCEMETHODS:: 10 | 11 | method:: add 12 | Add a SynthDesc to this SynthDescLib. Doing this triggers an update message with the key code::\synthDescAdded:: for any dependants this lib may have. See link::Classes/Object#Dependancy::. 13 | ARGUMENT:: synthdesc 14 | The link::Classes/SynthDesc:: to be added. 15 | -------------------------------------------------------------------------------- /cmake_modules/FindAvahi.cmake: -------------------------------------------------------------------------------- 1 | find_library(AVAHI_LIBRARY-COMMON NAMES avahi-common) 2 | find_library(AVAHI_LIBRARY-CLIENT NAMES avahi-client) 3 | find_path(AVAHI_INCLUDE_DIR avahi-client/publish.h) 4 | 5 | include(FindPackageHandleStandardArgs) 6 | find_package_handle_standard_args(Avahi DEFAULT_MSG AVAHI_LIBRARY-COMMON AVAHI_LIBRARY-CLIENT AVAHI_INCLUDE_DIR) 7 | 8 | if(AVAHI_FOUND) 9 | set(AVAHI_LIBRARIES ${AVAHI_LIBRARY-COMMON} ${AVAHI_LIBRARY-CLIENT}) 10 | set(AVAHI_INCLUDE_DIRS ${AVAHI_INCLUDE_DIR}) 11 | endif() 12 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/align/align.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014-2015 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_ALIGN_ALIGN_HPP 9 | #define BOOST_ALIGN_ALIGN_HPP 10 | 11 | #include 12 | 13 | #if !defined(BOOST_NO_CXX11_STD_ALIGN) 14 | #include 15 | #else 16 | #include 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/other.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2013-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_OTHER_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_OTHER_H 10 | #define BOOST_PREDEF_OTHER_H 11 | #endif 12 | 13 | #include 14 | /*#include */ 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/utility/addressof.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_ADDRESSOF_HPP 10 | #define BOOST_UTILITY_ADDRESSOF_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/addressof.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/utility/enable_if.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_ENABLE_IF_HPP 10 | #define BOOST_UTILITY_ENABLE_IF_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/enable_if.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /HelpSource/Classes/MultiOutUGen.schelp: -------------------------------------------------------------------------------- 1 | class:: MultiOutUGen 2 | summary:: Superclass for all UGens with multiple outputs 3 | categories:: UGens>Base 4 | related:: Classes/OutputProxy 5 | 6 | Description:: 7 | This is a superclass for all UGens with multiple outputs. 8 | MultiOutUGen creates the link::Classes/OutputProxy:: ugens needed for the multiple outputs. 9 | 10 | classmethods:: 11 | private:: categories 12 | 13 | instancemethods:: 14 | 15 | method:: initOutputs 16 | Create an array of OutputProxies for the outputs. 17 | 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/checked_delete.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_CHECKED_DELETE_HPP 10 | #define BOOST_CHECKED_DELETE_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/checked_delete.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/hardware.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Charly Chevalier 2015 3 | Copyright Joel Falcou 2015 4 | Distributed under the Boost Software License, Version 1.0. 5 | (See accompanying file LICENSE_1_0.txt or copy at 6 | http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #if !defined(BOOST_PREDEF_HARDWARE_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 10 | #ifndef BOOST_PREDEF_HARDWARE_H 11 | #define BOOST_PREDEF_HARDWARE_H 12 | #endif 13 | 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/library.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2008-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LIBRARY_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LIBRARY_H 10 | #define BOOST_PREDEF_LIBRARY_H 11 | #endif 12 | 13 | #include 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /.travis/before-script-osx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | EXTRA_CMAKE_FLAGS= 4 | 5 | if $USE_SYSLIBS; then 6 | EXTRA_CMAKE_FLAGS="-DSYSTEM_BOOST=ON -DSYSTEM_YAMLCPP=ON" 7 | fi 8 | 9 | if $SHARED_LIBSCSYNTH; then 10 | EXTRA_CMAKE_FLAGS="-DLIBSCSYNTH=ON $EXTRA_CMAKE_FLAGS" 11 | fi 12 | 13 | cmake -G"Xcode" \ 14 | -DRULE_LAUNCH_COMPILE=ccache \ 15 | -DCMAKE_PREFIX_PATH=`brew --prefix qt5` \ 16 | -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 \ 17 | -DSUPERNOVA=ON \ 18 | $EXTRA_CMAKE_FLAGS \ 19 | $TRAVIS_BUILD_DIR --debug-output 20 | -------------------------------------------------------------------------------- /external_libraries/boost_sync/meta/libraries.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "sync", 3 | "name": "Sync", 4 | "authors": [ 5 | "Tim Blechmann", 6 | "Andrey Semashev" 7 | ], 8 | "description": "Thread synchronization primitives.", 9 | "category": [ 10 | "Concurrent" 11 | ], 12 | "maintainers": [ 13 | "Tim Blechmann ", 14 | "Andrey Semashev ", 15 | "Vicente J. Botet Escriba " 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestProcessCreation.sc: -------------------------------------------------------------------------------- 1 | TestProcessCreation : UnitTest { 2 | 3 | test_string_unixCmdGetStdOut { 4 | this.assert("echo hello world".unixCmdGetStdOut == "hello world\n", 5 | "calling the program echo with a certain string should return the same string." 6 | ) 7 | } 8 | 9 | 10 | test_collection_unixCmdGetStdOut { 11 | this.assert(["echo", "hello", "world"].unixCmdGetStdOut == "hello world\n", 12 | "calling the program echo with a certain string should return the same string." 13 | ) 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /HelpSource/Classes/Pdrop.schelp: -------------------------------------------------------------------------------- 1 | class:: Pdrop 2 | summary:: skips (drops) the first n events from a pattern 3 | related:: Classes/Pclutch 4 | categories:: Streams-Patterns-Events>Patterns 5 | 6 | description:: 7 | 8 | Skips an initial (count) number of events from a pattern. 9 | 10 | ClassMethods:: 11 | 12 | method::new 13 | drops strong::count:: elements of the strong::pattern:: from the stream. 14 | 15 | Examples:: 16 | 17 | code:: 18 | 19 | ( 20 | p = Pdrop(2, Pseq([1,2,3,4],6)); 21 | q = p.asStream.nextN(20).postln; 22 | ) 23 | 24 | :: 25 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mp11/version.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_MP11_VERSION_HPP_INCLUDED 2 | #define BOOST_MP11_VERSION_HPP_INCLUDED 3 | 4 | // Copyright 2019 Peter Dimov 5 | // 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // 8 | // See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt 10 | 11 | // Same format as BOOST_VERSION: 12 | // major * 100000 + minor * 100 + patch 13 | 14 | #define BOOST_MP11_VERSION 107400 15 | 16 | #endif // #ifndef BOOST_MP11_VERSION_HPP_INCLUDED 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/end.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_END_HPP_INCLUDED 3 | #define BOOST_MPL_END_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_END_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /testsuite/server/supernova/sc_synth_prototype_test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "sc/sc_synth_prototype.hpp" 4 | #include "server/synth_factory.hpp" 5 | 6 | using namespace nova; 7 | using namespace std; 8 | 9 | BOOST_AUTO_TEST_CASE(sc_synth_factory) { 10 | synth_factory factory; 11 | 12 | const char* home_ptr = getenv("HOME"); 13 | BOOST_REQUIRE(home_ptr != 0); 14 | 15 | path home(home_ptr); 16 | 17 | register_synthdefs(factory, sc_read_synthdefs_dir(home / "share/SuperCollider/synthdefs")); 18 | } 19 | -------------------------------------------------------------------------------- /SCClassLibrary/JITLib/ProxySpace/TempoBusClock.sc: -------------------------------------------------------------------------------- 1 | TempoBusClock : TempoClock { 2 | var <>control; 3 | classvar <>default; 4 | 5 | *new { | control, tempo, beats, seconds | 6 | ^super.new(tempo, beats, seconds).control_(control) 7 | } 8 | 9 | setTempoAtBeat { | newTempo, beats | 10 | control.set(\fadeTime, 0.0, \tempo, newTempo); 11 | ^super.setTempoAtBeat(newTempo, beats) 12 | } 13 | 14 | setTempoAtSec { | newTempo, secs | 15 | control.set(\fadeTime, 0.0, \tempo, newTempo) 16 | ^super.setTempoAtSec(newTempo, secs) 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /SCDoc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(SCDOC_DIR ${CMAKE_SOURCE_DIR}/SCDoc) 2 | 3 | set(SCDOC_SRCS 4 | ${SCDOC_DIR}/SCDoc.cpp 5 | ${SCDOC_DIR}/SCDoc.h 6 | ${SCDOC_DIR}/SCDoc.tab.cpp 7 | ${SCDOC_DIR}/lex.scdoc.cpp 8 | ${SCDOC_DIR}/SCDocPrim.cpp 9 | ${SCDOC_DIR}/SCDocPrim.h 10 | ) 11 | 12 | if(CMAKE_COMPILER_IS_CLANG) 13 | set_source_files_properties( 14 | ${SCDOC_DIR}/lex.scdoc.cpp 15 | PROPERTIES COMPILE_FLAGS "-Wno-deprecated-register -Wno-null-conversion") 16 | endif() 17 | 18 | include_directories( 19 | ${SCDOC_DIR} 20 | ) 21 | 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/config/platform/amigaos.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2002. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | #define BOOST_PLATFORM "AmigaOS" 9 | 10 | #define BOOST_DISABLE_THREADS 11 | #define BOOST_NO_CWCHAR 12 | #define BOOST_NO_STD_WSTRING 13 | #define BOOST_NO_INTRINSIC_WCHAR_T 14 | 15 | 16 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/next.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_NEXT_HPP_INCLUDED 3 | #define BOOST_MPL_NEXT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_NEXT_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /server/scsynth/iPhone/iscsynthAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // iscsynthAppDelegate.h 3 | // iscsynth 4 | // 5 | // Created by Axel Balley on 20/10/08. 6 | // Copyright __MyCompanyName__ 2008. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface iscsynthAppDelegate : NSObject { 12 | UIWindow* window; 13 | IBOutlet UITabBarController* tabBarController; 14 | IBOutlet UITableViewController* tableViewController; 15 | } 16 | 17 | @property (nonatomic, retain) IBOutlet UIWindow* window; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/chrono/chrono.hpp: -------------------------------------------------------------------------------- 1 | // chrono.hpp --------------------------------------------------------------// 2 | 3 | // Copyright 2009-2011 Vicente J. Botet Escriba 4 | 5 | // Distributed under the Boost Software License, Version 1.0. 6 | // See http://www.boost.org/LICENSE_1_0.txt 7 | 8 | #ifndef BOOST_CHRONO_CHRONO_HPP 9 | #define BOOST_CHRONO_CHRONO_HPP 10 | 11 | #include 12 | #include 13 | #include 14 | 15 | #endif // BOOST_CHRONO_CHRONO_HPP 16 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/begin.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_BEGIN_HPP_INCLUDED 3 | #define BOOST_MPL_BEGIN_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_BEGIN_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/prior.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_PRIOR_HPP_INCLUDED 3 | #define BOOST_MPL_PRIOR_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_PRIOR_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Core/Semaphore.sc: -------------------------------------------------------------------------------- 1 | Semaphore { 2 | var 15 | 16 | #endif // #ifndef BOOST_MAKE_SHARED_HPP_INCLUDED 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/move/detail/config_end.hpp: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // (C) Copyright Ion Gaztanaga 2012-2012. Distributed under the Boost 4 | // Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | // 7 | // See http://www.boost.org/libs/move for documentation. 8 | // 9 | ////////////////////////////////////////////////////////////////////////////// 10 | #if defined BOOST_MSVC 11 | # pragma warning (pop) 12 | #endif 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/multi_index/detail/restore_wstrict_aliasing.hpp: -------------------------------------------------------------------------------- 1 | /* Copyright 2003-2016 Joaquin M Lopez Munoz. 2 | * Distributed under the Boost Software License, Version 1.0. 3 | * (See accompanying file LICENSE_1_0.txt or copy at 4 | * http://www.boost.org/LICENSE_1_0.txt) 5 | * 6 | * See http://www.boost.org/libs/multi_index for library home page. 7 | */ 8 | 9 | #define BOOST_MULTI_INDEX_DETAIL_RESTORE_WSTRICT_ALIASING 10 | #include 11 | #undef BOOST_MULTI_INDEX_DETAIL_RESTORE_WSTRICT_ALIASING 12 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/multi_index/detail/undef_if_constexpr_macro.hpp: -------------------------------------------------------------------------------- 1 | /* Copyright 2003-2020 Joaquin M Lopez Munoz. 2 | * Distributed under the Boost Software License, Version 1.0. 3 | * (See accompanying file LICENSE_1_0.txt or copy at 4 | * http://www.boost.org/LICENSE_1_0.txt) 5 | * 6 | * See http://www.boost.org/libs/multi_index for library home page. 7 | */ 8 | 9 | #define BOOST_MULTI_INDEX_DETAIL_UNDEF_IF_CONSTEXPR_MACRO 10 | #include 11 | #undef BOOST_MULTI_INDEX_DETAIL_UNDEF_IF_CONSTEXPR_MACRO 12 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Control/asBus.sc: -------------------------------------------------------------------------------- 1 | + Server { 2 | asBus { arg rate,numChannels=1; 3 | ^Bus.alloc(rate,this,numChannels) 4 | } 5 | } 6 | 7 | + Bus { 8 | asBus { ^this } 9 | } 10 | 11 | + Integer { 12 | asBus { arg rate = \control,numChannels=1,server; 13 | ^Bus.new(rate,this,numChannels,server) 14 | } 15 | } 16 | 17 | + Nil { 18 | asBus { arg rate,numChannels=1,server; 19 | ^if(rate == \audio,{ 20 | Bus(\audio,0,numChannels,server); // out yer speakers 21 | },{ 22 | Bus.alloc(\control,server,numChannels); // private control bus 23 | }) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /external_libraries/TLSF-2.4.6/src/Makefile: -------------------------------------------------------------------------------- 1 | WARNINGS = -Wextra -Wall -Wwrite-strings -Wstrict-prototypes \ 2 | -Wmissing-prototypes -Wno-long-long -Wstrict-aliasing=2 3 | 4 | CFLAGS+= -g -O2 -I$(TLSF_PATH) $(WARNINGS) 5 | CFLAGS+= -DTLSF_USE_LOCKS=1 6 | CFLAGS+= -DUSE_MMAP=1 7 | CFLAGS+= -DUSE_SBRK=1 8 | 9 | # CFLAGS+=-ftest-coverage -fprofile-arcs 10 | CC=gcc 11 | 12 | all: tlsf.o 13 | 14 | tlsf.o: tlsf.h tlsf.c Makefile 15 | 16 | clean: 17 | $(RM) -rf *.o *~ *.c.gcov *.gcda *.gcno 18 | 19 | indent: 20 | indent -kr -l120 -br -ce -npsl -nut -i4 *.[hc] 21 | 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/weak_ptr.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_WEAK_PTR_HPP_INCLUDED 2 | #define BOOST_WEAK_PTR_HPP_INCLUDED 3 | 4 | // 5 | // weak_ptr.hpp 6 | // 7 | // Copyright (c) 2001, 2002, 2003 Peter Dimov 8 | // 9 | // Distributed under the Boost Software License, Version 1.0. 10 | // See accompanying file LICENSE_1_0.txt or copy at 11 | // http://www.boost.org/LICENSE_1_0.txt 12 | // 13 | // See http://www.boost.org/libs/smart_ptr/ for documentation. 14 | // 15 | 16 | #include 17 | 18 | #endif // #ifndef BOOST_WEAK_PTR_HPP_INCLUDED 19 | -------------------------------------------------------------------------------- /HelpSource/Classes/PdefnAllGui.schelp: -------------------------------------------------------------------------------- 1 | TITLE:: PdefnAllGui 2 | summary:: show all current Pdefns as code 3 | categories:: JITLib>GUI, Live Coding 4 | related:: Classes/Pdefn, Classes/PdefnGui 5 | 6 | DESCRIPTION:: 7 | PdefnAllGui displays all current Pdefns as code. 8 | See also TdefAllGui for general info, search functions, etc. 9 | 10 | CLASSMETHODS:: 11 | 12 | METHOD:: observedClass 13 | Pdefn 14 | 15 | METHOD:: tpGuiClass 16 | PdefnGui 17 | 18 | EXAMPLES:: 19 | 20 | code:: 21 | PdefnAllGui((); 22 | Pdefn(\a, 1); 23 | Pdefn(\b, [1, 2, 3]); 24 | Pdefn(\x, Pwhite()); 25 | :: 26 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/config/platform/cray.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2011. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | 7 | // See http://www.boost.org for most recent version. 8 | 9 | // SGI Irix specific config options: 10 | 11 | #define BOOST_PLATFORM "Cray" 12 | 13 | // boilerplate code: 14 | #define BOOST_HAS_UNISTD_H 15 | #include 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/parameter/aux_/use_default.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams, Daniel Wallin 2003. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_PARAMETER_AUX_USE_DEFAULT_HPP 7 | #define BOOST_PARAMETER_AUX_USE_DEFAULT_HPP 8 | 9 | namespace boost { namespace parameter { namespace aux { 10 | 11 | struct use_default 12 | { 13 | }; 14 | }}} // namespace boost::parameter::aux 15 | 16 | #endif // include guard 17 | 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/thread/executor.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2013 Vicente J. Botet Escriba 2 | // 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | // 6 | // 2013/09 Vicente J. Botet Escriba 7 | // Adapt to boost from CCIA C++11 implementation 8 | 9 | #ifndef BOOST_THREAD_EXECUTOR_HPP 10 | #define BOOST_THREAD_EXECUTOR_HPP 11 | 12 | #include 13 | #include 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/test_main.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | /// @file 9 | /// @brief forwarding source 10 | // *************************************************************************** 11 | 12 | #define BOOST_TEST_SOURCE 13 | #include 14 | 15 | // EOF 16 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/container/detail/config_end.hpp: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // (C) Copyright Ion Gaztanaga 2005-2013. Distributed under the Boost 4 | // Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | // 7 | // See http://www.boost.org/libs/container for documentation. 8 | // 9 | ////////////////////////////////////////////////////////////////////////////// 10 | #if defined BOOST_MSVC 11 | #pragma warning (pop) 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /HelpSource/Classes/LagIn.schelp: -------------------------------------------------------------------------------- 1 | class:: LagIn 2 | summary:: Read a control signal from a bus with a lag 3 | related:: Classes/In, Classes/InFeedback 4 | categories:: UGens>InOut 5 | 6 | 7 | Description:: 8 | 9 | Read a control signal from a bus with a lag. 10 | 11 | 12 | classmethods:: 13 | 14 | method::kr 15 | 16 | argument::bus 17 | 18 | The index of the bus to read in from. 19 | 20 | 21 | argument::numChannels 22 | 23 | The number of channels (i.e. adjacent buses) to read in. You 24 | cannot modulate this number. 25 | 26 | 27 | argument::lag 28 | 29 | Lag factor. 30 | 31 | 32 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Control/asMIDIPort.sc: -------------------------------------------------------------------------------- 1 | + SequenceableCollection { 2 | asMIDIInPortUID { 3 | ^this.collect(_.asMIDIInPortUID) 4 | } 5 | } 6 | 7 | + SimpleNumber { 8 | asMIDIInPortUID { 9 | // a low positive number is assumed to be an index to the desired port 10 | if(this.isPositive and: { this < MIDIClient.sources.size }, { 11 | ^MIDIClient.sources[this].uid 12 | }); 13 | // a high-magnitude number is a UID 14 | ^this 15 | } 16 | } 17 | 18 | + MIDIEndPoint { 19 | asMIDIInPortUID { 20 | ^this.uid 21 | } 22 | } 23 | 24 | + Nil { 25 | asMIDIInPortUID {} 26 | } 27 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Core/Message.sc: -------------------------------------------------------------------------------- 1 | Message { 2 | var <>receiver, <>selector, <>args; 3 | 4 | *new { arg receiver, selector, args; 5 | ^super.newCopyArgs(receiver, selector, args); 6 | } 7 | value { arg ... moreArgs; 8 | ^receiver.performList(selector, args ++ moreArgs); 9 | } 10 | storeArgs { ^[receiver, selector, args] } 11 | } 12 | 13 | MethodQuote { 14 | var <>selector; 15 | 16 | *new { arg selector; 17 | ^super.newCopyArgs(selector); 18 | } 19 | value { arg receiver ... args; 20 | ^receiver.performList(selector, args); 21 | } 22 | storeArgs { ^[selector] } 23 | } 24 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/align/aligned_allocator_forward.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_ALIGN_ALIGNED_ALLOCATOR_FORWARD_HPP 9 | #define BOOST_ALIGN_ALIGNED_ALLOCATOR_FORWARD_HPP 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace alignment { 15 | 16 | template 17 | class aligned_allocator; 18 | 19 | } /* alignment */ 20 | } /* boost */ 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/align/detail/alignment_of_cxx11.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CXX11_HPP 9 | #define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CXX11_HPP 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace alignment { 15 | namespace detail { 16 | 17 | using std::alignment_of; 18 | 19 | } /* detail */ 20 | } /* alignment */ 21 | } /* boost */ 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/type.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright David Abrahams 2001. 2 | // Distributed under the Boost Software License, Version 1.0. (See 3 | // accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_TYPE_DWA20010120_HPP 7 | # define BOOST_TYPE_DWA20010120_HPP 8 | 9 | namespace boost { 10 | 11 | // Just a simple "type envelope". Useful in various contexts, mostly to work 12 | // around some MSVC deficiencies. 13 | template 14 | struct type {}; 15 | 16 | } 17 | 18 | #endif // BOOST_TYPE_DWA20010120_HPP 19 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/utility/explicit_operator_bool.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 Glen Fernandes 3 | * 4 | * Distributed under the Boost Software License, Version 1.0. (See 5 | * accompanying file LICENSE_1_0.txt or copy at 6 | * http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | 9 | #ifndef BOOST_UTILITY_EXPLICIT_OPERATOR_BOOL_HPP 10 | #define BOOST_UTILITY_EXPLICIT_OPERATOR_BOOL_HPP 11 | 12 | // The header file at this path is deprecated; 13 | // use boost/core/explicit_operator_bool.hpp instead. 14 | 15 | #include 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/parameter/aux_/lambda_tag.hpp: -------------------------------------------------------------------------------- 1 | // Copyright David Abrahams, Daniel Wallin 2003. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_PARAMETER_AUX_LAMBDA_TAG_HPP 7 | #define BOOST_PARAMETER_AUX_LAMBDA_TAG_HPP 8 | 9 | namespace boost { namespace parameter { namespace aux { 10 | 11 | // Tag type passed to MPL lambda. 12 | struct lambda_tag; 13 | }}} // namespace boost::parameter::aux 14 | 15 | #endif // include guard 16 | 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/scoped_ptr.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_SCOPED_PTR_HPP_INCLUDED 2 | #define BOOST_SCOPED_PTR_HPP_INCLUDED 3 | 4 | // (C) Copyright Greg Colvin and Beman Dawes 1998, 1999. 5 | // Copyright (c) 2001, 2002 Peter Dimov 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See 8 | // accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/smart_ptr/ for documentation. 12 | 13 | #include 14 | 15 | #endif // #ifndef BOOST_SCOPED_PTR_HPP_INCLUDED 16 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/test_framework_init_observer.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Raffi Enficiaud 2017. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | //! @file 9 | //! Forwarding source 10 | // ************************************************************************** 11 | 12 | #define BOOST_TEST_SOURCE 13 | #include 14 | 15 | // EOF 16 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/intrusive_ptr.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_INTRUSIVE_PTR_HPP_INCLUDED 2 | #define BOOST_INTRUSIVE_PTR_HPP_INCLUDED 3 | 4 | // 5 | // intrusive_ptr.hpp 6 | // 7 | // Copyright (c) 2001, 2002 Peter Dimov 8 | // 9 | // Distributed under the Boost Software License, Version 1.0. 10 | // See accompanying file LICENSE_1_0.txt or copy at 11 | // http://www.boost.org/LICENSE_1_0.txt 12 | // 13 | // See http://www.boost.org/libs/smart_ptr/ for documentation. 14 | // 15 | 16 | #include 17 | 18 | #endif // #ifndef BOOST_INTRUSIVE_PTR_HPP_INCLUDED 19 | -------------------------------------------------------------------------------- /HelpSource/Classes/TrigControl.schelp: -------------------------------------------------------------------------------- 1 | class:: TrigControl 2 | summary:: FIXME: TrigControl purpose. 3 | related:: Classes/Control, Classes/LagControl 4 | categories:: UGens>Synth control, UGens>Undocumented 5 | 6 | 7 | Description:: 8 | 9 | FIXME: TrigControl description. 10 | 11 | 12 | classmethods:: 13 | 14 | method::kr, ir 15 | 16 | argument::values 17 | 18 | FIXME: explain parameter values. 19 | 20 | 21 | method::names 22 | 23 | argument::names 24 | 25 | FIXME: explain parameter names. 26 | 27 | 28 | returns:: Returns: 29 | 30 | A newly created 31 | link::Classes/UGen:: . 32 | 33 | 34 | -------------------------------------------------------------------------------- /common/SC_ServerBootDelayWarning.h: -------------------------------------------------------------------------------- 1 | // Add a warning when Windows Defender delays scsynth boot by 60+ seconds 2 | // cf. github issue #4368 3 | 4 | #pragma once 5 | 6 | // On Windows, starts a timer that will display a warning message 7 | // after 10 seconds if the server has not booted, 8 | // which may be due to Windows Defender. 9 | // On other platforms, it does not do anything. 10 | // Must be called at the start of the server boot sequence. 11 | void startServerBootDelayWarningTimer(); 12 | 13 | // Must be called at the end of the server boot sequence. 14 | void stopServerBootDelayWarningTimer(); 15 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/predef/check/predef.jam: -------------------------------------------------------------------------------- 1 | # Copyright Rene Rivera 2016 2 | # Distributed under the Boost Software License, Version 1.0. 3 | # (See accompanying file LICENSE_1_0.txt or copy at 4 | # http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | # Hack, to reload check/predef.jam at its new location. 7 | import modules ; 8 | local _loaded_ ; 9 | for local _module_ in [ modules.peek modules : .loaded ] 10 | { 11 | if $(_module_) != "predef" 12 | { 13 | _loaded_ += $(_module_) ; 14 | } 15 | } 16 | modules.poke modules : .loaded : $(_loaded_) ; 17 | import ../tools/check/predef ; 18 | -------------------------------------------------------------------------------- /HelpSource/Classes/RefCopy.schelp: -------------------------------------------------------------------------------- 1 | class::RefCopy 2 | summary::a reference to the copy of a value 3 | categories::Core 4 | 5 | description:: 6 | A Ref instance is an object with a single slot named 'value' that serves as a holder of an object. 7 | RefCopy, in difference to Ref, returns only copies of the value when next is called. 8 | This can be useful when the original is to be kept unchanged. 9 | 10 | see link::Classes/Ref:: for other methods. 11 | 12 | examples:: 13 | 14 | code:: 15 | a = [1, 2, 3]; 16 | x = RefCopy(a); 17 | b = x.next; 18 | b.put(0, 100); // modify b 19 | a; // a is unchanged. 20 | :: 21 | -------------------------------------------------------------------------------- /HelpSource/Reference/Expression-Sequence.schelp: -------------------------------------------------------------------------------- 1 | title:: Expression Sequence 2 | summary:: sequence of expressions 3 | categories:: Language 4 | 5 | A sequence of expressions separated by semicolons and optionally terminated by a semicolon are a single expression whose value is the value of the last expression. Such a sequence may be used anywhere that a normal expression may be used. 6 | code:: 7 | max( b = a * 2; b + 5, 10); // computes the maximum of b+5 and 10 8 | :: 9 | In the above example, the sequence: code:: b = a * 2; b + 5 :: acts as a single expression for the first argument to code::max()::. 10 | 11 | -------------------------------------------------------------------------------- /QtCollider/QcHelper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Common.h" 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | struct QcHelper { 11 | protected: 12 | QcHelper() {} 13 | float dummyFloat() const { return 0; } 14 | int dummyInt() const { return 0; } 15 | bool dummyBool() const { return false; } 16 | QString dummyString() const { return QString(); } 17 | QColor dummyColor() const { return QColor(); } 18 | QFont dummyFont() const { return QFont(); } 19 | QVariantList dummyVariantList() const { return QVariantList(); } 20 | }; 21 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/GUI/Base/Gradient.sc: -------------------------------------------------------------------------------- 1 | Gradient { 2 | var color1, color2, direction, steps; 3 | *new { arg color1, color2, direction=\h, steps=64; 4 | ^super.newCopyArgs(color1, color2, direction, steps) 5 | } 6 | at { |pos| 7 | ^blend(color1, color2, pos.round(steps.reciprocal)) 8 | } 9 | } 10 | 11 | HiliteGradient { 12 | var color1, color2, direction, steps, frac; 13 | *new { arg color1, color2, direction=\v, steps=64, frac = 0.33; 14 | ^super.newCopyArgs(color1, color2, direction, steps, frac) 15 | } 16 | at { |pos| 17 | ^blend(color1, color2, pos.round(steps.reciprocal)) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/fusion/include/tuple.hpp: -------------------------------------------------------------------------------- 1 | /*============================================================================= 2 | Copyright (c) 2001-2007 Joel de Guzman 3 | 4 | Distributed under the Boost Software License, Version 1.0. (See accompanying 5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | ==============================================================================*/ 7 | #if !defined(FUSION_INCLUDE_TUPLE) 8 | #define FUSION_INCLUDE_TUPLE 9 | 10 | #include 11 | #include 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/scoped_array.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_SCOPED_ARRAY_HPP_INCLUDED 2 | #define BOOST_SCOPED_ARRAY_HPP_INCLUDED 3 | 4 | // (C) Copyright Greg Colvin and Beman Dawes 1998, 1999. 5 | // Copyright (c) 2001, 2002 Peter Dimov 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. (See 8 | // accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/smart_ptr/ for documentation. 12 | 13 | #include 14 | 15 | #endif // #ifndef BOOST_SCOPED_ARRAY_HPP_INCLUDED 16 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/chrono/src/chrono.cpp: -------------------------------------------------------------------------------- 1 | // chrono.cpp --------------------------------------------------------------// 2 | 3 | // Copyright Beman Dawes 2008 4 | // Copyright Vicente J. Botet Escriba 2009-2010 5 | 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // See http://www.boost.org/LICENSE_1_0.txt 8 | 9 | // define BOOST_CHRONO_SOURCE so that knows 10 | // the library is being built (possibly exporting rather than importing code) 11 | 12 | #define BOOST_CHRONO_SOURCE 13 | 14 | #include 15 | 16 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## Purpose and Motivation 4 | 5 | 6 | 7 | ## Types of changes 8 | 9 | 10 | 11 | - Documentation 12 | - Bug fix 13 | - New feature 14 | - Breaking change 15 | 16 | ## To-do list 17 | 18 | 19 | 20 | - [ ] Code is tested 21 | - [ ] All tests are passing 22 | - [ ] Updated documentation 23 | - [ ] This PR is ready for review 24 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/intrusive/detail/config_end.hpp: -------------------------------------------------------------------------------- 1 | ///////////////////////////////////////////////////////////////////////////// 2 | // 3 | // (C) Copyright Ion Gaztanaga 2006-2013 4 | // 5 | // Distributed under the Boost Software License, Version 1.0. 6 | // (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | // 9 | // See http://www.boost.org/libs/intrusive for documentation. 10 | // 11 | ///////////////////////////////////////////////////////////////////////////// 12 | 13 | #if defined BOOST_MSVC 14 | #pragma warning (pop) 15 | #endif 16 | -------------------------------------------------------------------------------- /HelpSource/Classes/InterplPairs.schelp: -------------------------------------------------------------------------------- 1 | class:: InterplPairs 2 | summary:: envelope specification 3 | related:: Classes/InterplEnv 4 | categories:: Control, Envelopes 5 | 6 | description:: 7 | Takes an array of [x, y] pairs and a curve value for all break points. 8 | x values can be negative (for use in indexing with negative values or signals). 9 | See link::Classes/InterplEnv:: Help for more info. 10 | 11 | Examples:: 12 | 13 | code:: 14 | a = InterplPairs([[0, 1], [1, 2], [2, 0]], \sin); 15 | a.plot; 16 | 17 | a = InterplPairs([[-1, 1], [0, 2], [1, 0]], \sin); 18 | a.plot; 19 | a.at(-0.5); 20 | a.at(0.2); 21 | :: 22 | -------------------------------------------------------------------------------- /HelpSource/Classes/Pdict.schelp: -------------------------------------------------------------------------------- 1 | class:: Pdict 2 | summary:: pattern that embeds patterns from a dictionary 3 | categories:: JITLib>Patterns, Live Coding 4 | related:: Classes/Pbind 5 | 6 | description:: 7 | A general purpose lookup stream. 8 | 9 | Examples:: 10 | 11 | code:: 12 | SynthDescLib.read; 13 | 14 | ( 15 | e = ( 16 | a: Pbind(\dur, 0.1, \degree, Pseq([0, 5, 4, 3, 2])), 17 | b: Pbind(\dur, 0.06, \degree, Pseq([7, 8, 7, 8])), 18 | c: Pbind(\dur, 0.3, \degree, Pseq([0, 1, 2], 2)) 19 | ); 20 | 21 | x = Pdict(e, Pseq([ 22 | \a, \b, 23 | Prand([\a, \c]) 24 | ], 4) 25 | ); 26 | x.play; 27 | ) 28 | :: 29 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/chrono/detail/system.hpp: -------------------------------------------------------------------------------- 1 | // Copyright 2009-2010 Vicente J. Botet Escriba 2 | 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // See http://www.boost.org/LICENSE_1_0.txt 5 | 6 | #ifndef BOOST_CHRONO_DETAIL_SYSTEM_HPP 7 | #define BOOST_CHRONO_DETAIL_SYSTEM_HPP 8 | 9 | #if !defined BOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace chrono { 15 | inline bool is_throws(system::error_code & ec) { return (&ec==&boost::throws()); } 16 | } 17 | } 18 | 19 | #endif 20 | #endif 21 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestDoesNotUnderstandError.sc: -------------------------------------------------------------------------------- 1 | TestDoesNotUnderstandError : UnitTest { 2 | test_construction { 3 | var error; 4 | try { 3.bogusTestMethodNameXyz(4, 5) } { |e| error = e }; 5 | 6 | this.assertEquals(error.receiver, 3); 7 | this.assertEquals(error.selector, 'bogusTestMethodNameXyz'); 8 | this.assertEquals(error.args, [4, 5]); 9 | this.assertEquals(error.suggestedCorrection, nil); 10 | } 11 | 12 | test_suggestedCorrection { 13 | var error; 14 | try { Object().szie } { |e| error = e }; 15 | 16 | this.assertEquals(error.suggestedCorrection, Object.findMethod(\size)); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /SCClassLibrary/DefaultLibrary/extNumber.sc: -------------------------------------------------------------------------------- 1 | // method extensions 2 | // add or replace methods 3 | 4 | // This allows you to add or redefine methods without changing the original file. 5 | // A file may contain either class definitions, or method extensions, but never both. 6 | // Do not name an extension file with the same name as a class definition file. 7 | 8 | + Number { 9 | half { ^this * 0.5 } 10 | twice { ^this * 2 } 11 | } 12 | 13 | + Point { 14 | *big { arg x, y; 15 | ^this.new(2*x, 10*y) 16 | } 17 | swap { 18 | ^this.class.new(y, x) 19 | } 20 | conjugate { 21 | ^this.class.new(x, y.neg) 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /HelpSource/Classes/APF.schelp: -------------------------------------------------------------------------------- 1 | class:: APF 2 | summary:: FIXME: APF purpose. 3 | categories:: UGens>Filters>Linear, UGens>Undocumented 4 | 5 | 6 | Description:: 7 | 8 | FIXME: APF description. 9 | 10 | 11 | classmethods:: 12 | 13 | method::ar, kr 14 | 15 | argument::in 16 | 17 | FIXME: explain parameter in. 18 | 19 | 20 | argument::freq 21 | 22 | FIXME: explain parameter freq. 23 | 24 | 25 | argument::radius 26 | 27 | FIXME: explain parameter radius. 28 | 29 | 30 | argument::mul 31 | 32 | Output will be multiplied by this value. 33 | 34 | 35 | argument::add 36 | 37 | This value will be added to the output. 38 | 39 | -------------------------------------------------------------------------------- /HelpSource/Classes/InterplXYC.schelp: -------------------------------------------------------------------------------- 1 | class:: InterplXYC 2 | summary:: envelope specification 3 | related:: Classes/InterplEnv 4 | categories:: Control, Envelopes 5 | 6 | description:: 7 | Takes sets of x, y and curve values and returns a new instance of InterplEnv. 8 | x values can be negative (for use in indexing with negative values or signals). 9 | See link::Classes/InterplEnv:: Help for more info. 10 | 11 | Examples:: 12 | 13 | code:: 14 | a = InterplXYC([0, 0, \lin], [1, 2, \sin], [2, 0]); 15 | a.plot; 16 | 17 | a = InterplXYC([[-1, 1, \sin], [0, 2, \lin], [1, 0]]); 18 | a.plot; 19 | a.at(-0.5); 20 | a.at(0.2); 21 | :: 22 | -------------------------------------------------------------------------------- /HelpSource/Classes/ServerTree.schelp: -------------------------------------------------------------------------------- 1 | class:: ServerTree 2 | summary:: register actions to be taken to initialise a basic tree of groups on the server 3 | related:: Classes/Server, Classes/ServerQuit, Classes/ServerBoot, Classes/CmdPeriod 4 | categories:: Control 5 | 6 | description:: 7 | The singleton ServerTree provides a place for registering functions and objects for events that should happen when a given server has booted and when all synths are freed. This is to initialise a basic tree of groups on the server. 8 | 9 | See link::Classes/AbstractServerAction:: for usage. 10 | 11 | ClassMethods:: 12 | 13 | private::initClass 14 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/align/aligned_allocator_adaptor_forward.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_ALIGN_ALIGNED_ALLOCATOR_ADAPTOR_FORWARD_HPP 9 | #define BOOST_ALIGN_ALIGNED_ALLOCATOR_ADAPTOR_FORWARD_HPP 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace alignment { 15 | 16 | template 17 | class aligned_allocator_adaptor; 18 | 19 | } /* alignment */ 20 | } /* boost */ 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/fusion/include/std_pair.hpp: -------------------------------------------------------------------------------- 1 | /*============================================================================= 2 | Copyright (c) 2001-2007 Joel de Guzman 3 | 4 | Distributed under the Boost Software License, Version 1.0. (See accompanying 5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | ==============================================================================*/ 7 | #if !defined(FUSION_INCLUDE_STD_PAIR) 8 | #define FUSION_INCLUDE_STD_PAIR 9 | 10 | #include 11 | #include 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /testsuite/server/supernova/server_sc_osc_handler_test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | 5 | #include "../../source/server/sc_osc_handler.hpp" 6 | 7 | using namespace nova; 8 | 9 | BOOST_AUTO_TEST_CASE(sc_osc_handler_1) { 10 | const_cast(server_arguments::initialize(0, 0)).udp_port = 54321; 11 | sc_osc_handler handler(server_arguments::instance()); 12 | } 13 | 14 | BOOST_AUTO_TEST_CASE(sc_osc_handler_2) { 15 | const_cast(server_arguments::initialize(0, 0)).tcp_port = 54321; 16 | sc_osc_handler handler(server_arguments::instance()); 17 | } 18 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Geometry/Size.sc: -------------------------------------------------------------------------------- 1 | Size { 2 | var <>width = 0, <>height = 0; 3 | 4 | *new { arg width=0, height=0; 5 | ^super.newCopyArgs(width, height); 6 | } 7 | 8 | asSize { ^this } 9 | 10 | asRect { ^Rect(0, 0, width, height) } 11 | 12 | asPoint { ^Point(width, height) } 13 | 14 | == { arg size; 15 | ^this.compareObject(size, #[\width, \height]) 16 | } 17 | 18 | hash { 19 | ^this.instVarHash(#[\width, \height]) 20 | } 21 | 22 | printOn { |stream| 23 | this.storeOn(stream) 24 | } 25 | 26 | storeArgs { ^[width, height] } 27 | 28 | } 29 | 30 | + SimpleNumber { 31 | asSize { ^Size(this, this) } 32 | } 33 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/config/compiler/compaq_cxx.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright John Maddock 2001 - 2003. 2 | // Use, modification and distribution are subject to the 3 | // Boost Software License, Version 1.0. (See accompanying file 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org for most recent version. 7 | 8 | // Tru64 C++ compiler setup (now HP): 9 | 10 | #define BOOST_COMPILER "HP Tru64 C++ " BOOST_STRINGIZE(__DECCXX_VER) 11 | 12 | #include 13 | 14 | // 15 | // versions check: 16 | // Nothing to do here? 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/config/workaround.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #endif // BOOST_MPL_AUX_CONFIG_WORKAROUND_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/logical.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LOGICAL_HPP_INCLUDED 3 | #define BOOST_MPL_LOGICAL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | #include 19 | #include 20 | 21 | #endif // BOOST_MPL_LOGICAL_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/parameter/aux_/preprocessor/nullptr.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Cromwell D. Enage 2019. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_NULLPTR_HPP 7 | #define BOOST_PARAMETER_AUX_PREPROCESSOR_NULLPTR_HPP 8 | 9 | #include 10 | 11 | #if defined(BOOST_NO_CXX11_NULLPTR) 12 | #define BOOST_PARAMETER_AUX_PP_NULLPTR 0 13 | #else 14 | #define BOOST_PARAMETER_AUX_PP_NULLPTR nullptr 15 | #endif 16 | 17 | #endif // include guard 18 | 19 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/predef/language.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright Rene Rivera 2011-2015 3 | Distributed under the Boost Software License, Version 1.0. 4 | (See accompanying file LICENSE_1_0.txt or copy at 5 | http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_PREDEF_LANGUAGE_H) || defined(BOOST_PREDEF_INTERNAL_GENERATE_TESTS) 9 | #ifndef BOOST_PREDEF_LANGUAGE_H 10 | #define BOOST_PREDEF_LANGUAGE_H 11 | #endif 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/fusion/support/void.hpp: -------------------------------------------------------------------------------- 1 | /*============================================================================= 2 | Copyright (c) 2001-2011 Joel de Guzman 3 | 4 | Distributed under the Boost Software License, Version 1.0. (See accompanying 5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | ==============================================================================*/ 7 | #if !defined(BOOST_FUSION_SUPPORT_VOID_20070706_2125) 8 | #define BOOST_FUSION_SUPPORT_VOID_20070706_2125 9 | 10 | namespace boost { namespace fusion 11 | { 12 | struct void_ {}; 13 | }} 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/config/msvc.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2002-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | 18 | // BOOST_MSVC is defined here: 19 | #include 20 | 21 | #endif // BOOST_MPL_AUX_CONFIG_MSVC_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/less.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LESS_HPP_INCLUDED 3 | #define BOOST_MPL_LESS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME less 18 | #define AUX778076_OP_TOKEN < 19 | #include 20 | 21 | #endif // BOOST_MPL_LESS_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/plus.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_PLUS_HPP_INCLUDED 3 | #define BOOST_MPL_PLUS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME plus 18 | #define AUX778076_OP_TOKEN + 19 | #include 20 | 21 | #endif // BOOST_MPL_PLUS_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/optional.hpp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2003, Fernando Luis Cacciola Carballal. 2 | // 3 | // Use, modification, and distribution is subject to the Boost Software 4 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt) 6 | // 7 | // See http://www.boost.org/libs/optional for documentation. 8 | // 9 | // You are welcome to contact the author at: 10 | // fernando_cacciola@hotmail.com 11 | // 12 | #ifndef BOOST_OPTIONAL_FLC_19NOV2002_HPP 13 | #define BOOST_OPTIONAL_FLC_19NOV2002_HPP 14 | 15 | #include "boost/optional/optional.hpp" 16 | 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /testsuite/sclang/lpc/test_script.scd: -------------------------------------------------------------------------------- 1 | // Test script for lexer parser compiler test suite. 2 | // Brian Heim 3 | // 2017-03-04 4 | 5 | ( 6 | // execute all tests at once 7 | TestLexerBrutal.run; 8 | TestLexerTargetedBrutal.run; 9 | TestParserBrutal.run; 10 | TestCompilerBrutal.run; 11 | ) 12 | 13 | ( 14 | // other options 15 | LPCTestUtils.overwriteFiles = true; // default: false 16 | LPCTestUtils.strictOutputChecking = true; // default: false 17 | LPCTestUtils.doDebug = false; // default: true 18 | AbstractLPCBrutalTest.deleteActualFilesOnFinish = false; // default: true 19 | ) 20 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/interprocess/detail/config_external_end.hpp: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // (C) Copyright Ion Gaztanaga 2012-2012. Distributed under the Boost 4 | // Software License, Version 1.0. (See accompanying file 5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 | // 7 | // See http://www.boost.org/libs/interprocess for documentation. 8 | // 9 | ////////////////////////////////////////////////////////////////////////////// 10 | #if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) 11 | # pragma GCC diagnostic pop 12 | #endif 13 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mp11/detail/mp_list.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_MP11_DETAIL_MP_LIST_HPP_INCLUDED 2 | #define BOOST_MP11_DETAIL_MP_LIST_HPP_INCLUDED 3 | 4 | // Copyright 2015, 2016 Peter Dimov. 5 | // 6 | // Distributed under the Boost Software License, Version 1.0. 7 | // 8 | // See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt 10 | 11 | namespace boost 12 | { 13 | namespace mp11 14 | { 15 | 16 | // mp_list 17 | template struct mp_list 18 | { 19 | }; 20 | 21 | } // namespace mp11 22 | } // namespace boost 23 | 24 | #endif // #ifndef BOOST_MP11_DETAIL_MP_LIST_HPP_INCLUDED 25 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/minus.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_MINUS_HPP_INCLUDED 3 | #define BOOST_MPL_MINUS_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME minus 18 | #define AUX778076_OP_TOKEN - 19 | #include 20 | 21 | #endif // BOOST_MPL_MINUS_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/times.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_TIMES_HPP_INCLUDED 3 | #define BOOST_MPL_TIMES_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME times 18 | #define AUX778076_OP_TOKEN * 19 | #include 20 | 21 | #endif // BOOST_MPL_TIMES_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/range/iterator_range.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Range library 2 | // 3 | // Copyright Neil Groves 2009. 4 | // Use, modification and distribution is subject to the Boost Software 5 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | // 8 | // For more information, see http://www.boost.org/libs/range/ 9 | // 10 | #ifndef BOOST_RANGE_ITERATOR_RANGE_HPP_INCLUDED 11 | #define BOOST_RANGE_ITERATOR_RANGE_HPP_INCLUDED 12 | 13 | #include "boost/range/iterator_range_core.hpp" 14 | #include "boost/range/iterator_range_io.hpp" 15 | 16 | #endif // include guard 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/shared_ptr.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_SHARED_PTR_HPP_INCLUDED 2 | #define BOOST_SHARED_PTR_HPP_INCLUDED 3 | 4 | // 5 | // shared_ptr.hpp 6 | // 7 | // (C) Copyright Greg Colvin and Beman Dawes 1998, 1999. 8 | // Copyright (c) 2001-2008 Peter Dimov 9 | // 10 | // Distributed under the Boost Software License, Version 1.0. (See 11 | // accompanying file LICENSE_1_0.txt or copy at 12 | // http://www.boost.org/LICENSE_1_0.txt) 13 | // 14 | // See http://www.boost.org/libs/smart_ptr/ for documentation. 15 | // 16 | 17 | #include 18 | 19 | #endif // #ifndef BOOST_SHARED_PTR_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestTaskProxy.sc: -------------------------------------------------------------------------------- 1 | TestTaskProxy : UnitTest{ 2 | 3 | test_TaskProxy_playOnInstanceClock { 4 | var actualClock; 5 | var clock = TempoClock(2); 6 | var cond = Condition(); 7 | var proxy = TaskProxy{ actualClock = thisThread.clock; cond.unhang }; 8 | proxy.play; // needs to play once before setting clock_, otherwise playOnce sets the player's clock for us 9 | cond.hang; 10 | proxy.clock_(clock).play; 11 | cond.hang; 12 | this.assertEquals(actualClock, clock, "TaskProxy.play() should use instance's clock if no argClock is given"); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /HelpSource/Classes/Delay2.schelp: -------------------------------------------------------------------------------- 1 | class:: Delay2 2 | summary:: Two sample delay. 3 | related:: Classes/Delay1 4 | categories:: UGens>Delays 5 | 6 | 7 | Description:: 8 | 9 | Delays the input by 2 samples. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ar, kr 15 | 16 | argument::in 17 | Input signal. 18 | 19 | argument::mul 20 | Output will be multiplied by this value. 21 | 22 | argument::add 23 | This value will be added to the output. 24 | 25 | Examples:: 26 | 27 | code:: 28 | 29 | ( 30 | plot({ 31 | var z; 32 | z = Dust.ar(1000); 33 | [z, z - Delay2.ar(z)] // [ original, subtract delayed from original ] 34 | })) 35 | 36 | :: 37 | 38 | -------------------------------------------------------------------------------- /examples/pieces/hommage_a_duerer.scd: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Vera Molnar: Hommage à Duerer (1948-92) 4 | 5 | ( 6 | w = Window.new("Vera Molnar: Hommage a Duerer (1948-92)", Rect(20, 20, 720, 720), false).front; 7 | w.view.background_(Color.white); 8 | x = Array.fill2D(4, 4, _ @ _).flat.scramble * 20; 9 | w.drawFunc = { 10 | Pen.strokeColor = Color.black; 11 | Pen.translate(10, 10); 12 | 9.do { 13 | 9.do { 14 | Pen.moveTo(x.first); 15 | x.do { |point, i| 16 | Pen.lineTo(point); 17 | }; 18 | x = x.scramble; 19 | Pen.translate(80, 0); 20 | Pen.stroke; 21 | }; 22 | Pen.translate(80 * -9, 80); 23 | }; 24 | }; 25 | w.refresh; 26 | ) 27 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/config/intel.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | 18 | // BOOST_INTEL_CXX_VERSION is defined here: 19 | #include 20 | 21 | #endif // BOOST_MPL_AUX_CONFIG_INTEL_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/int.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_INT_HPP_INCLUDED 3 | #define BOOST_MPL_INT_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #define AUX_WRAPPER_VALUE_TYPE int 20 | #include 21 | 22 | #endif // BOOST_MPL_INT_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/limits/list.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_LIST_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_LIST_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_LIST_SIZE) 18 | # define BOOST_MPL_LIMIT_LIST_SIZE 20 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_LIST_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/typeof/constant.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Glen Joseph Fernandes 3 | (glenjofe@gmail.com) 4 | 5 | Distributed under the Boost Software License, Version 1.0. 6 | (http://www.boost.org/LICENSE_1_0.txt) 7 | */ 8 | #ifndef BOOST_TYPEOF_CONSTANT_HPP 9 | #define BOOST_TYPEOF_CONSTANT_HPP 10 | 11 | #include 12 | 13 | namespace boost { 14 | namespace type_of { 15 | 16 | template 17 | struct constant { 18 | typedef constant type; 19 | typedef constant next; 20 | BOOST_STATIC_CONSTANT(T, value=N); 21 | }; 22 | 23 | } /* type_of */ 24 | } /* boost */ 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/decorator.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2011. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | -------------------------------------------------------------------------------- /platform/linux/supercollider.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SuperCollider source code 6 | SuperCollider Quelltext 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /HelpSource/Classes/ClipNoise.schelp: -------------------------------------------------------------------------------- 1 | class:: ClipNoise 2 | summary:: Clip Noise. 3 | related:: Classes/BrownNoise, Classes/GrayNoise, Classes/PinkNoise, Classes/WhiteNoise 4 | categories:: UGens>Generators>Stochastic 5 | 6 | 7 | Description:: 8 | 9 | Generates noise whose values are either -1 or 1. This produces 10 | the maximum energy for the least peak to peak amplitude. 11 | 12 | 13 | classmethods:: 14 | 15 | method::ar, kr 16 | 17 | argument::mul 18 | Output will be multiplied by this value. 19 | 20 | argument::add 21 | This value will be added to the output. 22 | 23 | Examples:: 24 | 25 | code:: 26 | { ClipNoise.ar(0.2) }.play; 27 | :: 28 | 29 | -------------------------------------------------------------------------------- /HelpSource/Classes/Dstutter.schelp: -------------------------------------------------------------------------------- 1 | class:: Dstutter 2 | summary:: Demand rate input replicator 3 | categories:: UGens>Demand 4 | 5 | classmethods:: 6 | method:: new 7 | argument:: n 8 | number of repeats (can be a demand ugen) 9 | argument:: in 10 | input ugen 11 | discussion:: 12 | structurally related: link::Classes/Pstutter:: 13 | 14 | examples:: 15 | code:: 16 | ( 17 | { 18 | var freq, trig; 19 | var in = Dseq([1, 2, 3], inf); 20 | var rep = Dstutter(Diwhite(2, 8, inf), in); 21 | trig = Impulse.kr(MouseX.kr(1, 40, 1)); 22 | freq = Demand.kr(trig, 0, rep).poll(trig) * 30 + 340; 23 | SinOsc.ar(freq) * 0.1 24 | 25 | }.play; 26 | ) 27 | :: 28 | 29 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/enable_shared_from_this.hpp: -------------------------------------------------------------------------------- 1 | #ifndef BOOST_ENABLE_SHARED_FROM_THIS_HPP_INCLUDED 2 | #define BOOST_ENABLE_SHARED_FROM_THIS_HPP_INCLUDED 3 | 4 | // 5 | // enable_shared_from_this.hpp 6 | // 7 | // Copyright (c) 2002 Peter Dimov 8 | // 9 | // Distributed under the Boost Software License, Version 1.0. 10 | // See accompanying file LICENSE_1_0.txt or copy at 11 | // http://www.boost.org/LICENSE_1_0.txt 12 | // 13 | // See http://www.boost.org/libs/smart_ptr/ for documentation. 14 | // 15 | 16 | #include 17 | 18 | #endif // #ifndef BOOST_ENABLE_SHARED_FROM_THIS_HPP_INCLUDED 19 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/divides.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_DIVIDES_HPP_INCLUDED 3 | #define BOOST_MPL_DIVIDES_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME divides 18 | #define AUX778076_OP_TOKEN / 19 | #include 20 | 21 | #endif // BOOST_MPL_DIVIDES_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/greater.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_GREATER_HPP_INCLUDED 3 | #define BOOST_MPL_GREATER_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME greater 18 | #define AUX778076_OP_TOKEN > 19 | #include 20 | 21 | #endif // BOOST_MPL_GREATER_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/cpp_main.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | 20 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/framework.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/test_tools.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/test_tree.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | -------------------------------------------------------------------------------- /external_libraries/boost_sync/include/boost/sync/detail/footer.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Distributed under the Boost Software License, Version 1.0. 3 | * (See accompanying file LICENSE_1_0.txt or copy at 4 | * http://www.boost.org/LICENSE_1_0.txt) 5 | * 6 | * (C) Copyright 2013 Andrey Semashev 7 | */ 8 | 9 | #if !defined(BOOST_SYNC_ENABLE_WARNINGS) 10 | 11 | #if defined(_MSC_VER) 12 | 13 | #pragma warning(pop) 14 | 15 | #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 16 | 17 | #pragma GCC diagnostic pop 18 | 19 | #endif 20 | 21 | #endif // !defined(BOOST_SYNC_ENABLE_WARNINGS) 22 | 23 | #include 24 | -------------------------------------------------------------------------------- /testsuite/classlibrary/TestTask.sc: -------------------------------------------------------------------------------- 1 | TestTask : UnitTest { 2 | 3 | test_stop_internally { 4 | var running, stopped; 5 | var task = Task { 6 | running = true; 7 | 0.001.wait; 8 | stopped = true; 9 | task.stop; 10 | stopped = false; 11 | }; 12 | task.play; 13 | 0.002.wait; 14 | this.assert(stopped, "Task should stop itself immediately from within using the stop message"); 15 | 16 | } 17 | 18 | test_stop_without_running { 19 | var task = Task { 0.001.wait; task.stop; }; 20 | task.play; 21 | 0.002.wait; 22 | task.stop; 23 | this.assert(task.isPlaying.not, "Task be stoppable even if not running"); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /HelpSource/Classes/BPZ2.schelp: -------------------------------------------------------------------------------- 1 | class:: BPZ2 2 | summary:: Two zero fixed midpass. 3 | related:: Classes/BRZ2, Classes/HPZ2, Classes/LPZ2 4 | categories:: UGens>Filters>Linear 5 | 6 | 7 | Description:: 8 | 9 | A special case fixed filter. Implements the formula: 10 | 11 | code:: 12 | out(i) = 0.5 * (in(i) - in(i - 2)). 13 | :: 14 | 15 | This filter cuts out 0 Hz and the Nyquist frequency. 16 | 17 | 18 | classmethods:: 19 | 20 | method::ar, kr 21 | 22 | argument::in 23 | 24 | The input signal. 25 | 26 | Examples:: 27 | 28 | code:: 29 | //Compare: 30 | 31 | { WhiteNoise.ar(0.25) }.play; 32 | 33 | { BPZ2.ar(WhiteNoise.ar(0.25)) }.play; 34 | :: 35 | 36 | -------------------------------------------------------------------------------- /HelpSource/Classes/TDelay.schelp: -------------------------------------------------------------------------------- 1 | class:: TDelay 2 | summary:: Trigger delay. 3 | categories:: UGens>Triggers, UGens>Delays 4 | 5 | 6 | Description:: 7 | 8 | Delays a trigger by a given time. Any triggers which arrive in the time 9 | between an input trigger and its delayed output, are ignored. 10 | 11 | 12 | classmethods:: 13 | 14 | method::ar, kr 15 | 16 | argument::in 17 | 18 | Input trigger signal. 19 | 20 | 21 | argument::dur 22 | 23 | Delay time in seconds. 24 | 25 | 26 | Examples:: 27 | 28 | code:: 29 | 30 | ( 31 | { 32 | z = Impulse.ar(2); 33 | [z * 0.1, ToggleFF.ar(TDelay.ar(z, 0.5)) * SinOsc.ar(mul: 0.1)] 34 | }.scope) 35 | 36 | :: 37 | -------------------------------------------------------------------------------- /SCClassLibrary/Common/Audio/SoundIn.sc: -------------------------------------------------------------------------------- 1 | SoundIn { 2 | 3 | *ar { arg bus = 0, mul=1.0, add=0.0; 4 | var chanOffset; 5 | chanOffset = this.channelOffset; 6 | if(bus.isArray.not,{ 7 | ^In.ar(chanOffset + bus, 1).madd(mul,add) 8 | }); 9 | 10 | // check to see if channels array is consecutive [n,n+1,n+2...] 11 | if(bus.every({arg item, i; 12 | (i==0) or: {item == (bus.at(i-1)+1)} 13 | }),{ 14 | ^In.ar(chanOffset + bus.first, bus.size).madd(mul,add) 15 | },{ 16 | // allow In to multi channel expand 17 | ^In.ar(chanOffset + bus).madd(mul,add) 18 | }) 19 | } 20 | 21 | *channelOffset { 22 | ^NumOutputBuses.ir 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/archive/detail/abi_suffix.hpp: -------------------------------------------------------------------------------- 1 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 2 | // abi_suffix.hpp 3 | 4 | // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . 5 | // Use, modification and distribution is subject to the Boost Software 6 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 | // http://www.boost.org/LICENSE_1_0.txt) 8 | 9 | // See http://www.boost.org for updates, documentation, and revision history. 10 | 11 | #ifdef BOOST_MSVC 12 | #pragma warning(pop) 13 | #endif 14 | #include // pops abi_suffix.hpp pragmas 15 | 16 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/atomic/detail/footer.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright Andrey Semashev 2020. 3 | * Distributed under the Boost Software License, Version 1.0. 4 | * (See accompanying file LICENSE_1_0.txt or copy at 5 | * http://www.boost.org/LICENSE_1_0.txt) 6 | */ 7 | 8 | #if !defined(BOOST_ATOMIC_ENABLE_WARNINGS) 9 | 10 | #if defined(BOOST_MSVC) 11 | 12 | #pragma warning(pop) 13 | 14 | #elif defined(BOOST_GCC) && BOOST_GCC >= 40600 15 | 16 | #pragma GCC diagnostic pop 17 | 18 | #elif defined(BOOST_CLANG) 19 | 20 | #pragma clang diagnostic pop 21 | 22 | #endif 23 | 24 | #endif // !defined(BOOST_ATOMIC_ENABLE_WARNINGS) 25 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/config/platform/cloudabi.hpp: -------------------------------------------------------------------------------- 1 | // Copyright Nuxi, https://nuxi.nl/ 2015. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | #define BOOST_PLATFORM "CloudABI" 7 | 8 | #define BOOST_HAS_DIRENT_H 9 | #define BOOST_HAS_STDINT_H 10 | #define BOOST_HAS_UNISTD_H 11 | 12 | #define BOOST_HAS_CLOCK_GETTIME 13 | #define BOOST_HAS_EXPM1 14 | #define BOOST_HAS_GETTIMEOFDAY 15 | #define BOOST_HAS_LOG1P 16 | #define BOOST_HAS_NANOSLEEP 17 | #define BOOST_HAS_PTHREADS 18 | #define BOOST_HAS_SCHED_YIELD 19 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/function/detail/function_iterate.hpp: -------------------------------------------------------------------------------- 1 | // Boost.Function library 2 | 3 | // Copyright Douglas Gregor 2003. Use, modification and 4 | // distribution is subject to the Boost Software License, Version 5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 | // http://www.boost.org/LICENSE_1_0.txt) 7 | 8 | // For more information, see http://www.boost.org 9 | #if !defined(BOOST_PP_IS_ITERATING) 10 | # error Boost.Function - do not include this file! 11 | #endif 12 | 13 | #define BOOST_FUNCTION_NUM_ARGS BOOST_PP_ITERATION() 14 | #include 15 | #undef BOOST_FUNCTION_NUM_ARGS 16 | 17 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/iostreams/get.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com) 2 | // (C) Copyright 2005-2007 Jonathan Turkanis 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) 5 | 6 | // See http://www.boost.org/libs/iostreams for documentation. 7 | 8 | #ifndef BOOST_IOSTREAMS_GET_HPP_INCLUDED 9 | #define BOOST_IOSTREAMS_GET_HPP_INCLUDED 10 | 11 | #if defined(_MSC_VER) 12 | # pragma once 13 | #endif 14 | 15 | #include 16 | 17 | #endif // #ifndef BOOST_IOSTREAMS_GET_HPP_INCLUDED 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/iostreams/put.hpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com) 2 | // (C) Copyright 2005-2007 Jonathan Turkanis 3 | // Distributed under the Boost Software License, Version 1.0. (See accompanying 4 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) 5 | 6 | // See http://www.boost.org/libs/iostreams for documentation. 7 | 8 | #ifndef BOOST_IOSTREAMS_PUT_HPP_INCLUDED 9 | #define BOOST_IOSTREAMS_PUT_HPP_INCLUDED 10 | 11 | #if defined(_MSC_VER) 12 | # pragma once 13 | #endif 14 | 15 | #include 16 | 17 | #endif // #ifndef BOOST_IOSTREAMS_PUT_HPP_INCLUDED 18 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/equal_to.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_EQUAL_TO_HPP_INCLUDED 3 | #define BOOST_MPL_EQUAL_TO_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #define AUX778076_OP_NAME equal_to 18 | #define AUX778076_OP_TOKEN == 19 | #include 20 | 21 | #endif // BOOST_MPL_EQUAL_TO_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/limits/vector.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LIMITS_VECTOR_HPP_INCLUDED 3 | #define BOOST_MPL_LIMITS_VECTOR_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #if !defined(BOOST_MPL_LIMIT_VECTOR_SIZE) 18 | # define BOOST_MPL_LIMIT_VECTOR_SIZE 20 19 | #endif 20 | 21 | #endif // BOOST_MPL_LIMITS_VECTOR_HPP_INCLUDED 22 | -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/long.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_LONG_HPP_INCLUDED 3 | #define BOOST_MPL_LONG_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | #include 18 | 19 | #define AUX_WRAPPER_VALUE_TYPE long 20 | #include 21 | 22 | #endif // BOOST_MPL_LONG_HPP_INCLUDED 23 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/unit_test_log.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | -------------------------------------------------------------------------------- /HelpSource/Classes/Sanitize.schelp: -------------------------------------------------------------------------------- 1 | class:: Sanitize 2 | summary:: Remove infinity, NaN, and denormals 3 | categories:: UGens>Info 4 | 5 | description:: 6 | Replaces infinities, NaNs, and subnormal numbers (denormals) with a given signal, zero by default. The method link::Classes/UGen#-sanitize:: provides a shorthand for this. 7 | 8 | See also link::Classes/CheckBadValues::, which allows you to discriminate specific kinds of bad values and print information about them to the post window. 9 | 10 | classmethods:: 11 | 12 | method:: ar, kr 13 | argument:: in 14 | Input signal to sanitize. 15 | 16 | argument:: replace 17 | The signal that replaces bad values. 18 | 19 | -------------------------------------------------------------------------------- /SCClassLibrary/JITLib/Patterns/extFunction.sc: -------------------------------------------------------------------------------- 1 | + Object { 2 | valueFuncProxy { 3 | ^this 4 | } 5 | 6 | reduceFuncProxy { 7 | ^this 8 | } 9 | 10 | postString { 11 | ^this.asString 12 | } 13 | } 14 | 15 | + AbstractFunction { 16 | reduceFuncProxy { arg args; 17 | ^this.valueArray(args).valueFuncProxy(args) 18 | } 19 | 20 | } 21 | 22 | + Function { 23 | postString { 24 | ^this.asCompileString 25 | } 26 | } 27 | 28 | + UnaryOpFunctionProxy { 29 | postString { 30 | ^a.postString ++ "." ++ selector 31 | } 32 | } 33 | 34 | + BinaryOpFunctionProxy { 35 | postString { 36 | ^a.postString + selector.asBinOpString + b.postString 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /examples/demonstrations/DemandingStudies.scd: -------------------------------------------------------------------------------- 1 | 2 | ( 3 | SynthDef(\demanding, { arg impulsefreq = 10; 4 | var freq, trig, reset, seq1, seq2, signal; 5 | trig = Impulse.kr(impulsefreq); 6 | seq1 = Drand([72, 75, 79, 82] - 12, inf).midicps; 7 | seq2 = Dseq([72, 75, 79, Drand([82,84,86])], inf).midicps; 8 | freq = Demand.kr(trig, 0, [seq1, seq2]); 9 | signal = (SinOsc.ar(freq + [0,0.7]) + Saw.ar(freq + [0,0.7], 0.3)).distort.log.distort.cubed * 0.1; 10 | 11 | Out.ar(0, signal); 12 | }).add; 13 | ) 14 | 15 | 16 | x = Synth.new(\demanding) 17 | 18 | x.set(\impulsefreq, 6) 19 | x.set(\impulsefreq, 4) 20 | x.set(\impulsefreq, 2) 21 | x.set(\impulsefreq, 1) 22 | -------------------------------------------------------------------------------- /examples/demonstrations/bit_reduction.scd: -------------------------------------------------------------------------------- 1 | 2 | // bit reduction 3 | // adc 4 | 5 | //--samplerate decrease 6 | ( 7 | { var snd = Blip.ar(LFNoise2.kr(8, 200, 300), LFNoise2.kr(3, 10, 20)); var samplerate = MouseX.kr(1000, s.sampleRate * 0.1, \exponential); Latch.ar(snd, Impulse.ar(samplerate)); }.play; ) 8 | 9 | //--bitrate decrease 10 | ( 11 | { var snd = Blip.ar(LFNoise2.kr(8, 200, 300), LFNoise2.kr(3, 10, 20)); 12 | var samplerate = MouseX.kr(1000, s.sampleRate * 0.5, \exponential); var bitSize = MouseY.kr(1, 24, \exponential); var downsamp = Latch.ar(snd, Impulse.ar(samplerate)); var bitRedux = downsamp.round(0.5 ** bitSize); [downsamp, bitRedux]; }.play ) -------------------------------------------------------------------------------- /external_libraries/boost/boost/mpl/aux_/config/use_preprocessed.hpp: -------------------------------------------------------------------------------- 1 | 2 | #ifndef BOOST_MPL_AUX_CONFIG_USE_PREPROCESSED_HPP_INCLUDED 3 | #define BOOST_MPL_AUX_CONFIG_USE_PREPROCESSED_HPP_INCLUDED 4 | 5 | // Copyright Aleksey Gurtovoy 2000-2004 6 | // 7 | // Distributed under the Boost Software License, Version 1.0. 8 | // (See accompanying file LICENSE_1_0.txt or copy at 9 | // http://www.boost.org/LICENSE_1_0.txt) 10 | // 11 | // See http://www.boost.org/libs/mpl for documentation. 12 | 13 | // $Id$ 14 | // $Date$ 15 | // $Revision$ 16 | 17 | // #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS 18 | 19 | #endif // BOOST_MPL_AUX_CONFIG_USE_PREPROCESSED_HPP_INCLUDED 20 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/progress_monitor.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/results_reporter.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | -------------------------------------------------------------------------------- /external_libraries/boost/libs/test/src/unit_test_main.cpp: -------------------------------------------------------------------------------- 1 | // (C) Copyright Gennadiy Rozental 2005-2010. 2 | // Distributed under the Boost Software License, Version 1.0. 3 | // (See accompanying file LICENSE_1_0.txt or copy at 4 | // http://www.boost.org/LICENSE_1_0.txt) 5 | 6 | // See http://www.boost.org/libs/test for the library home page. 7 | // 8 | // File : $RCSfile$ 9 | // 10 | // Version : $Revision$ 11 | // 12 | // Description : forwarding source 13 | // *************************************************************************** 14 | 15 | #define BOOST_TEST_SOURCE 16 | #include 17 | 18 | // EOF 19 | --------------------------------------------------------------------------------