Forums > MaxMSP

graphics in Max

March 9, 2007 | 10:59 am

graphics in Max

hi ive made a program for my uni degree in max its basically like an MPC

16 samplers with lots of midi functions and so on

the problem is that i every time i load up the max file some of the graphics disappear?! i then proceed to paste them in again and then save , the next day i load the program up other pictures have disappeared

the images were imported using the past picture function and are mainly things like background images

the picture files haven’t been tampered with or moved.

im using a intel MAC

any help would be great


March 9, 2007 | 11:22 am

hi,

try to bring them to front. (Object Menu) and save the patch.

or from the patch remotely

1. give a name to the object holding the pic
2. make a thispatcher on the same patching level (not in a subpatch)
3. give the msg script bringtofront [name] into thispatcher

cheers

Falk
Am 09.03.2007 um 11:59 schrieb samer:

>
> graphics in Max
>
> hi ive made a program for my uni degree in max its basically like
> an MPC
>
> 16 samplers with lots of midi functions and so on
>
> the problem is that i every time i load up the max file some of the
> graphics disappear?! i then proceed to paste them in again and then
> save , the next day i load the program up other pictures have
> disappeared
>
> the images were imported using the past picture function and are
> mainly things like background images
>
> the picture files haven’t been tampered with or moved.
>
> im using a intel MAC
>
> any help would be great
> –
> http://www.myspace.com/lablowjazz



_j
March 9, 2007 | 12:08 pm

have you tried ;max refresh ??


March 9, 2007 | 1:15 pm

i would bring them to the front but the problem is that they are back ground pics and there not in an object there just pasted in(edit>past picture)

the images in objects like buttons and knobs are fine

whats the ;max refresh ?

thanks

ill try and get some screen shots up soon


March 9, 2007 | 1:31 pm

-you can still give them a name the object is called vpicture. Select
it in unlocked mode and select (Object>name).

-;max refresh is a message to max just type it into a messagebox and
bang it

Falk
Am 09.03.2007 um 14:15 schrieb samer:

>
> i would bring them to the front but the problem is that they are
> back ground pics and there not in an object there just pasted in
> (edit>past picture)
>
> the images in objects like buttons and knobs are fine
>
> whats the ;max refresh ?
>
> thanks
>
> ill try and get some screen shots up soon
> –
> http://www.myspace.com/lablowjazz


March 9, 2007 | 1:45 pm

