chris@531: #N canvas 872 646 508 300 10; chris@531: #X obj 27 140 rzero~ 1; chris@531: #X obj 72 117 sig~ 1; chris@531: #X obj 27 212 *~ 44100; chris@531: #X obj 72 191 samplerate~; chris@531: #X obj 72 170 loadbang; chris@531: #X obj 27 85 inlet~; chris@531: #X obj 27 250 outlet~; chris@531: #X text 112 141 y[n] = x[n] - x[n-1]; chris@531: #X text 141 117 <<< heavy currently requires signal input to set coefficient chris@531: ; chris@531: #X text 111 211 <<< multiply by samplerate to get velocity; chris@531: #X text 28 18 This abstraction calculates the differential from an chris@531: input; chris@531: #X text 28 32 signal.; chris@531: #X connect 0 0 2 0; chris@531: #X connect 1 0 0 1; chris@531: #X connect 2 0 6 0; chris@531: #X connect 3 0 2 1; chris@531: #X connect 4 0 3 0; chris@531: #X connect 5 0 0 0;