[jitter] jit qt grab and naming files in patstorage xml
BAUDRY
olivierbaudry.eba at hotmail.fr
Mon Apr 7 03:34:39 MDT 2008
- Previous message: [jitter] shininess and jit.gl.model
- Next message: [jitter] standalone JS Errors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello every body I would like to named files from jit.qt.grab with a system's preset like this : The idea is this everybody tape the name of his video capture and save it and if his name is saved capture video is on , the video is stored on a folder and with apreset system xml you can read it if you search a name in a preset.But actually my problem is how to send a bang to jit qt grab if name is entered and to store automatically file with name. max v2; #N vpatcher -63 16 965 658; #P origin 34 -63; #P window setfont "Sans Serif" 9.; #N vpatcher 10 19 983 632; #P origin 0 -14; #P window setfont "Sans Serif" 9.; #P newex 536 653 27 9109513 i; #P newex 393 575 44 9109513 del 500; #P newex 420 619 27 9109513 i; #P newex 416 656 90 9109513 s set_menu_videos; #P number 433 472 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 848 523 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 867 450 27 9109513 i; #P newex 866 480 27 9109513 + 1; #P newex 162 491 57 9109513 route done; #P newex 207 520 57 9109513 unpack 0 s; #P newex 207 550 32 9109513 print; #P button 538 573 15 0; #P newex 423 538 50 9109513 del 1000; #P newex 743 503 64 9109513 fromsymbol; #P newex 742 482 69 9109513 route symbol; #P message 159 184 81 9109513 getslotnamelist; #P newex 599 664 32 9109513 print; #P button 624 486 15 0; #P newex 589 405 115 9109513 route new save presett; #P number 749 92 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P message 732 163 94 9109513 store \$1 undefined; #P button 587 491 15 0; #P newex 742 461 107 9109513 dialog preset_number; #P newex 589 386 99 9109513 r save_preset_videos; #P newex 599 515 27 9109513 i; #P newex 628 616 72 9109513 s to_ps_videos; #P number 743 525 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 599 554 100 9109513 sprintf store %i %s; #P newex 641 461 97 9109513 dialog preset_name; #B color 5; #P button 589 431 15 0; #P newex 21 184 50 9109513 del 1500; #P newex 20 139 221 9109513 route read write writeagain slotnames refresh; #P newex 20 117 124 9109513 r preset_commands_videos; #P message 75 321 14 9109513 1; #P button 119 236 15 0; #P message 68 29 97 9109513 slotname 0 Presets; #P newex 206 456 99 9109513 s preset-menu-videos; #P message 158 233 88 9109513 getslotnamelist 1; #P message 146 112 61 9109513 store 1 Init; #P window linecount 2; #P comment 319 86 362 9109513 For convenience \, slotnames may be added to unused slots (useful for adding labels \, etc.). However \, slotnames will be deleted when the associated slot is.; #P window linecount 1; #P newex 266 350 21 9109513 t 0; #P newex 311 350 55 9109513 unpack 0 s; #P newex 356 371 75 9109513 prepend append; #P user ubumenu 338 413 134 9109513 0 1 1 0; #X add (undefined); #X prefix_set 0 0 <none> 0; #P newex 146 257 48 9109513 t 1 clear; #P newex 266 328 55 9109513 route done; #P newex 339 392 27 9109513 gate; #P newex 266 305 55 9109513 r slotname; #P window linecount 2; #P comment 319 60 352 9109513 slotnames move with their data. operations like "insert" \, "remove" \, "copy" \, etc. adjust the position of slotnames \, as well.; #P window linecount 3; #P comment 253 252 378 9109513 if the slot doesn't exist \, the slotname argument will be (undefined) \; If the slot exists \, but has no name \, the slotname argument will be <(unnamed)> \, these names facilitate the use of slotnames with the ubumenu object.; #P window linecount 4; #P comment 254 201 443 9109513 retrieve all slotnames as a series of messages in the format "slotname [slotnum] [slotname]" \; The message "slotname done" is output after the final slotname has been reported \; All slots from 0-(max slot used) are output \, even if they are undefined \, unless an optional non-zero argument is given \, in which case only used slots are output.; #P window linecount 1; #P message 138 208 81 9109513 getslotnamelist; #P window linecount 3; #P comment 227 151 378 9109513 if the slot doesn't exist \, the slotname argument will be (undefined) \; If the slot exists \, but has no name \, the slotname argument will be <(unnamed)> \; these names facilitate the use of slotnames with the ubumenu object.; #P window linecount 1; #P message 160 166 75 9109513 getslotname 1; #P window linecount 2; #P comment 239 60 77 9109513 remove the name of slot 1; #P window linecount 1; #P message 239 87 60 9109513 slotname 1; #P message 147 87 84 9109513 slotname 1 slot1; #P newex 126 349 72 9109513 s to_ps_videos; #P window linecount 2; #P comment 429 22 264 9109513 slots may be assigned names \, useful for preset displays. slot names cannot be used for storage or recall.; #P comment 146 60 65 9109513 set the name of slot 1; #P window linecount 1; #P comment 228 137 310 9109513 retrieve a slotname in the format "slotname [slotnum] [slotname]"; #P comment 216 114 243 9109513 slotnames may also be added while storing a preset; #P user panel 123 198 579 97; #X brgb 191 191 191; #X frgb 0 0 0; #X border 0; #X rounded 0; #X shadow 0; #X done; #P user panel 123 58 568 77; #X brgb 191 191 191; #X frgb 0 0 0; #X border 0; #X rounded 0; #X shadow 0; #X done; #P connect 31 0 32 0; #P connect 29 0 30 0; #P connect 12 0 29 0; #P connect 48 0 6 0; #P fasten 26 0 6 0 163 251 131 251; #P fasten 12 0 6 0 143 251 131 251; #P connect 20 0 6 0; #P fasten 28 0 6 0 131 348; #P fasten 25 0 6 0 151 131 131 131; #P fasten 7 0 6 0 152 106 131 106; #P fasten 10 0 6 0 165 175 131 175; #P fasten 8 0 6 0 244 106 131 106; #P connect 43 0 6 0; #P connect 30 0 6 0; #P connect 32 3 12 0; #P connect 33 0 12 0; #P connect 48 0 19 0; #P fasten 26 0 19 0 163 251 151 251; #P connect 12 0 19 0; #P connect 51 0 48 0; #P connect 32 4 48 0; #P connect 16 0 55 0; #P connect 19 1 27 0; #P connect 17 0 27 0; #P connect 55 1 54 0; #P connect 54 0 53 0; #P connect 16 0 18 0; #P connect 18 0 23 0; #P connect 18 1 22 0; #P fasten 19 1 20 0 189 412 343 412; #P connect 17 0 20 0; #P fasten 23 0 17 0 271 386 344 386; #P fasten 19 0 17 0 151 320 253 320 253 386 344 386; #P connect 22 1 21 0; #P connect 21 0 17 1; #P connect 51 0 62 0; #P connect 61 0 60 0; #P connect 62 0 61 0; #P connect 52 0 51 0; #P connect 22 0 59 0; #P connect 39 0 61 1; #P connect 58 0 61 1; #P connect 36 0 52 0; #P connect 35 0 42 0; #P connect 40 0 45 0; #P connect 45 0 34 0; #P connect 42 0 39 0; #P connect 46 0 39 0; #P connect 39 0 36 0; #P connect 36 0 47 0; #P connect 56 0 39 1; #P connect 37 0 39 1; #P connect 45 1 46 0; #P connect 36 0 38 0; #P fasten 34 0 35 0 594 452 646 452; #P connect 35 0 36 1; #P connect 45 3 36 1; #P connect 44 0 43 0; #P connect 41 0 49 0; #P connect 49 0 50 0; #P connect 45 2 37 0; #P connect 50 0 37 0; #P connect 56 0 58 0; #P connect 57 0 56 0; #P connect 34 0 57 0; #P connect 22 0 57 1; #P pop; #P newobj 673 103 31 9109513 p slot; #P button 904 219 15 0; #P message 950 84 44 9109513 refresh; #P newex 840 118 57 9109513 route read; #P inlet 652 207 15 0; #P newex 1002 99 126 9109513 s preset_commands_videos; #P message 1001 77 55 9109513 slotnames; #P newex 1001 52 50 9109513 del 1000; #P newex 737 5 136 9109513 route read write writeagain; #P newex 737 -15 124 9109513 r preset_commands_videos; #P newex 1001 -14 48 9109513 loadbang; #P message 875 50 75 9109513 read videos.xml; #P newex 569 5 53 9109513 autopattr; #P objectname u221000020; #P message 761 163 211 9109513 read videos.xml 0; #P message 900 79 52 9109513 readagain; #P message 844 80 55 9109513 writeagain; #P newex 687 138 55 9109513 s slotname; #P newex 761 118 75 9109513 route slotname; #P newex 761 141 61 9109513 prepend set; #P message 926 120 62 9109513 6 \, 7 10000; #P newex 926 140 40 9109513 line 1.; #P newex 778 57 70 9109513 r to_ps_videos; #P message 779 82 29 9109513 read; #P message 809 80 34 9109513 write; #P newex 761 96 153 9109513 pattrstorage videos @savemode 2; #B color 5; #X autorestore videos.xml; #X client_rect 0 0 640 240; #X storage_rect 0 0 640 240; #P objectname videos; #P window setfont "Sans Serif" 20.; #N vpatcher 109 118 908 598; #P window setfont "Sans Serif" 9.; #P window linecount 3; #P message 128 381 97 9109513 \; matrix_cont_P 10 \;; #P window linecount 2; #P message 614 297 93 9109513 \; matrix_cont_P 10; #P message 614 269 93 9109513 \; matrix_cont_P 9; #P message 614 45 93 9109513 \; matrix_cont_P 1; #P message 614 73 93 9109513 \; matrix_cont_P 2; #P message 614 241 93 9109513 \; matrix_cont_P 8; #P message 614 101 93 9109513 \; matrix_cont_P 3; #P message 614 129 93 9109513 \; matrix_cont_P 4; #P message 614 157 93 9109513 \; matrix_cont_P 5; #P message 614 213 93 9109513 \; matrix_cont_P 7; #P message 614 185 93 9109513 \; matrix_cont_P 6; #P window linecount 3; #P message 437 175 91 9109513 \; matrix_cont_P 1 \;; #P window linecount 1; #P comment 87 343 37 9109513 rev; #P window linecount 3; #P message 294 328 71 9109513 \; rev preset 2 \; rev vol 120; #P message 216 327 71 9109513 \; rev preset 1 \; rev vol 90; #P message 125 327 91 9109513 \; matrix_cont_P 1 \; matrix_cont_P 6; #P window linecount 1; #P comment 85 289 37 9109513 fshift; #P window linecount 3; #P message 311 275 91 9109513 \; matrix_cont_P 1 \;; #P window linecount 4; #P message 216 274 91 9109513 \; fshift freq 125.9 \; fshift port 0 \; fshift vol 120; #P window linecount 1; #P comment 53 243 69 9109513 transposition; #P window linecount 3; #P message 124 276 91 9109513 \; matrix_cont_P 1 \; matrix_cont_P 5; #P message 296 232 91 9109513 \; matrix_cont_P 1 \;; #P window linecount 1; #P comment 83 230 37 9109513 Gizmo; #P window linecount 3; #P message 221 226 74 9109513 \; gizmo -1 \; gizmo vol 127; #P message 125 226 91 9109513 \; matrix_cont_P 1 \; matrix_cont_P 4; #P message 439 135 91 9109513 \; matrix_cont_P 1 \;; #P window linecount 2; #P comment 68 142 57 9109513 multi-tap preset; #P window linecount 3; #P message 125 133 91 9109513 \; matrix_cont_P 1 \; matrix_cont_P 3; #P window linecount 4; #P message 316 133 119 9109513 \; m-tap vol-in 0 100 \; m-tap vol-out 0 15000 \;; #P window linecount 8; #P message 217 133 98 9109513 \; m-tap vol-in 127 \; m-tap vol-out 127 \; m-tap del-1 100 \; m-tap del-2 1003 \; m-tap del-3 2435 \; m-tap del-4 7987 \;; #P window linecount 1; #P comment 67 101 57 9109513 gran preset; #P window linecount 3; #P message 259 86 75 9109513 \; gran preset 2 \;; #P message 183 86 75 9109513 \; gran preset 1 \; gran vol 100; #P window linecount 4; #P message 123 86 60 9109513 \; gran vol 0 \; gran load \;; #P window linecount 3; #P message 259 37 67 9109513 \; fm preset 3 \;; #P window linecount 2; #P message 214 42 45 9109513 \; fm bang; #P window linecount 4; #P message 124 33 91 9109513 \; matrix_cont_P 1 \; fm preset 1 \; matrix_cont_P 2; #P window linecount 1; #P comment 72 54 57 9109513 FM preset; #P pop; #P newobj 837 -73 120 9109524 p examples; #B color 13; #P window setfont "Sans Serif" 9.; #P comment 991 119 166 9109513 interpolation between for later...; #P newex 460 515 88 9109513 r set_menu_videos; #P button 497 388 15 0; #P newex 401 608 55 9109513 pipe 1500; #P newex 402 583 27 9109513 i; #P message 453 544 39 9109513 set \$1; #P newex 137 417 32 9109513 sel 0; #P message 330 323 58 9109513 writeagain; #P comment 175 312 57 9109513 Presets; #P message 200 323 31 9109513 save; #P message 174 323 26 9109513 new; #P message 297 323 35 9109513 write; #P message 268 323 30 9109513 read; #P message 353 385 58 9109513 presett \$1; #P window setfont "Arial Black" 18.; #P comment 204 294 100 12582930 Presets; #P window setfont "Sans Serif" 9.; #P message 137 384 39 9109513 set \$1; #P inlet 730 299 15 0; #P message 549 359 44 9109513 refresh; #P button 160 323 15 5; #P message 169 366 39 9109513 set \$1; #P window setfont "Sans Serif" 14.; #P number 137 339 33 14 0 100 67 139 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont "Sans Serif" 9.; #P newex 153 515 38 9109513 gate 1; #P button 331 484 15 0; #P message 273 480 14 9109513 0; #P message 154 496 14 9109513 1; #P newex 273 458 68 9109513 sel undefined; #P message 101 323 33 9109513 clear; #P newex 354 409 101 9109513 s save_preset_videos; #P newex 549 385 126 9109513 s preset_commands_videos; #P newex 137 547 72 9109513 s to_ps_videos; #P newex 374 306 97 9109513 r preset-menu-videos; #P window setfont "Arial Black" 12.; #P user ubumenu 168 338 220 12582924 0 1 1 0; #X add (undefined); #X prefix_set 0 0 <none> 0; #P window setfont "Sans Serif" 9.; #P window linecount 2; #P comment 133 310 44 9109513 refresh menu; #B color 5; #P window linecount 1; #P comment 298 317 57 9109513 Preset File; #P user panel 1 292 661 203; #X brgb 52 85 161; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P connect 29 0 14 0; #P connect 15 0 14 0; #P connect 14 0 19 0; #P connect 14 0 28 0; #P connect 28 1 5 0; #P connect 13 0 5 0; #P connect 11 0 13 0; #P connect 10 0 13 0; #P connect 12 0 10 0; #P connect 29 0 3 0; #P connect 19 0 3 0; #P connect 8 0 3 0; #P connect 4 0 3 0; #P connect 3 0 15 0; #P connect 3 0 13 1; #P connect 3 1 9 0; #P connect 9 0 11 0; #P connect 9 1 12 0; #P connect 14 0 21 0; #P connect 3 0 21 0; #P connect 3 1 7 0; #P connect 25 0 7 0; #P connect 21 0 7 0; #P connect 24 0 7 0; #P connect 30 0 31 0; #P connect 32 0 30 0; #P connect 14 0 30 1; #P connect 3 0 30 1; #P connect 31 0 29 0; #P connect 33 0 29 0; #P connect 17 0 32 0; #P connect 16 0 17 0; #P connect 17 0 6 0; #P connect 27 0 6 0; #P connect 22 0 6 0; #P connect 23 0 6 0; #P connect 43 0 44 0; #P connect 51 0 52 0; #P connect 49 0 36 0; #P connect 37 0 36 0; #P connect 38 0 36 0; #P connect 45 0 36 0; #P connect 46 0 36 0; #P connect 40 0 36 0; #P connect 39 0 36 0; #P fasten 36 0 43 0 766 115 766 115; #P fasten 43 1 42 0 831 138 766 138; #P connect 42 0 47 0; #P connect 52 0 38 0; #P connect 52 1 37 0; #P connect 43 1 57 0; #P connect 52 2 45 0; #P connect 50 0 49 0; #P connect 57 0 59 0; #P connect 41 0 40 0; #P connect 59 0 58 0; #P connect 50 0 53 0; #P connect 53 0 54 0; #P connect 58 0 55 0; #P connect 54 0 55 0; #P pop; but I make an other patcher like this: max v2; #N vpatcher 15 55 615 628; #P outlet 282 493 15 0; #P outlet 151 498 15 0; #P window setfont "Sans Serif" 9.; #P window linecount 3; #P message 152 452 50 9109513 write "fossile -8 .jpg"; #P button 128 417 15 0; #P window linecount 1; #P newex 156 414 57 9109513 prepend set; #P button 165 320 15 0; #P newex 155 382 53 9109513 pak write s; #P window linecount 2; #P message 200 351 50 9109513 "fossile -8 .jpg"; #P window linecount 1; #P newex 198 319 57 9109513 prepend set; #P newex 198 284 47 9109513 tosymbol; #P newex 197 257 83 9109513 pak fossile 0 .jpg; #P newex 368 263 57 9109513 s maxcount; #P number 208 218 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #N counter; #X flags 0 0; #P newobj 208 188 66 9109513 counter; #P user gswitch2 169 126 39 32 1 0; #P message 319 192 47 9109513 separator; #P button 239 92 15 0; #P button 160 87 15 0; #P toggle 199 88 15 0; #P inlet 236 57 15 0; #P inlet 198 57 15 0; #P inlet 159 56 15 0; #P window linecount 5; #P comment 14 30 100 9109513 sous patches nomage des fichiers le.jpg peux etre remplacé par ce que l'on veut .mov etc; #P connect 16 0 19 0; #P connect 20 0 21 0; #P connect 18 0 20 0; #P connect 19 0 20 0; #P connect 8 1 16 0; #P connect 16 0 18 0; #P connect 1 0 5 0; #P connect 13 0 17 0; #P connect 4 0 8 0; #P connect 5 0 8 1; #P connect 7 0 13 0; #P connect 12 0 13 0; #P connect 13 0 14 0; #P connect 15 0 16 1; #P connect 2 0 4 0; #P connect 14 0 15 0; #P connect 17 0 15 0; #P connect 8 1 9 0; #P connect 8 0 9 0; #P connect 9 0 10 0; #P connect 10 0 12 1; #P connect 6 0 9 2; #P connect 3 0 6 0; #P connect 14 0 22 0; #P connect 5 0 7 0; #P connect 10 0 11 0; #P pop; Thanks for advice!
- Previous message: [jitter] shininess and jit.gl.model
- Next message: [jitter] standalone JS Errors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
