Forums > MaxMSP

a crossfader where the volume remains constant

May 4, 2006 | 12:51 pm

hello,

could someone maybe offer a suggestion on how to make a crossfader
where the sound level remains constant? so that with the fader in the
middle, with both stereo sources audible, they both play at unity
gain, and with the fader at each side, just one source plays at unity
gain? i guess this rather means that the combined sound would be
twice as loud with the fader in the middle, but that’s what i’m
looking for…

this is what i have now, but it cuts the volume in half with the
fader in the middle…

thanks for any suggestions!

alex

#P user hslider 23 345 18 128 128 1 0 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#N vpatcher 587 198 1187 598;
#P inlet 224 278 15 0;
#P inlet 264 266 15 0;
#P outlet 223 331 15 0;
#P outlet 257 328 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 224 297 27 196617 *~;
#P newex 255 297 27 196617 *~;
#P inlet 295 260 15 0;
#P inlet 346 259 15 0;
#P outlet 305 324 15 0;
#P outlet 339 321 15 0;
#P inlet 50 70 15 0;
#P newex 111 132 39 196617 / 127.;
#P newex 48 122 39 196617 / 127.;
#P newex 101 183 47 196617 line~ 10;
#P newex 48 183 47 196617 line~ 10;
#P newex 306 290 27 196617 *~;
#P newex 337 290 27 196617 *~;
#P newex 48 141 29 196617 – 1.;
#P connect 7 0 5 0;
#P connect 5 0 0 0;
#P connect 0 0 3 0;
#P connect 6 0 4 0;
#P connect 7 0 6 0;
#P connect 13 0 15 0;
#P connect 17 0 13 0;
#P connect 3 0 13 1;
#P connect 16 0 12 0;
#P connect 12 0 14 0;
#P connect 3 0 12 1;
#P connect 2 0 9 0;
#P connect 11 0 2 0;
#P connect 4 0 2 1;
#P connect 10 0 1 0;
#P connect 1 0 8 0;
#P connect 4 0 1 1;
#P pop;
#P newobj 23 368 66 196617 p crossfade;
#P connect 1 0 0 0;
#P window clipboard copycount 2;


May 5, 2006 | 3:30 pm

On May 4, 2006, at 8:51 AM, beschaving@gmail.com wrote:

> this is what i have now, but it cuts the volume in half with the
> fader in the middle…

you might search for "constant power panning" – it might help you.
good luck
bruce

bruce tovsky
http://www.skeletonhome.com

"The secret to creativity is knowing how to hide your sources."
Albert Einstein


May 5, 2006 | 3:32 pm

Have a look in Examples/Spatialization/Panning
cheers
Roger


May 5, 2006 | 4:54 pm

hi!

i have a patch for max 4.5 that you can copy wath you need!

max v2;
#N vpatcher 4 128 1360 731;
#P window setfont "Sans Serif" 9.;
#P comment 958 228 100 9109513 ignore this pan;
#P comment 390 340 100 9109513 ignore this pan;
#P button 813 46 15 0;
#P button 757 45 15 0;
#P newex 725 155 27 9109513 *~ 1;
#P message 754 93 14 9109513 1;
#P message 770 93 14 9109513 0;
#P message 824 93 14 9109513 1;
#P message 806 93 14 9109513 0;
#P newex 740 125 27 9109513 *~ 1;
#P newex 844 94 35 9109513 noise~;
#P toggle 704 46 15 0;
#P message 673 70 28 9109513 open;
#N sfplay~ 1 120960 0 ;
#P newobj 703 92 40 9109513 sfplay~;
#P user meter~ 383 512 433 584 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 317 511 367 583 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 249 511 299 583 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P newex 1110 352 27 9109513 *~;
#P newex 1073 352 27 9109513 *~;
#P newex 1036 352 27 9109513 *~;
#P user meter~ 1061 431 1074 489 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 1084 507 1097 565 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 1084 435 1097 493 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 1038 509 1051 567 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 1038 435 1051 493 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P flonum 1268 409 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 1223 409 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 368 152 671 459;
#P origin 112 0;
#N comlet Canal esquerdo em dB;
#P outlet 56 263 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 56 239 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet 7 263 15 0;
#P newex 7 239 31 9109513 dbtoa;
#P newex 7 212 32 9109513 – 120.;
#P newex 7 188 35 9109513 !- 120.;
#P newex 7 162 33 9109513 * 120.;
#P newex 7 137 29 9109513 f;
#P number 7 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 7 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 194 263 15 0;
#P newex 145 72 40 9109513 !- 1200.;
#P flonum 194 239 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 145 263 15 0;
#N comlet 0 a 1201;
#P inlet 145 26 15 0;
#P newex 145 239 31 9109513 dbtoa;
#P newex 145 212 32 9109513 – 120.;
#P newex 145 188 35 9109513 !- 120.;
#P newex 145 162 33 9109513 * 120.;
#P newex 145 137 29 9109513 f;
#P number 145 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 7 0 13 0 150 68 12 68;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 12 235 61 235;
#P connect 20 0 21 0;
#P connect 7 0 10 0;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 150 235 199 235;
#P connect 9 0 11 0;
#P pop;
#P newobj 1233 322 88 9109513 p logpan2;
#P newex 1184 351 27 9109513 *~;
#P newex 1147 351 27 9109513 *~;
#P flonum 955 313 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 899 313 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 368 152 671 459;
#P origin 112 0;
#N comlet Canal esquerdo em dB;
#P outlet 56 263 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 56 239 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet 7 263 15 0;
#P newex 7 239 31 9109513 dbtoa;
#P newex 7 212 32 9109513 – 120.;
#P newex 7 188 35 9109513 !- 120.;
#P newex 7 162 33 9109513 * 120.;
#P newex 7 137 29 9109513 f;
#P number 7 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 7 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 194 263 15 0;
#P newex 145 72 40 9109513 !- 1200.;
#P flonum 194 239 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 145 263 15 0;
#N comlet 0 a 1201;
#P inlet 145 26 15 0;
#P newex 145 239 31 9109513 dbtoa;
#P newex 145 212 32 9109513 – 120.;
#P newex 145 188 35 9109513 !- 120.;
#P newex 145 162 33 9109513 * 120.;
#P newex 145 137 29 9109513 f;
#P number 145 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 7 0 13 0 150 68 12 68;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 12 235 61 235;
#P connect 20 0 21 0;
#P connect 7 0 10 0;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 150 235 199 235;
#P connect 9 0 11 0;
#P pop;
#P newobj 884 248 88 9109513 p logpan2;
#P newex 1185 399 27 9109513 *~;
#P newex 1148 399 27 9109513 *~;
#P newex 1111 399 27 9109513 *~;
#P newex 1074 399 27 9109513 *~;
#P newex 1037 399 27 9109513 *~;
#P flonum 937 416 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 987 416 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 887 416 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 669 142 1235 719;
#P origin 228 0;
#P window setfont "Sans Serif" 9.;
#P newex 80 141 40 9109513 !- 1200.;
#P newex 117 175 111 9109513 switch 2;
#P newex 192 109 74 9109513 if $i1 > 0 then 2;
#P newex 90 111 89 9109513 if $i1 < 1200 then 1;
#P newex 178 80 102 9109513 zmap 600 1201 0 1201;
#P newex 80 81 87 9109513 zmap 0 600 0 1200;
#N comlet Canal central em dB;
#P outlet 138 368 15 0;
#P flonum 138 344 46 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal central para line ou *~;
#P outlet 89 368 15 0;
#P newex 89 344 31 9109513 dbtoa;
#P newex 89 317 32 9109513 – 120.;
#P newex 89 293 35 9109513 !- 120.;
#P newex 89 267 33 9109513 * 120.;
#P newex 89 242 29 9109513 f;
#P number 89 200 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 89 219 136 9109513 linedrive 1200 1. 1.006151 10;
#B color 5;
#P newex -3 44 27 9109513 * 2;
#N comlet Canal esquerdo em dB;
#P outlet -60 263 15 0;
#P flonum -60 239 46 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet -109 263 15 0;
#P newex -109 239 31 9109513 dbtoa;
#P newex -109 212 32 9109513 – 120.;
#P newex -109 188 35 9109513 !- 120.;
#P newex -109 162 33 9109513 * 120.;
#P newex -109 137 29 9109513 f;
#P number -109 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex -109 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 357 271 15 0;
#P newex 308 80 40 9109513 !- 2400.;
#P flonum 357 247 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 308 271 15 0;
#N comlet 0 a 1201;
#P inlet 80 18 15 0;
#P newex 308 247 31 9109513 dbtoa;
#P newex 308 220 32 9109513 – 120.;
#P newex 308 196 35 9109513 !- 120.;
#P newex 308 170 33 9109513 * 120.;
#P newex 308 145 29 9109513 f;
#P number 308 103 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 308 122 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 22 0 13 0 2 73 -104 73;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 -104 235 -55 235;
#P connect 20 0 21 0;
#P fasten 7 0 22 0 85 38 2 38;
#P connect 7 0 33 0;
#P connect 33 0 38 0;
#P fasten 37 0 24 0 122 197 94 197;
#P connect 24 0 23 0;
#P connect 23 0 25 0;
#P connect 25 0 26 0;
#P connect 26 0 27 0;
#P connect 27 0 28 0;
#P connect 28 0 29 0;
#P connect 29 0 30 0;
#P fasten 33 0 35 0 85 105 95 105;
#P fasten 35 0 37 0 95 133 122 133;
#P fasten 36 0 37 0 197 133 122 133;
#P fasten 28 0 31 0 94 340 143 340;
#P connect 31 0 32 0;
#P fasten 38 0 37 1 85 172 172 172;
#P fasten 7 0 34 0 85 38 183 38;
#P fasten 34 0 36 0 183 104 197 104;
#P fasten 34 0 37 2 183 142 222 142;
#P fasten 22 0 10 0 2 73 313 73;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 313 243 362 243;
#P connect 9 0 11 0;
#P pop;
#P newobj 862 350 139 9109513 p logpan3;
#P comment 902 227 48 9109513 5 Canais;
#P message 491 52 34 9109513 set $1;
#P message 455 52 34 9109513 set $1;
#P user hslider 455 92 18 128 1201 1 0 0;
#P user uslider 615 45 18 128 1201 1 0 0;
#P user meter~ 97 518 110 576 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 34 518 47 576 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 772 515 785 573 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 772 441 785 499 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 726 515 739 573 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P user meter~ 726 441 739 499 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 10 3 3 3;
#P newex 670 441 27 9109513 *~;
#P newex 633 441 27 9109513 *~;
#P newex 596 441 27 9109513 *~;
#P newex 559 441 27 9109513 *~;
#P flonum 810 385 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 765 385 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 368 152 671 459;
#P origin 112 0;
#N comlet Canal esquerdo em dB;
#P outlet 56 263 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 56 239 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet 7 263 15 0;
#P newex 7 239 31 9109513 dbtoa;
#P newex 7 212 32 9109513 – 120.;
#P newex 7 188 35 9109513 !- 120.;
#P newex 7 162 33 9109513 * 120.;
#P newex 7 137 29 9109513 f;
#P number 7 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 7 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 194 263 15 0;
#P newex 145 72 40 9109513 !- 1200.;
#P flonum 194 239 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 145 263 15 0;
#N comlet 0 a 1201;
#P inlet 145 26 15 0;
#P newex 145 239 31 9109513 dbtoa;
#P newex 145 212 32 9109513 – 120.;
#P newex 145 188 35 9109513 !- 120.;
#P newex 145 162 33 9109513 * 120.;
#P newex 145 137 29 9109513 f;
#P number 145 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 7 0 13 0 150 68 12 68;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 12 235 61 235;
#P connect 20 0 21 0;
#P connect 7 0 10 0;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 150 235 199 235;
#P connect 9 0 11 0;
#P pop;
#P newobj 749 323 88 9109513 p logpan2;
#P flonum 713 385 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 661 385 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 368 152 671 459;
#P origin 112 0;
#N comlet Canal esquerdo em dB;
#P outlet 56 263 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 56 239 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet 7 263 15 0;
#P newex 7 239 31 9109513 dbtoa;
#P newex 7 212 32 9109513 – 120.;
#P newex 7 188 35 9109513 !- 120.;
#P newex 7 162 33 9109513 * 120.;
#P newex 7 137 29 9109513 f;
#P number 7 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 7 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 194 263 15 0;
#P newex 145 72 40 9109513 !- 1200.;
#P flonum 194 239 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 145 263 15 0;
#N comlet 0 a 1201;
#P inlet 145 26 15 0;
#P newex 145 239 31 9109513 dbtoa;
#P newex 145 212 32 9109513 – 120.;
#P newex 145 188 35 9109513 !- 120.;
#P newex 145 162 33 9109513 * 120.;
#P newex 145 137 29 9109513 f;
#P number 145 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 7 0 13 0 150 68 12 68;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 12 235 61 235;
#P connect 20 0 21 0;
#P connect 7 0 10 0;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 150 235 199 235;
#P connect 9 0 11 0;
#P pop;
#P newobj 635 323 88 9109513 p logpan2;
#P newex 597 385 27 9109513 *~;
#P newex 563 385 27 9109513 *~;
#P comment 655 292 48 9109513 4 Canais;
#P flonum 426 451 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 302 450 27 9109513 *~;
#P flonum 476 451 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 376 451 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 669 142 1235 719;
#P origin 228 0;
#P window setfont "Sans Serif" 9.;
#P newex 80 141 40 9109513 !- 1200.;
#P newex 117 175 111 9109513 switch 2;
#P newex 192 109 74 9109513 if $i1 > 0 then 2;
#P newex 90 111 89 9109513 if $i1 < 1200 then 1;
#P newex 178 80 102 9109513 zmap 600 1201 0 1201;
#P newex 80 81 87 9109513 zmap 0 600 0 1200;
#N comlet Canal central em dB;
#P outlet 138 368 15 0;
#P flonum 138 344 46 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal central para line ou *~;
#P outlet 89 368 15 0;
#P newex 89 344 31 9109513 dbtoa;
#P newex 89 317 32 9109513 – 120.;
#P newex 89 293 35 9109513 !- 120.;
#P newex 89 267 33 9109513 * 120.;
#P newex 89 242 29 9109513 f;
#P number 89 200 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 89 219 136 9109513 linedrive 1200 1. 1.006151 10;
#B color 5;
#P newex -3 44 27 9109513 * 2;
#N comlet Canal esquerdo em dB;
#P outlet -60 263 15 0;
#P flonum -60 239 46 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet -109 263 15 0;
#P newex -109 239 31 9109513 dbtoa;
#P newex -109 212 32 9109513 – 120.;
#P newex -109 188 35 9109513 !- 120.;
#P newex -109 162 33 9109513 * 120.;
#P newex -109 137 29 9109513 f;
#P number -109 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex -109 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 357 271 15 0;
#P newex 308 80 40 9109513 !- 2400.;
#P flonum 357 247 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 308 271 15 0;
#N comlet 0 a 1201;
#P inlet 80 18 15 0;
#P newex 308 247 31 9109513 dbtoa;
#P newex 308 220 32 9109513 – 120.;
#P newex 308 196 35 9109513 !- 120.;
#P newex 308 170 33 9109513 * 120.;
#P newex 308 145 29 9109513 f;
#P number 308 103 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 308 122 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 22 0 13 0 2 73 -104 73;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 -104 235 -55 235;
#P connect 20 0 21 0;
#P fasten 7 0 22 0 85 38 2 38;
#P connect 7 0 33 0;
#P connect 33 0 38 0;
#P fasten 37 0 24 0 122 197 94 197;
#P connect 24 0 23 0;
#P connect 23 0 25 0;
#P connect 25 0 26 0;
#P connect 26 0 27 0;
#P connect 27 0 28 0;
#P connect 28 0 29 0;
#P connect 29 0 30 0;
#P fasten 33 0 35 0 85 105 95 105;
#P fasten 36 0 37 0 197 133 122 133;
#P fasten 35 0 37 0 95 133 122 133;
#P fasten 28 0 31 0 94 340 143 340;
#P connect 31 0 32 0;
#P fasten 38 0 37 1 85 172 172 172;
#P fasten 7 0 34 0 85 38 183 38;
#P fasten 34 0 36 0 183 104 197 104;
#P fasten 34 0 37 2 183 142 222 142;
#P fasten 22 0 10 0 2 73 313 73;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 313 243 362 243;
#P connect 9 0 11 0;
#P pop;
#P newobj 361 381 139 9109513 p logpan3;
#P newex 346 450 27 9109513 *~;
#P newex 263 450 27 9109513 *~;
#P comment 402 353 48 9109513 3 Canais;
#P number 82 248 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 115 96 23 9109513 600;
#P number 36 248 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 179 455 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 127 455 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 368 152 671 459;
#P origin 112 0;
#N comlet Canal esquerdo em dB;
#P outlet 56 263 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 56 239 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet 7 263 15 0;
#P newex 7 239 31 9109513 dbtoa;
#P newex 7 212 32 9109513 – 120.;
#P newex 7 188 35 9109513 !- 120.;
#P newex 7 162 33 9109513 * 120.;
#P newex 7 137 29 9109513 f;
#P number 7 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 7 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 194 263 15 0;
#P newex 145 72 40 9109513 !- 1200.;
#P flonum 194 239 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 145 263 15 0;
#N comlet 0 a 1201;
#P inlet 145 26 15 0;
#P newex 145 239 31 9109513 dbtoa;
#P newex 145 212 32 9109513 – 120.;
#P newex 145 188 35 9109513 !- 120.;
#P newex 145 162 33 9109513 * 120.;
#P newex 145 137 29 9109513 f;
#P number 145 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 7 0 13 0 150 68 12 68;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 12 235 61 235;
#P connect 20 0 21 0;
#P connect 7 0 10 0;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 150 235 199 235;
#P connect 9 0 11 0;
#P pop;
#P newobj 101 393 88 9109513 p logpan2;
#P newex 85 450 27 9109513 *~;
#P newex 51 450 27 9109513 *~;
#P user ezdac~ 50 518 94 551 0;
#P button 25 54 15 0;
#P newex 25 71 45 9109513 loadbang;
#P message 25 95 23 9109513 600;
#P user pictslider 25 140 100 100 4 4 4 4 SliderDefaultKnob.pct 1 SliderDefaultBkgnd.pct 1 2163 0 78708736 1201 1. 1.;
#P comment 1 3 61 9109513 Panoramicas;
#P comment 129 352 48 9109513 2 Canais;
#P user panel 14 341 208 241;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P user panel 231 336 285 255;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P user panel 544 286 309 298;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P comment 1272 47 100 9109513;
#P user panel 859 214 473 366;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P newex 710 125 27 9109513 *~ 1;
#P comment 110 316 114 9109513 this is wath you want!!!;
#P connect 12 0 11 0;
#P connect 11 0 10 0;
#P connect 10 0 9 0;
#P fasten 50 0 9 0 460 123 30 123;
#P connect 14 0 47 0;
#P fasten 9 0 19 0 30 244 41 244;
#P connect 14 0 13 0;
#P fasten 91 0 14 0 730 243 56 243;
#P fasten 16 0 14 1 106 428 73 428;
#P fasten 9 1 21 0 120 244 87 244;
#P connect 15 0 13 1;
#P fasten 91 0 15 0 730 243 90 243;
#P connect 15 0 48 0;
#P fasten 9 0 16 0 30 270 106 270;
#P fasten 16 2 15 1 158 444 107 444;
#P fasten 11 0 20 0 30 92 120 92;
#P connect 20 0 9 1;
#P fasten 49 0 9 1 620 193 609 193 609 137 120 137;
#P connect 16 1 17 0;
#P connect 16 3 18 0;
#P connect 23 0 79 0;
#P fasten 91 0 23 0 730 243 268 243;
#P fasten 25 0 23 1 366 426 285 426;
#P fasten 91 0 28 0 730 243 307 243;
#P connect 28 0 80 0;
#P fasten 25 2 28 1 416 431 324 431;
#P fasten 91 0 24 0 730 243 351 243;
#P fasten 9 0 25 0 30 270 366 270;
#P fasten 25 4 24 1 466 442 368 442;
#P connect 25 1 26 0;
#P connect 24 0 81 0;
#P connect 25 3 29 0;
#P fasten 9 0 51 0 30 244 14 244 14 33 460 33;
#P connect 51 0 50 0;
#P connect 25 5 27 0;
#P fasten 9 1 52 0 120 244 144 244 144 37 496 37;
#P connect 31 0 39 0;
#P fasten 91 0 31 0 730 279 568 279;
#P fasten 36 2 39 1 806 420 581 420;
#P fasten 33 0 31 1 640 363 585 363;
#P connect 32 0 40 0;
#P fasten 91 0 32 0 730 279 602 279;
#P fasten 36 2 40 1 806 420 618 420;
#P fasten 33 2 32 1 692 379 619 379;
#P fasten 52 0 49 0 496 77 596 77 596 43 620 43;
#P connect 31 0 41 0;
#P fasten 9 0 33 0 30 270 640 270;
#P fasten 36 0 41 1 754 430 655 430;
#P connect 33 1 34 0;
#P connect 32 0 42 0;
#P fasten 36 0 42 1 754 430 692 430;
#P fasten 83 0 82 0 678 90 708 90;
#P connect 84 0 82 0;
#P connect 82 0 1 0;
#P connect 33 3 35 0;
#P connect 86 0 91 0;
#P connect 1 0 91 0;
#P fasten 39 0 43 0 564 468 714 468 714 438 731 438;
#P fasten 41 0 44 0 638 477 712 477 712 507 731 507;
#P connect 87 0 1 1;
#P connect 90 0 1 1;
#P connect 85 0 86 0;
#P fasten 9 1 36 0 120 244 754 244;
#P connect 92 0 90 0;
#P connect 88 0 86 1;
#P connect 89 0 86 1;
#P fasten 36 1 37 0 780 363 770 363;
#P connect 92 0 89 0;
#P fasten 40 0 45 0 601 464 710 464 710 434 777 434;
#P fasten 42 0 46 0 675 472 716 472 716 503 777 503;
#P connect 93 0 87 0;
#P fasten 36 3 38 0 832 363 815 363;
#P connect 93 0 88 0;
#P fasten 9 0 54 0 30 270 867 270;
#P fasten 9 1 63 0 120 244 889 244;
#P connect 54 1 55 0;
#P fasten 63 1 64 0 915 291 904 291;
#P connect 54 3 57 0;
#P fasten 63 3 65 0 967 291 960 291;
#P connect 54 5 56 0;
#P fasten 91 0 76 0 730 196 1041 196;
#P connect 76 0 58 0;
#P connect 58 0 71 0;
#P fasten 61 0 72 0 1153 498 1043 498;
#P fasten 63 2 76 1 941 345 1058 345;
#P fasten 54 0 58 1 867 395 1059 395;
#P connect 59 0 75 0;
#P fasten 91 0 77 0 730 196 1078 196;
#P connect 77 0 59 0;
#P connect 60 0 73 0;
#P fasten 62 0 74 0 1190 503 1089 503;
#P fasten 63 2 77 1 941 345 1095 345;
#P fasten 54 2 59 1 917 390 1096 390;
#P fasten 91 0 78 0 730 196 1115 196;
#P connect 78 0 60 0;
#P fasten 63 2 78 1 941 345 1132 345;
#P fasten 54 4 60 1 967 385 1133 385;
#P fasten 91 0 66 0 730 196 1152 196;
#P connect 66 0 61 0;
#P fasten 63 0 66 1 889 273 1169 273;
#P fasten 68 0 61 1 1238 383 1170 383;
#P fasten 91 0 67 0 730 196 1189 196;
#P connect 67 0 62 0;
#P fasten 63 0 67 1 889 273 1206 273;
#P fasten 68 2 62 1 1290 387 1207 387;
#P fasten 68 1 69 0 1264 403 1228 403;
#P fasten 9 0 68 0 30 270 1238 270;
#P fasten 68 3 70 0 1316 403 1273 403;
#P pop;


