[maxmsp] Recallmulti bug or wish
Arthur Sauer
arthur at sauer.demon.nl
Sat Mar 1 21:06:18 MST 2008
- Previous message: [maxmsp] Re: Switching a bpatcher: loading new bpatcher from a file
- Next message: [maxmsp] An easy one - how to increase/decrease a variable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Is this a bug or is it a wish? I want to be able to use recallmulti while using the interpolation settings with pattrstorage. Now recallmulti uses only linear interpolation. At the moment a workaround is not possible especially since I use large numbers of faders that are created by a script. See the patch to understand why a workaround is not possible. Would it be possible to implement the other types of interpolation? max v2; #N vpatcher 14 59 864 456; #P origin -242 -6; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 520 39 55 196617 deactivate; #P toggle 503 39 15 0; #P message 503 60 117 196617 active slideorswitch \$1; #P window linecount 9; #P comment 401 39 100 196617 There is no workaround since you have to deactivate the slider to exclude it from recallmulti which makes it impossible to use it with crossfade...; #P window linecount 4; #P comment 198 39 100 196617 when you use recallmulti the threshold is not used.; #P window linecount 1; #P comment 341 39 55 196617 recallmulti; #P newex 293 111 54 196617 pack 0. 0.; #P newex 293 89 27 196617 + 1.; #P newex 337 89 27 196617 + 2.; #P newex 337 69 30 196617 !- 1.; #P flonum 303 39 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 664 128 43 196617 store 2; #P message 738 128 43 196617 store 1; #P message 710 128 26 196617 127; #P message 783 128 14 196617 0; #P number 735 315 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 102 39 35 9 1. 2. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 510 103 48 196617 loadbang; #P message 510 128 151 196617 interp slideorswitch thresh 0.5; #P message 293 132 89 196617 recallmulti \$1 \$2; #P newex 503 201 67 196617 pattrstorage; #X interp slideorswitch 2 0.5; #X active slideorswitch 0; #X client_rect 668 76 1308 316; #X storage_rect 24 74 664 314; #P objectname u404000003; #P newex 661 337 170 196617 pattr slideorswitch @bindto slider1; #X prestore 1 0 102; #P objectname slideorswitch; #P user uslider 735 160 18 128 128 1 0 0; #P objectname slider1; #P comment 140 39 55 196617 crossfade; #P window linecount 3; #P comment 0 39 100 196617 when you crossfade between presets the threshold is used.; #P window linecount 1; #P comment 79 210 360 196617 how much better it would be if recallmulti would use the interpolationsettings!; #P window linecount 2; #P comment 539 149 100 196617 interpolationsetting: threshold = 0.5; #P window linecount 1; #P comment 665 108 100 196617 make two presets; #P window linecount 3; #P comment 639 218 94 196617 it should switch but it slides using recallmulti; #P connect 18 0 21 0; #P connect 21 0 22 0; #P connect 22 0 9 0; #P connect 18 0 19 0; #P connect 19 0 20 0; #P connect 20 0 22 1; #P connect 27 0 26 0; #P fasten 12 0 8 0 107 159 508 159; #P fasten 26 0 8 0 508 159 508 159; #P fasten 9 0 8 0 298 159 508 159; #P fasten 16 0 8 0 743 146 508 146; #P fasten 17 0 8 0 669 146 508 146; #P fasten 10 0 8 0 515 146 508 146; #P connect 11 0 10 0; #P fasten 11 0 17 0 515 123 669 123; #P fasten 11 0 15 0 515 123 715 123; #P connect 14 0 6 0; #P connect 15 0 6 0; #P connect 6 0 13 0; #P fasten 11 0 16 0 515 123 743 123; #P fasten 11 0 14 0 515 123 788 123; #P pop; > | Arthur Sauer | | <http://www.gameoflife.nl/> < -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/maxmsp/attachments/20080302/282a9ea3/attachment.htm
- Previous message: [maxmsp] Re: Switching a bpatcher: loading new bpatcher from a file
- Next message: [maxmsp] An easy one - how to increase/decrease a variable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
