Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (81) Code (15) Doc (29) Help (15) Quark (22) SCDoc ↗ Forum ↗ Google ↗
  1. Demo: Loading a MIDI file, playing it with your own SynthDef by bruno (Bruno Ruviaro) Code

    ... a MIDI file and play it with your own SynthDef. Examples of how to use it with Pbindf // you can create your midi file using MuseScore, Finale, Sibelius, Logic, etc. // TIP: create one separate midi file per layer (melodies, chords, etc). ...

  2. granular AM synthesis by 56228375 (56228375) Code

    ... **********".postln; "".postln; }); movements.add({ Pdef(\bg, Pbindf(slowstatic, \sendtogui, Pfunc({ |ev| m.sendMsg("/gui", 1, ev[\freq_modulator], ev[\amp], ev[\degree], ev[\dur], ev[\envlen]); }); ...

  3. Fibonacci melody by yl0506 (yl0506) Code

    ... 8}); p=1/8;Pdef(\x,Pbind(\dur,p,\degree,Pseq(b,1,0))); r=Array.fill(12,{arg i;Pbindf(Pdef(\x),\mtranspose,b[i]);}); Pseq(r,(1/p)).play; )

  4. Another fibonaccy melody by yl0506 (yl0506) Code

    ... p=1/(21-c);Pdef(\x,Pbind(\dur,p,\degree,Pseq(b,1,0))); r=Array.fill(c,{arg i;Pbindf(Pdef(\x),\mtranspose,1-b[i]);}); Pseq(r,(1/p)).play; )

  5. composition barebone by vividsnow (vividsnow) Code

    ... aram: (intensity: 0.5), fn: { |self, ev| Pfindur( ev.dur * 1.rrand(4), Pbindf( ev.bag.rnd(ev, Pseq([1,2],inf)), \octave, self.state.octave.next )) }, state: ( octave: Prand((2..6), inf).asStream ) ) ...

  6. electro drum kit by snappizz (snappizz) Code

    ... n,amp)); }).add; ) ( var base; base = Pbind(\amp, 0.3); Ppar([ Pbindf( base, \instrument, Pseq([\kick, \snare, \kick, \kick, \snare], inf), \dur, Pseq([4, 3, 3, 2, 4], inf) ), Pbindf( ...

  7. scrolless by vividsnow (vividsnow) Code

    ... n of p1 fn: { |self, ev| // able to access both local and global dict Pbindf(loc.p1.fn(ev), \mtranspose, self.state.next) // * dict.some_name.some_key.fn(ev), }, state: Pseq((1..3),inf).asStream ) // etc.. ) } ...

  8. demo: backtracking constraint solver by jamshark70 (jamshark70) Code

    ... ~addNotesToBar = { |list, pattern, beatInBar, beatsPerBar = 4| var stream = Pbindf(pattern, \amp, Pseq([0.3, Pn(0.1, inf)])).asStream, beatsToAdd = (beatInBar + 0.01).roundUp(beatsPerBar) - beatInBar, event; while { beatsToAdd > ...

  9. SynthDEFaults - Patterns Examples by 0-cG (unknown) Code

    ... , -10, ).play; ) ( var base; base = Pbind(\amp, 0.3); Ppar([ Pbindf( base, \instrument, Pseq([\kick_electro, \snare_electro, \kick_electro, \kick_electro, \snare_electro], inf), \dur, Pseq([4, 3 ...

  10. Automatic composition of tonal canons by 56228375 (56228375) Code

    ... ; pseq = pseq.add(idx*durations.sum); pseq = pseq.add(Pbindf(pattern[v], \ctranspose, t, \instrument, voice_instruments[i])); }); }); // put all material in parallel to get the final canon ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow