Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1381) Code (129) Doc (443) Help (138) Quark (657) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. startup02-melodicStorage Quark

    ... ~adaptPrepareSequence = #{ |buf, storage, parms| var temp; // adaptation should just be a set of segments, so change split type parms[\splitFunc].isNil.if({ parms = parms.copy.put(\splitFunc, \noSplit) }); ~melPrepareSequence.value(buf, sto ...

  2. numberExtras Quark

    ... this) ) - 0.53; // Traunmuller // bk = (26.81 / (1 + (1960 / this)) - 0.53); // just slightly different formulation if (bk > 20.1) { bk = bk + (0.22 * (bk-20.1)) } } ^bk } // this method of conversion comes from the definition of the edges ...

  3. startup02-melodicStorage Quark

    ... ~adaptPrepareSequence = #{ |buf, storage, parms| var temp; // adaptation should just be a set of segments, so change split type parms[\splitFunc].isNil.if({ parms = parms.copy.put(\splitFunc, \noSplit) }); ~melPrepareSequence.value(buf, sto ...

  4. AlgaParser Quark

    ... fName = ("alga_" ++ UniqueID.next).asSymbol; //The synthDef will be sent later! just use the def and the desc for now synthDefFx = AlgaSynthDef.new_inner( defName, def, makeFadeEnv: false, makePatternDef: false, makeOutDef: false ); //Get t ...

  5. 1b_ntmi_nUFO Quark

    ... - presetButs step influx presets up and down - modeBut cycles modes - encoder adjusts main volume up/down - encoderHat stores snapshot preset of currently active sounds *** When a button is held and another is pressed, a modal action happen ...

  6. Sieves and Psieve patterns Quark

    ... `30) // compare with result from the pattern alone // a union with one argument just returns its resulting elements. // As pattern arguments are interpreted as intervals, 0 is included Sieve .union( Pseq ([1, 10], inf ), `30) // a Sieve can ...

  7. AlgaSynthDef Quark

    ... rn. //makeFadeEnv = true can be deceiving. //AlgaPatterns' AlgaSynthDefs should just set it to false def.explicitFree = canFree; //Set outsMapping as \out1 -> 0, etc... def.outsMapping = IdentityDictionary(numChannels); numChannels.do({ | i ...

  8. TimeStretch Quark

    ... iles should be the second two".postln;"".postln; "for longer stretches, you may just want to use a DAW".postln;"".postln; "merge files!".postln;"".postln; "you will be done in ".post;(soundFiles[0].duration*soundFiles[0].sampleRate/chunkSiz ...

  9. enum Quark

    ... Mogini // Given a sequence of pitches, find all melodies of same shape, // here just understood as up-and-down movement, // using the given pitches without repetition. // The Function has to check whether // 1.) there are no repetitions // ...

  10. DualNumber Quark

    ... r <>differentiationStep = 1e-6; // for numerical approximation. This may need adjustment *new { |real, dual = 0| ^super.newCopyArgs(real, dual) } *constant { |real| ^this.new(real, 0) } *dvar { |real, order = 1| ^if(order <= 1) { this.new(r ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow