Hey All
I've been interested in the possibility of live coding with pure data, indeed, in the guise of running Pd workshops. I've taken the live coding style, instant, step-by-step on and tend to throw Pd systems together spontaneously in my spare time. Either way, I was wondering if anyone feels like sharing some of their mental templates for a live code approach.
Just to get the ball rolling, here's one of my favorites:
[bpm] (right outlet) | [phasor~] | [s~ something]
(a few of these, multiplying and dividing the measure frequency, sends with names like 1bar, 4bar, halfbar etc)
[r~ something] | [expr~ $v1 > xx] (between 0 and 1)and[expr~ $v1 < xx] (same)
and multiply the two expression outlets together with [*~]
Mutiply the result of that by an audio signal, usually an oscillator. and out to a [dac~]
Then multiple copies of this with different values in the expression and oscillators.
Can then be edited by random or sequential variations on the pitch of the oscillators, changing the figures in the expr~ figures.I'm quite fond of the possibility of changing the receive id's thus keeping a sequence intact but doubling or halfing the speed of certain sequences within it. Also the speed can be varied (which then effects the speed of the whole patch).
Also, slightly out of the way, you could use the phasor outlets directly control oscillator pitches, volumes, or filter frequencies.
This template does tend to work out differently each time I use it, also.