Your dancing man

Jun 30, 2006 at 2:37pm

Your dancing man

Hi there,

I thought I’d post this just as a thanks to all the people who helped me, and also as encouragement to anyone like me starting out in Jitter. You can do quite cool stuff very simply.

Your dancing man is a very simple patch that displays a man dancing, if there’s lots of noise he will dance loads, not very much and he’ll just stand around looking a bit bored.

The patch listens to how loud the noise is in the audio input(microphone or live music), assigns that volume a number 1 2 3 4 or 5 and plays the corresponding movie 1 2 3 4 or 5. Really very simple stuff, but it has all sorts of potential applications

In the future the patch will be able to respond to beats per minute, specific notes, will have manual override features and various effects applied to the movie on beat detection and who knows what else.

anyway, check out the media over at:
http://artistsrenegadesandevilgeniuses.co.uk/dancingman/
soon to be
http://www.yourdancingman.co.uk

I’ll attach the patch, feel free to pass judgement and critique the patch. Sorry i’m not going to release the movies to go with it, but you can still see what its like by clicking the link above. The animations are made in 3D Studio max

Oh yeah I’m on the 4 day max course at Goldsmiths UK across the summer, anyone else doing this?

Richard

Patch:

#P toggle 498 592 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 498 614 50 9109513 interp $1;
#P window setfont “Sans Serif” 10.;
#P number 576 233 35 10 -120 0 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 104 455 15 0;
#P newex 104 381 53 9109514 loadbang;
#P newex 104 412 44 9109514 metro 5;
#P message 104 490 44 9109514 adapt 1;
#P window setfont “Fixedwidth Serif” 12.;
#P message 384 613 101 9240588 fullscreen $1;
#P toggle 384 594 15 0;
#P newex 384 568 52 9240588 sel 27;
#P newex 384 543 40 9240588 key;
#P window setfont “Sans Serif” 10.;
#P user jit.fpsgui 353 710 60 9109514 0;
#P window setfont “Fixedwidth Serif” 12.;
#P newex 353 674 246 9240588 jit.window dancingman 5 41 768 576;
#B color 5;
#P window setfont “Sans Serif” 10.;
#P user jit.fpsgui 167 707 60 9109514 0;
#P message 221 488 71 9109514 target 5 , read;
#P message 210 467 71 9109514 target 4 , read;
#P message 200 445 71 9109514 target 3 , read;
#P message 190 424 71 9109514 target 2 , read;
#P message 178 403 71 9109514 target 1 , read;
#P message 167 382 71 9109514 target 0 , read;
#B color 5;
#P toggle 478 466 15 0;
#P newex 167 539 95 9109514 poly~ polymovie 5;
#P message 478 495 62 9109514 target 0 , $1;
#P message 325 496 62 9109514 target $1 , 1;
#P message 402 495 62 9109514 target $1 , 0;
#P newex 402 463 27 9109514 i;
#P newex 378 432 53 9109514 t i b;
#P newex 378 408 27 9109514 + 1;
#P user jit.pwindow 166 574 162 122 0 1 0 0 1 0;
#P user ezadc~ 252 33 296 66 0;
#P number 452 389 35 10 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 378 379 50 9109514 qlim 900;
#P comment 371 86 73 9109514 milli seconds;
#P newex 378 355 42 9109514 * 4.999;
#P window setfont “Sans Serif” 12.;
#P window linecount 2;
#P comment 348 115 62 9109516 Amplitude Tracking;
#P window setfont “Proportional Serif” 10.;
#P window linecount 1;
#P comment 267 334 105 9175050 expanded note amplitude;
#P window setfont “Fixedwidth Serif” 10.;
#N vpatcher 304 73 596 307;
#P window setfont “Proportional Serif” 10.;
#P comment 9 177 74 9175050 amplitude on a logarithmic curve;
#P comment 110 162 92 9175050 expanded level , in dB;
#N comlet (float) log10 amplitude;
#P outlet 33 162 15 0;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 33 141 38 9240586 !- 1.;
#P window setfont “Proportional Serif” 10.;
#P comment 116 97 80 9175050 set floor threshold;
#P comment 101 77 83 9175050 clip if out of range;
#P comment 111 56 81 9175050 optional gain/trim;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 33 74 68 9240586 minimum 0.;
#N comlet (float) expanded level;
#P outlet 95 162 15 0;
#P window setfont “Proportional Serif” 10.;
#P comment 157 21 63 9175050 threshold (dB);
#P comment 87 21 68 9175050 input gain (dB);
#P comment 8 21 70 9175050 input level (dB);
#P comment 145 144 131 9175050 expand to occupy full dB range;
#P comment 127 113 130 9175050 calculate level as a percentage of the above-threshold range;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 33 53 78 9240586 + 0.;
#P newex 33 95 83 9240586 maximum -120.;
#P newex 95 141 50 9240586 * -120.;
#P newex 33 116 94 9240586 / 1.;
#N comlet (float) threshold dB;
#P inlet 163 35 15 0;
#N comlet (float) input gain/trim dB;
#P inlet 101 35 15 0;
#N comlet (float) dB;
#P inlet 33 35 15 0;
#P connect 0 0 6 0;
#P connect 6 0 13 0;
#P connect 13 0 5 0;
#P connect 5 0 3 0;
#P connect 3 0 17 0;
#P connect 17 0 18 0;
#P fasten 3 0 4 0 38 137 100 137;
#P connect 4 0 12 0;
#P connect 1 0 6 1;
#P fasten 2 0 5 1 168 91 111 91;
#P fasten 2 0 3 1 168 112 122 112;
#P pop;
#P newobj 429 293 159 9240586 patcher dBexpander;
#P window setfont “Proportional Serif” 10.;
#P comment 201 178 52 9175050 Peak Level;
#P comment 364 246 65 9175050 expanded level;
#P window setfont “Fixedwidth Serif” 10.;
#N vpatcher 304 73 596 307;
#P window setfont “Proportional Serif” 10.;
#P comment 9 177 74 9175050 amplitude on a logarithmic curve;
#P comment 110 162 92 9175050 expanded level , in dB;
#N comlet (float) log10 amplitude;
#P outlet 33 162 15 0;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 33 141 38 9240586 !- 1.;
#P window setfont “Proportional Serif” 10.;
#P comment 116 97 80 9175050 set floor threshold;
#P comment 101 77 83 9175050 clip if out of range;
#P comment 111 56 81 9175050 optional gain/trim;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 33 74 68 9240586 minimum 0.;
#N comlet (float) expanded level;
#P outlet 95 162 15 0;
#P window setfont “Proportional Serif” 10.;
#P comment 157 21 63 9175050 threshold (dB);
#P comment 87 21 68 9175050 input gain (dB);
#P comment 8 21 70 9175050 input level (dB);
#P comment 145 144 131 9175050 expand to occupy full dB range;
#P comment 127 113 130 9175050 calculate level as a percentage of the above-threshold range;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 33 53 78 9240586 + 0.;
#P newex 33 95 83 9240586 maximum -120.;
#P newex 95 141 50 9240586 * -120.;
#P newex 33 116 94 9240586 / 1.;
#N comlet (float) threshold dB;
#P inlet 163 35 15 0;
#N comlet (float) input gain/trim dB;
#P inlet 101 35 15 0;
#N comlet (float) dB;
#P inlet 33 35 15 0;
#P connect 0 0 6 0;
#P connect 6 0 13 0;
#P connect 13 0 5 0;
#P connect 5 0 3 0;
#P connect 3 0 17 0;
#P connect 17 0 18 0;
#P fasten 3 0 4 0 38 137 100 137;
#P connect 4 0 12 0;
#P connect 1 0 6 1;
#P fasten 2 0 5 1 168 91 111 91;
#P fasten 2 0 3 1 168 112 122 112;
#P pop;
#P newobj 252 200 159 9240586 patcher dBexpander;
#P window setfont “Proportional Serif” 10.;
#P comment 167 202 86 9175050 expand to full range;
#P comment 188 160 65 9175050 translate to dB;
#P comment 181 139 72 9175050 Peak Amplitude;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 401 221 38 9240586 t b f;
#P flonum 378 335 41 10 0. 1. 3 141 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont “Proportional Serif” 10.;
#P comment 494 246 18 9175050 dB;
#P comment 316 178 18 9175050 dB;
#P comment 446 178 18 9175050 dB;
#P comment 375 178 18 9175050 dB;
#P window setfont “Fixedwidth Serif” 10.;
#P flonum 252 178 65 10 0 0 0 141 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 429 246 65 10 0 0 0 141 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 395 177 53 10 -120. -0.001 3 141 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 40 55 409 213;
#P window setfont “Proportional Serif” 10.;
#P comment 9 29 329 9175050 Convert a linear amplitude to amplitude in decibels. 0dB = 1. (full amplitude);
#P comment 125 50 141 9175050 amplitude expressed as a decimal ; 1. = full amplitude;
#N comlet (float) amplitude;
#P outlet 110 105 15 0;
#N comlet (float) decibels;
#P inlet 110 50 15 0;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 110 76 122 9240586 expr 20.*log10($f1);
#P window setfont “Proportional Serif” 10.;
#P comment 125 94 141 9175050 amplitude expressed in decibels ; 0dB = full amplitude;
#P connect 2 0 1 0;
#P connect 1 0 3 0;
#P pop;
#P newobj 252 157 50 9240586 p AtodB;
#P number 333 84 35 10 0 0 65 141 0 0 0 221 221 221 222 222 222 0 0 0;
#P user multiSlider 343 266 82 62 -120. 0. 1 3945 15 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 0 255 0;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P window setfont “Proportional Serif” 10.;
#P comment 335 164 49 9175050 Gain/Trim;
#P window setfont “Fixedwidth Serif” 10.;
#P flonum 335 179 41 10 0 0 0 141 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname peakgain;
#P flonum 252 139 59 10 0. 1. 3 141 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 252 118 91 9240586 peakamp~;
#B color 5;
#P window setfont “Proportional Serif” 10.;
#P window linecount 2;
#P comment 394 152 55 9175050 Noise Floor Threshold;
#P window setfont “Sans Serif” 10.;
#P window linecount 1;
#P comment 218 83 112 9109514 check peak amp every;
#P window linecount 4;
#P comment 502 154 100 9109514 Gain/Trim: 10db Noise Floor: -9dB Note On Threshold: -120dB;
#P connect 59 0 25 2;
#P connect 61 0 60 0;
#P connect 41 0 39 0;
#P connect 30 0 34 0;
#P fasten 30 0 31 0 383 404 446 404 446 373 457 373;
#P connect 11 0 25 0;
#P fasten 18 1 7 0 434 242 348 242;
#P connect 18 1 11 0;
#P connect 35 0 38 0;
#P connect 35 0 36 1;
#P connect 36 0 37 0;
#P connect 35 1 36 0;
#P connect 22 1 18 0;
#P fasten 10 0 22 2 400 196 405 196;
#P connect 53 0 54 0;
#P connect 52 0 53 0;
#P connect 51 0 52 0;
#P connect 34 0 35 0;
#P connect 28 0 30 0;
#P connect 17 0 28 0;
#P fasten 25 0 17 0 434 332 383 332;
#P connect 49 0 50 0;
#P fasten 60 0 49 0 503 666 358 666;
#P connect 40 0 33 0;
#P fasten 40 0 49 0 172 566 358 566;
#P fasten 54 0 49 0 389 666 358 666;
#P connect 8 0 3 1;
#P fasten 5 0 22 1 340 196 331 196;
#P connect 12 0 22 0;
#P connect 9 0 12 0;
#P connect 4 0 9 0;
#P connect 3 0 4 0;
#P fasten 32 1 3 0 291 75 257 75;
#P connect 32 0 3 0;
#P fasten 39 0 40 2 483 526 256 526;
#P fasten 38 0 40 1 330 526 214 526;
#P fasten 37 0 40 1 407 526 214 526;
#P connect 33 0 48 0;
#P connect 42 0 40 0;
#P connect 43 0 40 0;
#P connect 44 0 40 0;
#P connect 45 0 40 0;
#P connect 46 0 40 0;
#P connect 47 0 40 0;
#P connect 55 0 40 0;
#P connect 58 0 55 0;
#P connect 56 0 58 0;
#P connect 57 0 56 0;
#P window clipboard copycount 62;

#26648

You must be logged in to reply to this topic.