May 5, 2006 | 5:02 pm


May 6, 2006 | 10:14 pm

as until now everyone ignored the question :) …
lets try just to do what you were actually asking for.

well it sounded simple – but i just needed 3
attempts and almost 5 minutes.
it is hopefully clean code now at its final stage.

that was by will that i avoided [expr] which would
make the whole thing shorter, but less flexible.

max v2;
#N vpatcher 329 521 1075 1137;
#P newex 208 210 55 196617 !- 127;
#P number 65 300 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 65 269 55 196617 + 127;
#P user gain~ 265 381 34 124 158 0 1.07152 7.94321 10.;
#P user gain~ 77 380 34 124 158 0 1.07152 7.94321 10.;
#P number 65 240 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 20 177 34 196617 127;
#P newex 20 152 55 196617 t b i;
#P message 163 177 34 196617 0;
#P newex 163 152 55 196617 t b i;
#P number 208 240 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 163 118 73 196617 split 1 127;
#P newex 20 119 73 196617 split -127 -1;
#P user multiSlider 94 27 215 52 -127. 127. 1 2664 47;
#M frgb 0 0 0;
#M brgb 255 255 255;
#P connect 0 0 1 0;
#P connect 1 0 6 0;
#P connect 6 0 7 0;
#P connect 5 0 8 0;
#P connect 6 1 8 0;
#P connect 8 0 11 0;
#P connect 11 0 12 0;
#P connect 3 0 9 0;
#P connect 0 0 2 0;
#P connect 2 0 4 0;
#P connect 4 0 5 0;
#P connect 4 1 13 0;
#P connect 13 0 3 0;
#P connect 7 0 3 0;
#P connect 12 0 10 0;
#P pop;

-110 mixer pages


May 7, 2006 | 11:02 am

You might also just use tap.crossfade~ in equal-power mode. It’s part
of the tap tools collection.

Titus


May 7, 2006 | 2:04 pm

YOU CAN NOT IGNORE THE AUDIO RULES! (MAX 4.5)

max v2;
#N vpatcher 60 85 1126 784;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 565 468 40 9109513 sound 2;
#P comment 349 466 41 9109513 sound 1;
#P comment 563 450 40 9109513 880 Hz;
#P window linecount 6;
#P comment 541 584 100 9109513 here you only get 0db , the maximum for digital audio. see some books about audio to confirm!;
#P number 511 249 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 652 633 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P user levelmeter~ 653 553 128 64 20 0 250 0 -48 12 0 0 0 0 0;
#X brgb 240 240 240;
#X frgb 200 200 200;
#X rgb2 0 0 0;
#X rgb3 0 0 0;
#X rgb4 0 0 0;
#X rgb5 255 0 0;
#X rgb6 220 100 100;
#X rgb7 220 150 80;
#X rgb8 220 200 100;
#X rgb9 180 210 100;
#X markers 12 6 0 -6 -12 -24 -36 -48 289987864;
#X markersused 8;
#X done;
#P button 591 36 15 0;
#P window linecount 1;
#P newex 590 57 45 9109513 loadbang;
#P message 592 82 56 9109513 startwindow;
#P newex 592 102 28 9109513 dac~;
#P flonum 247 628 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P user levelmeter~ 154 551 128 64 20 0 250 0 -48 12 0 0 0 0 0;
#X brgb 240 240 240;
#X frgb 200 200 200;
#X rgb2 0 0 0;
#X rgb3 0 0 0;
#X rgb4 0 0 0;
#X rgb5 255 0 0;
#X rgb6 220 100 100;
#X rgb7 220 150 80;
#X rgb8 220 200 100;
#X rgb9 180 210 100;
#X markers 12 6 0 -6 -12 -24 -36 -48 289987864;
#X markersused 8;
#X done;
#P newex 558 284 54 9109513 cycle~ 880;
#P newex 513 159 100 9109513 scale -127 127 0 1201;
#P flonum 795 401 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 743 401 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 368 152 671 459;
#P origin 112 0;
#N comlet Canal esquerdo em dB;
#P outlet 56 263 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 56 239 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet 7 263 15 0;
#P newex 7 239 31 9109513 dbtoa;
#P newex 7 212 32 9109513 – 120.;
#P newex 7 188 35 9109513 !- 120.;
#P newex 7 162 33 9109513 * 120.;
#P newex 7 137 29 9109513 f;
#P number 7 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 7 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 194 263 15 0;
#P newex 145 72 40 9109513 !- 1200.;
#P flonum 194 239 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 145 263 15 0;
#N comlet 0 a 1201;
#P inlet 145 26 15 0;
#P newex 145 239 31 9109513 dbtoa;
#P newex 145 212 32 9109513 – 120.;
#P newex 145 188 35 9109513 !- 120.;
#P newex 145 162 33 9109513 * 120.;
#P newex 145 137 29 9109513 f;
#P number 145 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 7 0 13 0 150 68 12 68;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 12 235 61 235;
#P connect 20 0 21 0;
#P connect 7 0 10 0;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 150 235 199 235;
#P connect 9 0 11 0;
#P pop;
#P newobj 717 339 88 9109513 p logpan2;
#P newex 701 396 27 9109513 *~;
#P newex 667 396 27 9109513 *~;
#P comment 745 298 48 9109513 2 Canais;
#P user panel 630 287 208 241;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P comment 726 262 114 9109513 this is wath you want!!!;
#P newex 345 283 59 9109513 cycle~ 440;
#P window setfont "Sans Serif" 9.;
#P newex 208 210 55 196617 !- 127;
#P number 65 300 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 65 269 55 196617 + 127;
#P user gain~ 265 381 34 124 158 0 1.07152 7.94321 10.;
#P user gain~ 77 380 34 124 158 0 1.07152 7.94321 10.;
#P number 65 240 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 20 177 34 196617 127;
#P newex 20 152 55 196617 t b i;
#P message 163 177 34 196617 0;
#P newex 163 152 55 196617 t b i;
#P number 208 240 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 163 118 73 196617 split 1 127;
#P newex 20 119 73 196617 split -127 -1;
#P user multiSlider 380 391 215 52 -127. 127. 1 2664 47 0 0 2 0 0 1;
#M frgb 0 0 0;
#M brgb 255 255 255;
#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 "Sans Serif" 9.;
#P window linecount 6;
#P comment 292 578 100 9109513 as you can see , when you have the fader in the midle YOU HAVE 3DB MORE THEN MAXIMUM => CLIPING AND DISTROCTION;
#P window linecount 1;
#P comment 347 448 41 9109513 440 Hz;
#P user panel 342 380 279 106;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P hidden connect 3 0 4 0;
#P connect 4 0 9 0;
#P connect 9 0 10 0;
#P connect 9 1 11 0;
#P connect 8 0 11 0;
#P connect 11 0 14 0;
#P connect 14 0 15 0;
#P hidden connect 17 0 12 0;
#P connect 6 0 12 0;
#P connect 12 0 28 0;
#P connect 13 0 28 0;
#P hidden connect 3 0 5 0;
#P connect 5 0 7 0;
#P connect 7 0 8 0;
#P connect 7 1 16 0;
#P connect 10 0 6 0;
#P connect 16 0 6 0;
#P connect 28 0 29 0;
#P hidden connect 27 0 13 0;
#P connect 15 0 13 0;
#P hidden connect 32 0 3 0;
#P connect 26 0 36 0;
#P hidden connect 3 0 26 0;
#P connect 33 0 32 0;
#P connect 32 0 31 0;
#P connect 31 0 30 0;
#P connect 34 0 35 0;
#P connect 22 0 34 0;
#P connect 21 0 34 0;
#P hidden connect 17 0 21 0;
#P fasten 23 0 21 1 722 374 689 374;
#P hidden connect 27 0 22 0;
#P connect 26 0 23 0;
#P fasten 23 2 22 1 774 390 723 390;
#P connect 23 1 24 0;
#P connect 23 3 25 0;
#P pop;