I hope I understand what you are after. When you paste a picture it is in
fact an object and can be named. Once named you can use scripting to send
messages to it. Here are some examples…

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 428 275 60 196617 loadmess 1;
#N picture;
#K replace 796;
#K set 0 208666624 32 2097169 50269184 -131072 4718592 4718592 0 2097184 0
1966081 655360 32 2097307 -16777216 -2139095040 32 2097152 262144 72 72 16
2097155 524288 0 0 0 32 2097152 32 2097152 655360 32 2118908 286396945
303174418 303240211 336926487 404166166 368841475 303173905 -49147373
303239956 320017429 336860439 370677526 370539540 51581714 368907790
387323671 404166424 421009689 454761725 452728834 387389013 -82706926
370348820 336992539 944527711 1564355355 370480147 319951121 -82641389
387191829 353835036 910775643 1497180698 370545940 336794130 368842494
387323928 421075741 523782227 1482178094 521804313 404231958 375324177
51515921 301863443 320083753 1400277911 -1650483554 -1856691945 353637139
-65928429 319951614 320607252 388518258 -2037278823 -1700949674 555160853
336859923 353768983 387323646 387258393 455889264 -2121559917 -1802007208
639375897 404231959 1476268540 303436563 337133940 -2053269629 -1952403274
-1280344793 420877331 335352572 320476180 353976176 -2137485969 1972612277
-1263567578 404034836 336794903 385619735 404232477 1097694354 -2056621678
-1380534868 2099911962 421009431 1593709054 303633171 336928590 1954978191
2105643680 -1312831030;
#K set 128 -1028895974 370414355 -32309741 471077909 354372462 2123529299
1281127318 -1346123583 -1404364523 353637141 387382807 421009433 438455145
2005693518 1196978325 -1345991999 -1387389414 421009246 -32375278 420680725
458650756 -1736281216 -1918979909 -1010051368 -743493864 353637374 318640924
336925979 1382775694 1749043281 1567719819 -1598435631 -1355933930 353637655
385750809 404298015 1382380168 1648051534 1533968008 -1615146797 -1322050534
421027330 286396925 303764507 1349548426 2137811836 -1868252988 -858532138
-757887971 387191826 320011539 454367821 1735294566 1027294545 1618379916
-1801605955 -812901354 353637655 385685272 421416290 1651793463 893472092
1904315026 -1699955249 -1910498535 425525265 -49145069 320160110 1820359020
1718255512 -1447114285 -690628647 -976339176 353637117 320345108 356410719
1902330422 927356772 2122945688 -1717523024 -834791426 368908058 404232766
1599234648 1009922882 1348302468 -1835691367 -1414738622 471406942 1179154
471012116 711157107 1919311970 1787535789 -1093806374 -589702966 -646768362
353566227 -32238039 1515611486 1127494201 1331522431 -1885625949 -1599886635
1931017749 -31982056 405492554 1464941870 775178582 1652001944 -1650682209
-1496222180 437870333 303764243 408707678 1969184346 1584505526 -1194863911
-589111075 -690385636 387317011 991171608 1431653988 1211313712 1097167986
-2020171610 -1381193809 -762504682;
#K set 256 353768983 387455003 1330200661 1076832557 1029861485 -2087477597
-1482383701 -812703973 425590034 454235197 1700357977 1264278620 1821423047
-757671971 -521935907 -526246120 385684251 336935514 1247233074 808530497
1534560148 -1650415701 -1330531111 -1591863531 -48817384 423186751
1245260844 758070104 1971622555 -1667061846 -1498491231 572267104 -32435437
320361052 1499155802 1415011174 1703396054 -640688642 -502930974 -1407117290
-32367596 337136463 1212689198 808400701 1046056095 -1550342485 -1414613028
-1423894763 -32105448 404506438 1027417642 774647604 894601883 -1584225881
-1532709927 -1457251302 1631523090 286396950 1381648964 1398627663
1314421617 -1697916726 -639705118 -488327905 420876819 303239958 1246442795
640561969 724782919 1754834579 -1583110739 -1109609442 387317270 471275290
1178610981 606744879 674319939 1721149070 -1650285913 -1193561566 454712060
303699015 1195591256 1550936942 1430747253 -1211775291 -555358493 -474013672
385618715 339686695 640495421 977024308 1313374869 -1718244170 -1043931715
504894742 -65595077 740434476 758593598 926305605 2106627728 -1464745785
-591781348 442564881 301863452 356269643 1532648295 -1817990500 2087040700
-1432050486 -404759366 538449426 318640924 372584490 909259060 1466198629
1127974797 2088334500 -876029511 538383637 385750810 422783269 926167087
1449487976 1178174343 1987209624 -859319114 589044321;
#K set 384 1594954002 320086855 994991964 1567264683 -1449362588 -963088002
-1548034343 -810802152 370283027 336863549 741291828 825643115 1767983678
-1804710301 2039594701 -911465705 353768983 404235067 674052663 825446252
1801604411 -1871819677 1988804043 -1096014053 442564113 471013170 1211320413
1600683416 -1718387101 -2135318096 -1533301560 -1614246629 420937234
471078700 1009069621 909459282 1465601336 1149596531 2121236136 -2017620709
404094486 471276332 924921655 959725396 1499155510 1115649141 -2106492508
1974242334 488268030 287052581 1011101264 1532716920 -1716807055 1755630014
-959458614 -1179466420 437786110 305926948 892936752 875771965 1365465661
895587467 -2037016430 -1683702197 420943125 370480677 842276656 909391420
1416060477 861900168 -2037016691 -1751863987 471603809 1594888209 287256905
894391127 1719107721 1852011974 -574766639 -707864900 -2010900458 336662802
303967039 690957872 893140807 942750594 -1484421998 -1734949712 -2078140651
353637653 371206973 657337904 859455304 959461764 -1501527663 -1735081311
-2145051878 425795856 286331410 389623882 1297577353 1902862927 2093929677
-825568303 -1432735462 370480145 301863482 355542057 707738961 1110913316
1116771469 -1886677341 -1785843943 370545940 353637397 389031208 690961484
1060582436 1100191117 -1853320030 -2021314021 437918045 -65980401 354566727
1434159482 1785687418 -1194873902 -572997204;
#K set 512 1142560533 336793873 269487886 320480039 759457883 1128875335
2140101771 -1600414045 1125717525 -49013486 269487380 438445356 1113937214
1161642104 -1957066080 -1667589563 471537945 409009681 504369165 269761598
1333167469 1854381473 -1194486084 -674060715 471275028 320016400 -32565491
252846112 693661003 1348893045 -1801236109 -1650419373 437720574 337580305
269422605 269557023 676620356 1213753440 -2103686546 -1650420906 488184345
404250908 303042320 235736848 758663017 2104389769 -1986937392 -1429942600
2015696662 352195328 285085499 235736847 421275985 1480670801 1499833273
1871159210 1914967573 353637395 286199566 235736590 387589967 1396325198
1414829229 1719507365 1881676312 387323671 1612648464 252710413 235936820
1064143482 -1935231821 -1244936752 -1415158754 370480147 320011535 386796814
236133154 1516915554 2004385166 -1299211625 -1587602410 368972800 335417111
235801869 236067106 1533625172 1920301185 -1534749296 -1671421926 -31981289
392240913 269422094 202247696 726304151 -1834698554 -876624447 2055625547
606344467 319951614 251792910 217976374 372801156 1888331177 -1499811692
1635668803 455087380 336794384 252644878 202182159 356156035 1753653409
-1617778291 1585141061 556210456 404100961 554832142 252579086 252712524
-1885298246 -975975215 -1251989711 723524134 756618002 303042558 234884606
236130623 -1935961935 -1245858617;
#K set 640 -1806951386 571937565 656014867 85004302 252579326 236327488
-1868788307 -1313230391 -1823399891 672994853 824055319 392242449 302976781
219025423 289702557 -1296381736 -590848215 623190817 387982887 554897679
269356557 234753590 272596636 -1313554222 -624866530 437917975 286727199
504566288 286199565 219025165 255951262 -1347240495 -624602587 522198813
337454376 622204512 101847568 269356559 -32501980 1788322736 -858598531
824321572 589371390 537403941 319819791 252579325 235872870 -1767657522
-707430109 404429080 387055127 152641812 286330638 219025150 253043562
-1734103091 -690520021 488644896 487857438 522266904 1593709315 252580110
-32500463 627216296 -1263754422 723526948 589174817 455089956 687738881
252574734 353313118 -1935034193 -1522393321 437852436 286724631 354100222
285412877 252640783 353379169 -1918059340 -1421203684 539042074 337516574
472132704 -32242673 236130578 -32433130 608529524 1767320617 522396450
404562202 538910760 252710926 219156240 -32558062 490957939 1683038238
337123607 286529297 370480670 303108366 219222033 252710933 575107448
1784227878 438313247 353967895 505224744 1560155169 252515348 319951377
336861981 338308391 622928417 521609248 421339167 537858064 235797520
437194769 370610977 572332566 404165904 370544916 370546707 303107853
-65989360 303241499 321333541;
#K set 768 572268319 454302750 370876189 543164182 353636365 303305982
320083218 538841887 656809758 539040793 555751962 555490558 268635917
269483280 470880023 353376029 454432022 387125527 370283031 336991252
302910736 303234577 336859165 454106405 589044253 488117791 504829983
454820095;
#P vpicture 74 90 108 124;
#P objectname me;
#P newex 427 335 41 196617 sel 1 0;
#P toggle 429 302 15 0;
#P message 476 369 105 196617 script sendtoback me;
#P message 360 370 111 196617 script bringtofront me;
#P user pictslider 227 213 100 100 4 4 4 4 SliderDefaultKnob.pct 1
SliderDefaultBkgnd.pct 1 2163 0 8323072 127 1. 1.;
#P newex 224 341 127 196617 pak;
#P message 222 371 104 196617 script size me $1 $2;
#P user pictslider 53 217 100 100 4 4 4 4 SliderDefaultKnob.pct 1
SliderDefaultBkgnd.pct 1 2163 0 8323072 127 1. 1.;
#P newex 50 345 127 196617 pak;
#P message 48 375 110 196617 script move me $1 $2;
#N thispatcher;
#Q end;
#P newobj 47 431 109 196617 thispatcher;
#P user panel 30 43 128 128;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 9 0 1 0;
#P connect 8 0 1 0;
#P connect 5 0 1 0;
#P connect 2 0 1 0;
#P connect 3 0 2 0;
#P connect 4 0 3 0;
#P connect 4 1 3 1;
#P connect 6 0 5 0;
#P connect 7 0 6 0;
#P connect 7 1 6 1;
#P connect 11 0 8 0;
#P connect 10 0 11 0;
#P connect 13 0 10 0;
#P connect 11 1 9 0;
#P window clipboard copycount 14;

