Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (669) Code (37) Doc (260) Help (75) Quark (296) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. DXFanOut Quark

    ... / granulated source + fast fx crossfades // load sound file b = Buffer .read(s, Platform .miSCellaneousDirs[0] +/+ "Sounds" +/+ "kitchen_sounds_1.wav" ); // start fxs first ( u = Synth ( \resample , [in: a.subBus(0, 2), lag: 0.01, mix: 0.6] ...

  2. kitchen studies Quark

    ... s.maxNodes = 1024 * 4; s.reboot; ) // loading the buffer (maybe you need to use Platform.systemExtensionDir instead) // defining SynthDefs: // 'pos' for single grains // 'posPlay' for moving buffer position // fx SynthDefs for PbindFx // 'l ...

  3. MasterEQ Quark

    ... all variables classvar <window; classvar <>prefsPath; *initClass { prefsPath = Platform.userAppSupportDir +/+ "eq-prefs.txt"; } *new { |numCha = (2), server| if( \TabbedView.asClass.notNil ) { if( eq.isNil or: { window.isClosed } ) { ^this ...

  4. TestOscCommunication Quark

    ... dummy); satie.makeProcessInstance(\myProcess, \dummy); server.sync; a11wlk01 = Platform.resourceDir +/+ "sounds/a11wlk01.wav"; } tearDown { this.quit(satie); server.remove; } test_responder_port { var result; var value = ["127.0.0.255", 18 ...

  5. AssemblageFx Quark

    ... , dash; { wcond = Condition.new(false); inVar ?? {inVar = "input"}; dash = "/"; Platform.case( \windows, {dash = "\\"; } ); path = soundFilePath ++ dash++ "IR" ++ dash ++ impulse ++ ".wav"; file = SoundFile.new; file.openRead(path); numChan ...

  6. cl-manual-examples Quark

    ... PR(\abstractLiveCode).chuck(BP(name), nil, ( userprep: { ~buf = Buffer.read( s, Platform.resourceDir +/+ "sounds/a11wlk01.wav", 4982, 10320 ); ~defaults[\bufnum] = ~buf; SynthDef(\buf1, { |out, bufnum, pan, amp, time = 1| var sig = PlayBuf. ...

  7. SWDataNetwork Quark

    ... lder { var testfile, testname = "zzz_datanetwork_test_delete_me.txt"; folder = (Platform.userAppSupportDir +/+ "DataNetworkSpecs").standardizePath; testfile = File(folder +/+ testname, "w"); if (testfile.isOpen.not) { unixCmd("mkdir" + fold ...

  8. preprocessor Quark

    ... s, method; if(~versionOK.isNil) { ~versionOK = Main.versionAtLeast(3, 7) and: { Platform.ideName == "scqt" }; PR(\clPatternToDoc).versionOK = ~versionOK; }; if(~versionOK) { ~eqIndex = code.size; // hack: no '=' in this command syntax ~pars ...

  9. Player Quark

    ... oc(numchan)}; // I don't like this... should be optional? server = (thisProcess.platform.name == \osx).if({ Server.internal }, { Server.local }); (server.serverRunning).if({ allocfun },{ server.boot; server.waitForBoot{allocfun}; isGui.if({ ...

  10. SGUI Quark

    ... GUImidiOutput{ var popup; if(MIDIClient.initialized.not, { MIDIClient.init; }); Platform.case( \osx, { if(MIDIClient.destinations.size<1 or:{MIDIClient.destinations[0].device.beginsWith("IAC").not}, { "Activate IAC bus in Audio MIDI Setup a ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow