-
... delta = (slices/beats).reciprocal; var slice = (count/delta % slices); var event = (delta:delta, slice:slice); var rem = (beats - pos); if (0.2.coin && (rem <= 1) ) { var div = delta/2; var event = (delta:div, slice:slice ...
-
One answer to the question "how to use the SynthDef's default argument in an Event?" // This question comes up sometimes. // one way to do it is to define an event type: ( Event.addEventType(\dnote, { |server| var instrument = ~ ...
-
( // add custom event Event.addEventType(\nbind, {arg server; var id = (currentEnvironment[\ndef] ? currentEnvironment[\instrument]).asSymbol; var type = \note; if (Ndef(id).isPlaying.not) { Ndef(id).play; }; ~type = t ...
-
A pattern which do morphing between two event pattern (cross-fading synth arguments) ( // example synthdef SynthDef(\lead2, { arg out=0, freq = 100, pan=0, amp=0.1, mdetune=1.004, gate=1, rq=0.1, fratio = 1, fbase=400, wet=1, fbfreq=100, ...
-
... asInt, time); sp.par(evt); sp.wait(time); }); }); EventPatternProxy.new(pattern); }, process: {arg self, count, time; var me = self; Plazy({ var rows = me.grid; var evts ...
-
functors - Using Pdef for building abstract pattern functions while live coding by julianrohrhuber (julian.rohrhuber) Code
... 0.1, legato: 0.2)).play; // Up to a certain point, this also works for non-event-patterns: // pattern as an argument Pdefn(\x, Pseq([1, 2, 5, 6, 7], inf)); Pdefn(\x); // omitting the second argument, we can access the proxy Pdefn ...
-
... attern) // // schedule pattern to start on beat a, and stop after producing N events with: // // ptl.number(a, N, pattern) // // finally, after configuring your timeline, it's time to play it. Do: // // ptl.asPattern.play // // do ...
-
Event type for easy integration of SuperCollider with conTimbre ePlayer using OSC. I'll update this accordingly. /* Event type for easy integration of conTimbre with SC. Just supply an osc destination to the key \oscout. For examp ...
-
... Stream, beatsToAdd = (beatInBar + 0.01).roundUp(beatsPerBar) - beatInBar, event; while { beatsToAdd > 0 and: { event = stream.next(Event.new); event.notNil } } { list.add(event); beatsToAdd = beatsToAdd - event[\dur]; ...
-
... acker (see renoise.com) can be controlled with OSC commands. With this Renoise Event Type, you can easily generate some patterns which will be played by Renoise. Useful if you want to make patterns with VSTi :-) Usage : - start Renois ...