Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. extSimpleMIDIFile-patterns Quark

    ... = this } { thisFile = this.copy.timeMode_( 'ticks' ); }; }; if( this.midiEvents.size > 0 ) { ^Ppar( ({ |tr| var sustainEvents, deltaTimes; sustainEvents = thisFile.noteSustainEvents( nil, tr ); if( sustainEvents.size > 0 ) { sustainEvents = ...

  2. RepublicJITGui Quark

    ... { |options| if (parent.isNil) { defPos = 10@260 } { defPos = skin.margin; }; minSize = 230 @ (numItems * skin.buttonHeight + 40 + 350); } accepts { |obj| ^obj.isKindOf(Republic) or: obj.isNil } winName { ^"Republic" + this.getName } getName ...

  3. InfluxBase Doc

    ... Influx. . shape . smallDim . bigDim shape is the shape of the weights, [inNames.size, outNames.size] smallDim is the smaller of the two, bigDim the greater. Instance methods . postv pretty-post values . set set input values of Influx Argume ...

  4. HadronPlugin Quark

    ... es_([["In/Outs"]]) .action_({ this.prShowConnections; }) .visible_(if((inBusses.size == 0) and: { outBusses.size == 0; }, { false; }, { true; })); window = CompositeView(outerWindow, Rect(0, 0, argBounds.width, argBounds.height)); outerWind ...

  5. 036-wave-phase Doc

    ... height*0.5]; RedObject(world, loc, nil, nil, 10, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ theta= theta+angularVel; if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); nWaves.do{|i| v ...

  6. UDecodeBinaural Quark

    ... s of correct order ambisonics var numChan, mids, sides, mid, side; numChan = in.size; mids = midChannels.select({ |item| item < numChan }); sides = sideChannels.select({ |item| item < numChan }); mid = mids.collect({|item| Convolution2.ar( ...

  7. 036-wave-phase Quark

    ... height*0.5]; RedObject(world, loc, nil, nil, 10, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ theta= theta+angularVel; if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); nWaves.do{|i| v ...

  8. example fft sc->processing v2 by fredrik-olofsson (Fredrik Olofsson) Code

    ... essing code: import oscP5.*; import netP5.*; OscP5 oscP5; final int BUFFERSIZE= 2048; //should correspond with fft size in supercollider final int BUFFERSIZE2= BUFFERSIZE/2; float[] fftArrayHi; float[] fftArrayMd; float[] fftA ...

  9. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... shm = { arg input = [(freq:1, amp:1, phs:0)], freqscl=0.5, ampscl=75, datasize=200, framerate=40; var win, cview, wview, phs; var t = 0; //time/phase counter var wavedata = Array.newClear(datasize); //waveform y-coordinate value ...

  10. PG_Cookbook05_Using_Samples Doc

    ... rray| var a, b, div; var i = array.indexOfGreaterThan(val); if(i.isNil) { array.size - 1 } { if(i == 0) { i } { a = array[i-1]; b = array[i]; div = b / a; if(div == 1) { i } { // log() / log() == log(val/a) at base (b/a) // which is the inv ...

prev 211 212 213 214 215 216 217 218 219 220 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow