Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (4) Doc (98) Help (27) Quark (405) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Chord Quark

    ... notes = inNotes; name = inName ?? "Unknown chord"; ^this; } *initClass { all = IdentityDictionary[ \one -> Chord.new(notes: [0], name: "Single note"), \maj -> Chord.new(notes: [0, 4, 7], name: "Major"), \min -> Chord.new(notes: [0, 3, 7], ...

  2. EQSpec1 Quark

    ... This dictionary converts add messages // into move messages. translateMethods = IdentityDictionary[ \addToHead -> \moveToHead, \addToTail -> \moveToTail, \addAfter -> \moveAfter, \addBefore -> \moveBefore, \moveToHead -> \moveToHead, // b/c ...

  3. miditest Quark

    ... s:".postln; // must free midi controls in reverse order // globalControls is an IdentityDictionary, so this is the only way gctemp = Array.new(voicer.globalControls.size); voicer.globalControlsByCreation.do({ arg gc; gctemp.add(gc); Post << ...

  4. EQSpec1 Quark

    ... This dictionary converts add messages // into move messages. translateMethods = IdentityDictionary[ \addToHead -> \moveToHead, \addToTail -> \moveToTail, \addAfter -> \moveAfter, \addBefore -> \moveBefore, \moveToHead -> \moveToHead, // b/c ...

  5. Unit Quark

    ... = \audio, index = 0, name| if( this.ioNames.isNil ) { this.ioNames = MultiLevelIdentityDictionary(); }; this.ioNames.put( mode, rate, index.asInteger, name ); } audioInName { |index=0| ^this.prGetIOName( \in, \audio, index ); } controlInNa ...

  6. MxUnit Quark

    ... ue, atTime; ^this.use { ~record.value(boo, atTime) } } *initClass { registery = IdentityDictionary.new; } } MxInlet { var <>name, <>index, <>spec, <>adapter; var <>unit; *new { arg name, index, spec, adapter; ^super.newCopyArgs(name.asSymbo ...

  7. AlgaClassExtensions Quark

    ... edAtTopPriority { | task | //indices for each of the unique times var indices = IdentityDictionary(); //entries at unique times var entries = IdentityDictionary(); //loop over the queue, it appears just like a PriorityQueue object forBy(1, ...

  8. miditest Quark

    ... s:".postln; // must free midi controls in reverse order // globalControls is an IdentityDictionary, so this is the only way gctemp = Array.new(voicer.globalControls.size); voicer.globalControlsByCreation.do({ arg gc; gctemp.add(gc); Post << ...

  9. Collection-extensions Quark

    ... ize); this.keysValuesDo({ |k, v| new.put(k, v.shallowCopyItems); }); ^new } } + IdentityDictionary { shallowCopyItems { ^super.shallowCopyItems .proto_(proto) // child object should not be modifying parent/proto .parent_(parent) // so we do ...

  10. SCLOrkPD Quark

    ... Dir, orderByYear).init; } init { var currentYear = Date.getDate.year; presets = IdentityDictionary.new; parameterViews = Array.new; voiceError = false; stringPlaying = ""; yearBuckets = Array.new(8); yearBuckets = yearBuckets.add(currentYea ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow