Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. PLbindefPar Quark

    ... additive structures ( PLbindefPar ( \add , 12, \i , \sin_grain , \d , 1, \m , { Pn ( Pseries (rrand(40, 60), Pwhite (1.0, 3), 20)) } ! 12, \att , 5, \rel , 5, \a , 0.005 ).play ) ~add .f = { PLseq ((1..16)) * (100 + Pwhite (0.0, 3)) } ! 12 ...

  2. SPList Quark

    ... .postln; var nf= f.numFrames; var sfa=SoundFileAnalysis(); var result; sfa.add(\pn, \trig, { |sig| var p=Phasor.ar(0, 1, 0, inf); var ct = (Delay1.ar(sig)<0)&(sig>=0)|((p-nf+1)>0); var count = PulseCount.ar(ct); var wt = Phasor.ar(0,1,nf * ...

  3. MixerChannel Quark

    ... dictionary (Event) and supply it to the argument. p = m.play( Pbind ( \degree , Pn ( Pseries (0, 1, 8), inf ), \dur , 0.125 ), (quant: 4.0)); p.stop; playfx(name, args) Differs from play in that the synth object is placed in the effect grou ...

  4. MixerChannel Quark

    ... dictionary (Event) and supply it to the argument. p = m.play( Pbind ( \degree , Pn ( Pseries (0, 1, 8), inf ), \dur , 0.125 ), (quant: 4.0)); p.stop; playfx(name, args) Differs from play in that the synth object is placed in the effect grou ...

  5. Dissonance Quark

    ... the plot) * ratios: the scale expressed in ratios in the form [ [p1,q1], ... , [pn,qn] ] * roughness: the roughness of each scale degree * harmonicity: Barlow's harmonicity for each ratio * fund: the fundamental, i.e., the frequency of the ...

  6. preprocessor-generators Quark

    ... (inval) }; // makeStream should always be infinite ~makeStream = { ~seqStream = Pn(Pser(~pool.asArray, { ~repeats.next }, { ~offset.next }), inf).collect(_.item).asStream; }; ~snippet.("ser", "\\ser(##items, wildcards, reset##)"); } => PR(\ ...

  7. pmini Quark

    ... |step| step.postln }; }; ^""; } *pmini { |str| var pattern = JSMNPattern(str); ^Pn(Plazy({ Pseq(pattern.steps, 1) }), inf) } } JSMNPattern { var root; *new { |str| ^super.newCopyArgs(JSMN.tree(str)); } steps { ^root.steps.collect({ |step| i ...

  8. chord-vc Quark

    ... ndWidth].asPattern.neg, thisVC.v.globalControls[\pRandWidth].asPattern, inf ) * Pn(Pgeom.fromEndpoints(0.05, 1, 5), inf) ).clump(5)).collect([_]), \pan, BPStream(\pan), \length, inf, // don't send a release \time, BPStream(\time), \excFreq, ...

  9. cl-manual-examples Quark

    ... ************ Listing 37. Usage of \pdefn() generator. **************/ Pdefn(\y, Pn(Pseries(0, 1, 8), inf).collect { |d| SequenceNote(d, nil, 0.9) }); /y.a0 = "[*]::\ins("*", 2, 0.5)::\pdefn(`y, "*")"; /y.a1 = "\ins("*", 3, 0.5)::\pdefn(`y, ...

  10. Core_05 Quark

    ... 00; maxMidi = -200; peakAmp = 1.0e-9; tracks.do { |tr| (tr[\points] ? []).do { |pnt| var f, a, m; if(pnt.notNil) { a = (pnt[2] ? 0.0).asFloat; f = (pnt[1] ? 0.0).asFloat; if(a > peakAmp) { peakAmp = a }; if((a > ampThresh) and: { f > 0.0 }) ...

prev 11 12 13 14 15 16 17 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow