Forums > MaxMSP

Mix 1-2

February 8, 2007 | 10:30 pm

Could anyone please tell a way to simply mix the amplitudes of two oscillators from left to right channels. Similar to a pan control with Osc 1 to the left and Osc 2 to the right and equal amplitudes in the centre.
Thanks,
Steve H


February 8, 2007 | 11:08 pm

you mean the output signal?

try crossfade~ get it here:

http://www.essl.at/software.html


February 8, 2007 | 11:53 pm

Hello,

Have a look at this patch using 2 [cos] objects. It compensates for
gain boosts when the two signals are at equal amplitudes.

alex

On 8-Feb-07, at 10:30 PM, Steven Holt wrote:

>
> Could anyone please tell a way to simply mix the amplitudes of two
> oscillators from left to right channels. Similar to a pan control
> with Osc 1 to the left and Osc 2 to the right and equal amplitudes
> in the centre.
> Thanks,
> Steve H
>


February 9, 2007 | 1:37 am

you can learn it like this:
go to the nearest beach,
take some dry sand in both hands,
put both hands next to each other,
let the dry sand pour out of your hands slowly…
you’ll see two ‘peaks’ and some sand in between.
now try to do the same with signal.

best~
nesa

On Feb 8, 2007, at 10:30 PM, Steven Holt wrote:

>
> Could anyone please tell a way to simply mix the amplitudes of two
> oscillators from left to right channels. Similar to a pan control
> with Osc 1 to the left and Osc 2 to the right and equal amplitudes
> in the centre.
> Thanks,
> Steve H


February 9, 2007 | 5:58 am

max v2;
#N vpatcher 24 32 1253 704;
#P origin -1 -28;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 0 42 79 9109513 route 0 1 2 3 4;
#P user umenu 0 21 100 9109543 1 64 37 1;
#X add Mono;
#X add Stereo 2.;
#X add Stereo 3.;
#X add Stereo 2.2;
#X add Stereo 3.2;
#P message 74 69 270 9109513 "0 1 1000 1" "0 1 1000 1" "0 1 1000 1" "0 1 1000 1" "0 1 1000 1";
#P comment 18 69 58 9109513 Mono;
#P message 81 90 322 9109513 "0 1 500 1 1000 0" "0 0 500 1 1000 1" "0 0 1000 0" "0 1 1000 1" "0 0 1000 0";
#P comment 18 90 58 9109513 Stereo 2;
#P message 89 111 348 9109513 "0 1 500 1 1000 0" "0 0 500 1 1000 1" "0 0 500 1 1000 0" "0 1 1000 1" "0 0 1000 0";
#P comment 18 110 58 9109513 Stereo 3;
#P message 95 132 374 9109513 "0 1 500 1 1000 0" "0 0 500 1 1000 1" "0 0 1000 0" "0 0 500 1 1000 1" "0 1 500 1 1000 0";
#P comment 18 132 58 9109513 Stereo 2.2;
#P user uslider 1105 182 16 85 1000 1 0 0;
#P user hslider 998 156 17 83 1000 1 0 0;
#P flonum 687 539 48 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 687 505 31 9109513 atodb;
#P flonum 638 539 48 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 638 505 31 9109513 atodb;
#P flonum 589 539 48 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 589 505 31 9109513 atodb;
#P flonum 540 539 48 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 540 505 31 9109513 atodb;
#P flonum 491 539 48 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 491 505 31 9109513 atodb;
#P message 1122 137 23 9109513 500;
#P newex 922 465 33 9109513 * 100.;
#P newex 887 465 33 9109513 * 100.;
#P newex 852 465 33 9109513 * 100.;
#P newex 817 465 33 9109513 * 100.;
#P newex 782 465 33 9109513 * 100.;
#P flonum 453 436 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 102 153 400 9109513 "0 1 500 1 1000 0" "0 0 500 1 1000 1" "0 0 500 1 1000 0" "0 0 500 1 1000 1" "0 1 500 1 1000 0";
#P user pictslider 997 182 100 100 4 4 4 4 SliderDefaultKnob.pct 0 SliderDefaultBkgnd.pct 0 2163 0 65536000 1000 1. 1.;
#P newex 922 442 27 9109513 * 1.;
#P user uslider 922 495 18 128 101 1 0 0;
#P newex 887 442 27 9109513 * 1.;
#P user uslider 887 495 18 128 101 1 0 0;
#P newex 852 442 27 9109513 * 1.;
#P user uslider 852 495 18 128 101 1 0 0;
#P newex 817 442 27 9109513 * 1.;
#P user uslider 817 495 18 128 101 1 0 0;
#P newex 782 442 27 9109513 * 1.;
#P user uslider 782 495 18 128 101 1 0 0;
#P newex 74 174 39 9109513 t l clear;
#P newex 314 224 59 9109513 fromsymbol;
#P newex 314 245 38 9109513 zl iter 2;
#P newex 254 224 59 9109513 fromsymbol;
#P newex 254 245 38 9109513 zl iter 2;
#P newex 194 224 59 9109513 fromsymbol;
#P newex 194 245 38 9109513 zl iter 2;
#P newex 134 224 59 9109513 fromsymbol;
#P newex 134 245 38 9109513 zl iter 2;
#P user function 656 381 756 431 1 0 1 0;
#X frgb 82 82 82;
#X brgb 204 204 204;
#X rgb2 85 85 85;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 1. 0;
#X add 500. 1. 0;
#X add 1000. 0. 0;
#X domain 1000.;
#X range 0. 1.;
#X done;
#P user function 448 381 548 431 1 0 1 0;
#X frgb 82 82 82;
#X brgb 204 204 204;
#X rgb2 85 85 85;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 500. 1. 0;
#X add 1000. 1. 0;
#X domain 1000.;
#X range 0. 1.;
#X done;
#P user function 656 298 756 348 1 0 1 0;
#X frgb 82 82 82;
#X brgb 204 204 204;
#X rgb2 85 85 85;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 500. 1. 0;
#X add 1000. 0. 0;
#X domain 1000.;
#X range 0. 1.;
#X done;
#P user function 552 298 652 348 1 0 1 0;
#X frgb 82 82 82;
#X brgb 204 204 204;
#X rgb2 85 85 85;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 500. 1. 0;
#X add 1000. 1. 0;
#X domain 1000.;
#X range 0. 1.;
#X done;
#P newex 74 200 253 9109513 unpack l r c sl sr;
#P newex 74 224 59 9109513 fromsymbol;
#P newex 74 245 38 9109513 zl iter 2;
#P user function 448 298 548 348 1 0 1 0;
#X frgb 82 82 82;
#X brgb 204 204 204;
#X rgb2 85 85 85;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 1. 0;
#X add 500. 1. 0;
#X add 1000. 0. 0;
#X domain 1000.;
#X range 0. 1.;
#X done;
#P comment 18 153 58 9109513 Stereo 3.2;
#P connect 57 0 58 0;
#P connect 58 0 56 0;
#P connect 50 0 17 0;
#P connect 52 0 17 0;
#P connect 54 0 17 0;
#P connect 56 0 17 0;
#P connect 29 0 17 0;
#P connect 17 0 4 0;
#P connect 4 0 3 0;
#P connect 3 0 2 0;
#P connect 58 1 54 0;
#P connect 58 2 52 0;
#P connect 58 3 50 0;
#P connect 58 4 29 0;
#P connect 4 1 10 0;
#P connect 10 0 9 0;
#P connect 4 2 12 0;
#P connect 12 0 11 0;
#P connect 4 3 14 0;
#P connect 14 0 13 0;
#P connect 4 4 16 0;
#P connect 16 0 15 0;
#P fasten 17 1 1 0 108 196 453 196;
#P fasten 28 0 1 0 1002 290 453 290;
#P fasten 2 0 1 0 79 281 453 281;
#P fasten 17 1 7 0 108 196 440 196 440 376 453 376;
#P fasten 28 1 7 0 1092 374 453 374;
#P fasten 13 0 7 0 259 371 453 371;
#P connect 7 0 30 0;
#P connect 19 0 37 0;
#P connect 37 0 38 0;
#P connect 21 0 39 0;
#P connect 39 0 40 0;
#P fasten 17 1 5 0 108 196 557 196;
#P fasten 28 0 5 0 1002 290 557 290;
#P fasten 9 0 5 0 139 278 557 278;
#P connect 23 0 41 0;
#P connect 41 0 42 0;
#P connect 25 0 43 0;
#P connect 43 0 44 0;
#P fasten 17 1 6 0 108 196 661 196;
#P fasten 11 0 6 0 199 275 661 275;
#P fasten 28 0 6 0 1002 290 661 290;
#P fasten 17 1 8 0 108 196 440 196 440 376 661 376;
#P fasten 15 0 8 0 319 368 661 368;
#P fasten 28 1 8 0 1092 374 661 374;
#P connect 27 0 45 0;
#P connect 45 0 46 0;
#P fasten 1 0 19 0 453 365 787 365;
#P connect 19 0 31 0;
#P connect 31 0 18 0;
#P connect 7 0 19 1;
#P fasten 5 0 21 0 557 362 822 362;
#P connect 21 0 32 0;
#P connect 32 0 20 0;
#P connect 7 0 21 1;
#P fasten 6 0 23 0 661 359 857 359;
#P connect 23 0 33 0;
#P connect 33 0 22 0;
#P connect 7 0 23 1;
#P fasten 1 0 25 0 453 365 892 365;
#P connect 25 0 34 0;
#P connect 34 0 24 0;
#P connect 8 0 25 1;
#P fasten 5 0 27 0 557 362 927 362;
#P connect 27 0 35 0;
#P connect 35 0 26 0;
#P connect 8 0 27 1;
#P connect 47 0 28 0;
#P connect 36 0 47 0;
#P fasten 48 0 28 1 1110 290 1102 290 1102 177 1092 177;
#P connect 36 0 48 0;
#P pop;


February 9, 2007 | 6:36 am

Quote: nesa wrote on Thu, 08 February 2007 18:37
—————————————————-
> you can learn it like this:
> go to the nearest beach,
> take some dry sand in both hands,
> put both hands next to each other,
> let the dry sand pour out of your hands slowly…
> you’ll see two ‘peaks’ and some sand in between.
> now try to do the same with signal.
>
> best~
> nesa

that is about how i developped volsplit~:

i filled the cargo area of my invisible spaceship with a few
tons of sand from frankfurt beach and started measuring its
power and how it depends on the spaceships velocity.
then we were able to open the four bay doors and let the sand
run out into space for further processing.

-110


February 9, 2007 | 11:35 am

crossfade~ works a treat, thanks for that Andrew.
Steve


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