May 7, 2006 | 2:45 pm

HI beschaving!

’cause some one said that every one ignore the question…

sory abut that… but the first patch i gave to you does have one [p] object with wath you need.

but to clear the question this is what i understand.

max v2;
#N vpatcher 201 82 965 200;
#P origin 247 266;
#P button 216 -170 15 0;
#P window setfont "Sans Serif" 9.;
#P message 271 11 46 9109513 CENTER;
#P hidden button 506 69 15 0;
#P hidden button 477 69 15 0;
#P hidden button 83 69 15 0;
#P hidden button 54 69 15 0;
#P comment 671 26 49 9109513 RIGHT;
#P number 698 76 35 9 0 0 8352 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 683 76 16 9109513 dB;
#P user levelmeter~ 671 41 64 32 20 0 0 0 -120 12 0 0 0 0 0;
#X brgb 240 240 240;
#X frgb 200 200 200;
#X rgb2 0 0 0;
#X rgb3 0 0 0;
#X rgb4 0 0 0;
#X rgb5 255 0 0;
#X rgb6 220 100 100;
#X rgb7 220 150 80;
#X rgb8 220 200 100;
#X rgb9 180 210 100;
#X markers 12 6 0 -6 -12 -24 -36 -48 273331536;
#X markersused 8;
#X done;
#P number 630 76 35 9 0 0 8352 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 615 76 16 9109513 dB;
#P user levelmeter~ 603 41 64 32 20 0 0 0 -120 12 0 0 0 0 0;
#X brgb 240 240 240;
#X frgb 200 200 200;
#X rgb2 0 0 0;
#X rgb3 0 0 0;
#X rgb4 0 0 0;
#X rgb5 255 0 0;
#X rgb6 220 100 100;
#X rgb7 220 150 80;
#X rgb8 220 200 100;
#X rgb9 180 210 100;
#X markers 12 6 0 -6 -12 -24 -36 -48 273331536;
#X markersused 8;
#X done;
#P user ezdac~ 824 122 868 155 0;
#P message 197 -142 23 9109513 127;
#P user hslider 174 35 33 223 255 1 -127 0;
#P user panel 163 2 261 99;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P user meter~ 566 13 579 93 10 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 20 6 3 3 3;
#P user meter~ 552 13 565 93 10 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 20 6 3 3 3;
#P message 436 12 28 9109513 open;
#P hidden message 506 104 14 9109513 0;
#P hidden message 477 104 14 9109513 1;
#P message 506 35 26 9109513 stop;
#P message 511 12 39 9109513 resume;
#P message 476 12 33 9109513 pause;
#P message 477 35 26 9109513 play;
#N sfplay~ 2 120960 0 ;
#P hidden newobj 421 129 48 9109513 sfplay~ 2;
#P user panel 424 2 162 99;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P user meter~ 143 13 156 93 10 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 20 6 3 3 3;
#P user meter~ 129 13 142 93 10 0 168 0 0 0 0 255 153 0 255 0 0 217 217 0 153 186 0 20 6 3 3 3;
#P message 13 12 28 9109513 open;
#P hidden message 83 104 14 9109513 0;
#P hidden message 54 104 14 9109513 1;
#P message 83 35 26 9109513 stop;
#P message 88 12 39 9109513 resume;
#P message 53 12 33 9109513 pause;
#P message 54 35 26 9109513 play;
#N sfplay~ 2 120960 0 ;
#P hidden newobj 3 128 48 9109513 sfplay~ 2;
#N vpatcher 297 231 897 631;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 338 229 18 9109513 dB;
#P flonum 327 246 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 189 246 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet right mixer out;
#P outlet 492 314 15 0;
#N comlet left mixer out;
#P outlet 423 314 15 0;
#P newex 365 245 27 9109513 *~;
#N comlet source b – right – output;
#P outlet 366 315 15 0;
#N comlet source b – rigth – input;
#P inlet 365 92 15 0;
#P newex 296 245 27 9109513 *~;
#N comlet source b – left – output;
#P outlet 297 315 15 0;
#N comlet source b – left – input;
#P inlet 296 92 15 0;
#P newex 227 245 27 9109513 *~;
#N comlet source a – right – output;
#P outlet 228 315 15 0;
#N comlet source a – rigth – input;
#P inlet 227 92 15 0;
#P newex 158 245 27 9109513 *~;
#N comlet source a – left – output;
#P outlet 159 315 15 0;
#N comlet source a – left – input;
#P inlet 158 92 15 0;
#N comlet data in from fader (-127 @ 127);
#P inlet 31 90 15 0;
#P newex 31 123 100 9109513 scale -127 127 0 1201;
#N vpatcher 368 152 671 459;
#P origin 112 0;
#N comlet Canal esquerdo em dB;
#P outlet 56 263 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 56 239 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal esquerdo para line ou *~;
#P outlet 7 263 15 0;
#P newex 7 239 31 9109513 dbtoa;
#P newex 7 212 32 9109513 – 120.;
#P newex 7 188 35 9109513 !- 120.;
#P newex 7 162 33 9109513 * 120.;
#P newex 7 137 29 9109513 f;
#P number 7 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 7 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#N comlet Canal direito em dB;
#P outlet 194 263 15 0;
#P newex 145 72 40 9109513 !- 1200.;
#P flonum 194 239 53 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N comlet canal direito para line ou *~;
#P outlet 145 263 15 0;
#N comlet 0 a 1201;
#P inlet 145 26 15 0;
#P newex 145 239 31 9109513 dbtoa;
#P newex 145 212 32 9109513 – 120.;
#P newex 145 188 35 9109513 !- 120.;
#P newex 145 162 33 9109513 * 120.;
#P newex 145 137 29 9109513 f;
#P number 145 95 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 114 136 9109513 linedrive 1200 1. 1.006161 10;
#B color 5;
#P fasten 7 0 13 0 150 68 12 68;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P connect 16 0 17 0;
#P connect 17 0 18 0;
#P connect 18 0 19 0;
#P fasten 17 0 20 0 12 235 61 235;
#P connect 20 0 21 0;
#P connect 7 0 10 0;
#P connect 10 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P fasten 5 0 9 0 150 235 199 235;
#P connect 9 0 11 0;
#P pop;
#P newobj 31 145 88 9109513 p logpan2;
#P comment 199 230 18 9109513 dB;
#P connect 3 0 2 0;
#P connect 2 0 1 0;
#P connect 4 0 6 0;
#P connect 6 0 5 0;
#P fasten 1 0 6 1 36 204 180 204;
#P fasten 1 1 18 0 62 191 194 191;
#P connect 7 0 9 0;
#P connect 9 0 8 0;
#P fasten 1 0 9 1 36 204 249 204;
#P connect 10 0 12 0;
#P connect 12 0 11 0;
#P fasten 1 2 12 1 88 183 318 183;
#P fasten 1 3 19 0 114 173 332 173;
#P connect 13 0 15 0;
#P connect 15 0 14 0;
#P fasten 1 2 15 1 88 183 387 183;
#P fasten 12 0 16 0 301 282 428 282;
#P fasten 6 0 16 0 163 289 428 289;
#P fasten 15 0 17 0 370 269 497 269;
#P fasten 9 0 17 0 232 275 497 275;
#P pop 1;
#P hidden newobj 202 -43 126 9109513 p crossfade;
#P button 19 -236 15 0;
#P newex 19 -215 45 9109513 loadbang;
#P message 19 -183 56 9109513 startwindow;
#P newex 19 -163 28 9109513 dac~;
#P user panel 1 2 162 99;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P comment 635 7 72 9109513 MAIN OUTPUT;
#P comment 603 26 49 9109513 LEFT;
#P user panel 586 2 162 99;
#X brgb 175 172 139;
#X frgb 140 140 140;
#X border 1;
#X rounded 0;
#X shadow 2;
#X done;
#P hidden fasten 14 0 9 0 59 124 8 124;
#P hidden fasten 15 0 9 0 88 124 8 124;
#P hidden fasten 11 0 9 0 58 30 8 30;
#P hidden fasten 12 0 9 0 93 30 8 30;
#P hidden fasten 16 0 9 0 18 30 8 30;
#P connect 7 0 6 0;
#P connect 6 0 5 0;
#P connect 5 0 4 0;
#P hidden connect 10 0 41 0;
#P hidden connect 41 0 14 0;
#P hidden connect 13 0 42 0;
#P hidden connect 42 0 15 0;
#P hidden fasten 8 0 17 0 207 -6 134 -6;
#P hidden fasten 8 1 18 0 230 -6 148 -6;
#P hidden fasten 32 0 31 0 202 -105 179 -105;
#P fasten 6 0 32 0 24 -189 202 -189;
#P connect 46 0 32 0;
#P hidden fasten 31 0 8 0 179 179 -46 179 -46 -116 207 -116;
#P hidden fasten 45 0 46 0 276 31 337 31 337 -184 221 -184;
#P fasten 9 0 8 1 8 158 -18 158 -18 -81 236 -81;
#P fasten 9 1 8 2 27 164 -24 164 -24 -88 265 -88;
#P fasten 20 0 8 3 426 169 881 169 881 -77 294 -77;
#P fasten 20 1 8 4 445 159 890 159 890 -60 323 -60;
#P hidden fasten 27 0 20 0 441 30 426 30;
#P hidden fasten 23 0 20 0 516 30 426 30;
#P hidden fasten 22 0 20 0 481 30 426 30;
#P hidden fasten 26 0 20 0 511 126 426 126;
#P hidden fasten 25 0 20 0 482 126 426 126;
#P hidden connect 21 0 43 0;
#P hidden connect 43 0 25 0;
#P hidden connect 24 0 44 0;
#P hidden connect 44 0 26 0;
#P hidden fasten 8 2 28 0 253 -4 557 -4;
#P hidden fasten 8 3 29 0 276 -4 571 -4;
#P hidden fasten 8 4 34 0 299 -17 608 -17;
#P hidden connect 34 0 36 0;
#P hidden fasten 8 5 37 0 322 -20 676 -20;
#P hidden connect 37 0 39 0;
#P fasten 8 4 33 0 299 -17 829 -17;
#P fasten 8 5 33 1 322 -21 863 -21;
#P pop;

hope it’s this wath you want!


May 7, 2006 | 3:05 pm

> YOU CAN NOT IGNORE THE AUDIO RULES!

oh yes you can. that’s where max comes in.


May 7, 2006 | 3:24 pm

On 7 May 2006, at 16:05, nesa wrote:

>> YOU CAN NOT IGNORE THE AUDIO RULES!
>
> oh yes you can. that’s where max comes in.

You just cannae break the laws o’audio, Cap’n.

Mah puer wee four-channel sfplay~. The preload buffers cannae take it.

nick rothwell — composition, systems, performance — http://
http://www.cassiel.com


May 7, 2006 | 9:34 pm

beschaving@gmail.com wrote:
> thanks for any suggestions!

split it:

#P window setfont "Sans Serif" 9.;
#P number 82 126 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user hslider 82 95 18 128 128 1 0 0;
#P flonum 217 240 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 107 240 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 178 240 33 196617 *~;
#P newex 59 239 33 196617 *~;
#P newex 201 176 25 196617 t 1.;
#P newex 174 176 25 196617 t 1.;
#P newex 228 176 90 196617 scale 64 127 1. 0.;
#P newex 82 176 90 196617 scale 0 63 0. 1.;
#P newex 82 151 156 196617 split 0 63;
#P fasten 0 1 3 0 233 173 179 173;
#P connect 0 1 2 0;
#P connect 2 0 8 0;
#P connect 2 0 6 1;
#P connect 10 0 0 0;
#P connect 9 0 10 0;
#P connect 4 0 6 1;
#P connect 4 0 8 0;
#P connect 0 0 1 0;
#P fasten 0 0 4 0 87 170 206 170;
#P connect 3 0 5 1;
#P connect 3 0 7 0;
#P connect 1 0 5 1;
#P connect 1 0 7 0;
#P window clipboard copycount 11;

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


May 9, 2006 | 7:51 am

thanks very, very much for the suggestions everyone!
lots of great hints and patch suggestions there…

alex


May 10, 2006 | 5:46 am

Rui Fernando Caldas wrote:
> YOU CAN NOT IGNORE THE AUDIO RULES!

Oh yes, everybody can and even you do it:
(your logpan2 doesn’t close one channel completely… ;-)
but there are alternatives in the example folder…

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


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