On 3/9/07 8:15 AM, "samer" wrote:

>
> i would bring them to the front but the problem is that they are back ground
> pics and there not in an object there just pasted in(edit>past picture)
>
> the images in objects like buttons and knobs are fine
>
> whats the ;max refresh ?
>
> thanks
>
> ill try and get some screen shots up soon
> –
> http://www.myspace.com/lablowjazz

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


March 9, 2007 | 3:32 pm

Quote: student of max wrote on Fri, 09 March 2007 11:59
—————————————————-
> graphics in Max
>
> hi ive made a program for my uni degree in max its basically like an MPC
>
> 16 samplers with lots of midi functions and so on

Funny, I made this MPC sampler some time ago:

http://www.cycling74.com/twiki/bin/view/Share/MattijsKneppers

It’s getting a little outdated though, my current version is much better but not complete enough to release.

Mattijs


March 9, 2007 | 9:57 pm

no sorry guys the sending the pic to the back or front still doesn’t do the trick altho thanks gary for the advise i did learn some stuff from you quick patch

and the ;max refresh didn’t work too :-(

i was thinking of re pasting in the graphics again but this time naming them and using the include in background option

i dont know if it will work but its worth a shot , maybe this time max will remember the graphics are there

ps mattijs i actually studied your MPC patch at the start of the academic year, its not to bad but wait until you hear what this thing can do :-P

heres a few pics

[IMG]http://i61.photobucket.com/albums/h41/coolsamer86/screen2.jpg[/IMG]

[IMG]http://i61.photobucket.com/albums/h41/coolsamer86/screen.jpg[/IMG]


March 9, 2007 | 10:54 pm

lol its got worse every time i save the patch and reload it all the patch cords are all over the place and connected to random objects

ive reinstaled Max but it still has the same problem !


March 10, 2007 | 2:01 pm

Quote: student of max wrote on Fri, 09 March 2007 22:57
—————————————————-
> ps mattijs i actually studied your MPC patch at the start of the academic year, its not to bad but wait until you hear what this thing can do :-P

Well, I could give you a big list of what -is- bad about it ;)

> heres a few pics

Looks like you’ve put quite some in it, which is a good thing :) The mpc has some inspiring limitations. I am still working on my next version (although I don’t really have any time for it). Let me know when your patch is finished, I’d like to see it.

Cheers,
Mattijs


March 14, 2007 | 11:55 am

samer schrieb:
> lol its got worse every time i save the patch and reload it all the
> patch cords are all over the place and connected to random objects

It must be somehow corrupted, try to copy parts of it to new patchers
and save those…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


Viewing 11 posts - 1 through 11 (of 11 total)