Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (184) Code (81) Doc (49) Help (26) Quark (28) SCDoc ↗ Forum ↗ Google ↗
  1. PatternBoxBindView Quark

    ... ono(*keyValuePairs.asArray); }); }); if (parallelLayers > 1, { currentPattern = Ppar({currentPattern}!parallelLayers); }); this.setMuteState(muteState); bindSource.source = currentPattern; if (actionRestartPatterns.notNil, { actionRestartPa ...

  2. PatternBoxView Quark

    ... if (patterns.size == 0, { patterns.add(Pbind()); }); eventStreamProxy.source = Ppar(patterns); } addBindView { |positionInLayout| var newBindView = PatternBoxBindView(this, bufferpool: bufferpool); newBindView.actionOnBindChanged = { |send ...

  3. SimpleMIDIFile Quark

    ... You can use the p method to convert a SimpleMIDIFile into a playable pattern (a Ppar to be exact). // download a Bach midi file: "curl http://www.bachcentral.com/BachCentral/ORGAN/toccata1.mid -o ~/Desktop/toccata1.mid" .unixCmd; // read it ...

  4. Block Quark

    ... , [\perkysine, \default]); c.toPattern(2).play [b.toPattern(1), c.toPattern(2)].ppar.play d = DataFile.read(\pattern, \test3).patternInst(\perkysine); d.toPattern(1,0).play [d.toPattern(1), d.toPattern(2)].ppar(2).play Pdefn(\note1, Pseq([9 ...

  5. startup01-events Quark

    ... e, tempo = ~clock.tryPerform(\tempo) ? 1.0; // the full condition is needed for Ppar which uses ~freq == \rest if((currentEnvironment.tryPerform(\isRest) ? false).not and: { ~node != \rest and: { ~instrument != \rest and: { ~freq != \rest a ...

  6. startup01-events Quark

    ... e, tempo = ~clock.tryPerform(\tempo) ? 1.0; // the full condition is needed for Ppar which uses ~freq == \rest if((currentEnvironment.tryPerform(\isRest) ? false).not and: { ~node != \rest and: { ~instrument != \rest and: { ~freq != \rest a ...

  7. sStream Quark

    ... ith("File_"), { avSynthType= \File_++buffers[1].numChannels; }); Pdef(\sStream, Ppar( [ Pbindf(pbind, //lv \instrument, ('sStream_'++lvSynthType).asSymbol, \type, if(lvSynthType==\VSTPlug, {\vst_midi}, {\note}), \vst, lvVst, \chan, 0, \buf, ...

  8. preprocessor-generators Quark

    ... teEvent.(item, (layerID: ~layerIDs[i])); new = new.add(item); }; }; }; // as in Ppar, delta may need to be different from dur // dur was set above ~items = ~updateDeltas.((sourceItems ++ new).sort { |a, b| a[\time] < b[\time] }, \delta); }; ...

prev 1 2 3

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow