Forums > MaxMSP

powerpan~

June 2, 2007 | 3:01 pm

it turned out that the way i used to process
my log, was not equal powered.
my favourite sounding method was

(f1*f1=f2) f1-f2+f1 = fun eg log:)

f1 = liniar ramp 0 tm 1
f2 = f1 exponent

but not equal powered..
i was looking for a nice equal powered one.

does anyone know the math?

cheers


June 2, 2007 | 4:44 pm

With x going from 0 (hard left) to 1 (hard right) you have:

Left Channel = cos(x * pi/2);
Right Channel = sin(x * pi/2);

This will give you Equal Power Panning.

Best.

- Luigi

— lukas wrote:

>
> it turned out that the way i used to process
> my log, was not equal powered.
> my favourite sounding method was
>
> (f1*f1=f2) f1-f2+f1 = fun eg log:)
>
> f1 = liniar ramp 0 tm 1
> f2 = f1 exponent
>
> but not equal powered..
> i was looking for a nice equal powered one.
>
> does anyone know the math?
>
> cheers
>
>
>
>
>

————————————————————
THIS E-MAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED. IF YOU ARE NOT THE INTENDED RECIPIENT, CONTACT THE SENDER BY E-MAIL AT SUPERBIGIO@YAHOO.COM AND DESTROY ALL COPIES OF THE ORIGINAL MESSAGE. WITHOUT PREJUDICE UCC1-207.
————————————————————

____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight’s top picks on Yahoo! TV.

http://tv.yahoo.com/


June 2, 2007 | 6:09 pm

is this 1/4 sinewave,
i`d like to use it as square windowings?
might be on the money though


June 2, 2007 | 6:14 pm

excuse me 1/2


June 2, 2007 | 8:46 pm

It is 1/4 of a sine or cosine function.
I don’t know what you mean with the rest of you post.

- Luigi

— lukas wrote:

>
> is this 1/4 sinewave,
> i`d like to use it as square windowings?
> might be on the money though
>

————————————————————
THIS E-MAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED. IF YOU ARE NOT THE INTENDED RECIPIENT, CONTACT THE SENDER BY E-MAIL AT SUPERBIGIO@YAHOO.COM AND DESTROY ALL COPIES OF THE ORIGINAL MESSAGE. WITHOUT PREJUDICE UCC1-207.
————————————————————

Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers – Check it out.

http://answers.yahoo.com/dir/?link=list&sid=396545433


June 3, 2007 | 7:55 am

> Left Channel = cos(x * pi/2);
> Right Channel = sin(x * pi/2);

could you also translate that to max? :)


June 3, 2007 | 1:54 pm

yes you can..

but im aware of the sine function sounding good.
my use is for a windowed application.. turning the
naturally exponential curve to a squared off version.
so im actually looking for a logarithmic function that is
equal powered aswell.
maybe even squareing off the 1/2 sine.


June 3, 2007 | 2:50 pm

but then again this might be on the money


June 3, 2007 | 5:17 pm


June 3, 2007 | 5:39 pm

On Jun 3, 2007, at 1:55 AM, Roman Thilenius wrote:

>
>
>
>> Left Channel = cos(x * pi/2);
>> Right Channel = sin(x * pi/2);
>>
>
>
> could you also translate that to max? :)
>

save as sm.2panner~

max v2;
#N vpatcher 599 251 1199 651;
#P window setfont "Sans Serif" 9.;
#P newex 194 70 57 196617 pack 0. 7;
#N comlet (signal) panning control ; 0-1 = left-right;
#P inlet 169 51 15 0;
#P newex 194 90 32 196617 line~;
#P newex 181 185 27 196617 *~;
#P newex 122 185 27 196617 *~;
#N comlet (signal) input signal to be panned;
#P inlet 122 51 15 0;
#N comlet (signal) right channel output;
#P outlet 181 209 15 0;
#N comlet (signal) left channel output;
#P outlet 122 209 15 0;
#N comlet (float) panning control ; 0-1 = left-right;
#P inlet 194 51 15 0;
#P newex 169 116 47 196617 *~ 0.25;
#P newex 228 139 45 196617 -~ 0.25;
#P newex 198 161 40 196617 cycle~;
#P newex 139 161 40 196617 cycle~;
#P connect 7 0 8 0;
#P connect 8 0 5 0;
#P connect 0 0 8 1;
#P fasten 10 0 3 0 199 111 174 111;
#P connect 11 0 3 0;
#P connect 3 0 0 1;
#P fasten 7 0 9 0 127 181 186 181;
#P connect 9 0 6 0;
#P connect 4 0 12 0;
#P connect 12 0 10 0;
#P connect 1 0 9 1;
#P fasten 3 0 2 0 174 135 233 135;
#P connect 2 0 1 1;
#P pop;

save as sm.2panner~.help

max v2;
#N vpatcher 0 44 947 878;
#P user meter~ 783 271 863 284 50 0 168 0 103 103 103 255 153 0 255 0
0 217 217 0 153 186 0 12 3 3 3 3;
#P window setfont "Sans Serif" 9.;
#P user number~ 809 198 876 213 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221
221 221 222 222 222 0 0 0;
#P newex 777 169 35 196617 *~ 0.5;
#P newex 777 144 31 196617 +~ 1;
#P user meter~ 772 315 852 328 50 0 168 0 103 103 103 255 153 0 255 0
0 217 217 0 153 186 0 12 3 3 3 3;
#P user meter~ 694 315 774 328 50 0 168 0 103 103 103 255 153 0 255 0
0 217 217 0 153 186 0 12 3 3 3 3;
#P user gain~ 714 136 24 100 158 0 1.071519 7.94321 10.;
#P newex 714 271 68 196617 sm.2panner~;
#P newex 714 116 61 196617 cycle~ 440;
#P newex 777 116 58 196617 cycle~ 0.15;
#P flonum 381 198 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user meter~ 363 271 443 284 50 0 168 0 103 103 103 255 153 0 255 0
0 217 217 0 153 186 0 12 3 3 3 3;
#P user meter~ 352 315 432 328 50 0 168 0 103 103 103 255 153 0 255 0
0 217 217 0 153 186 0 12 3 3 3 3;
#P user meter~ 273 315 353 328 50 0 168 0 103 103 103 255 153 0 255 0
0 217 217 0 153 186 0 12 3 3 3 3;
#P user gain~ 294 136 24 100 158 0 1.071519 7.94321 10.;
#P newex 363 169 41 196617 * 0.001;
#P user dial 363 116 40 40 1001 1 0 0 159 270 1 1. 170 170 170 221
221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P newex 294 271 68 196617 sm.2panner~;
#P user ezdac~ 483 491 527 524 0;
#P newex 294 116 67 196617 cycle~ 1000;
#P connect 2 0 6 0;
#P connect 0 0 5 0;
#P connect 5 0 2 0;
#P connect 4 0 2 2;
#P connect 2 1 7 0;
#P connect 3 0 4 0;
#P connect 5 0 8 0;
#P connect 4 0 9 0;
#P connect 12 0 1 0;
#P connect 2 0 1 0;
#P connect 12 1 1 1;
#P connect 2 1 1 1;
#P connect 12 0 14 0;
#P connect 11 0 13 0;
#P connect 13 0 12 0;
#P connect 17 0 12 1;
#P connect 12 1 15 0;
#P connect 10 0 16 0;
#P connect 16 0 17 0;
#P connect 13 0 19 0;
#P connect 17 0 18 0;
#P pop;

—-
Steven M. Miller
Professor, Contemporary Music Program
College of Santa Fe

Home < http://pubweb.csf.edu/~smill>
SFIFEM <
http://sfifem.csf.edu>
Atrium Sound Space <
http://atrium.csf.edu>
OVOS <
http://pubweb.csf.edu/~smill/ovos.html>
CMP <
http://www.csf.edu/csf/academics/cmp/index.html>


June 4, 2007 | 3:48 am

> yes you can..

i know that i can, but i wanted somebody else
to post it to the forum as it is more helpful
than math and i am too lazy to contribute something.


June 5, 2007 | 12:01 pm

start yr own topic then


June 5, 2007 | 12:02 pm

way off topic this


June 5, 2007 | 12:06 pm

buthole


June 5, 2007 | 7:47 pm

cpPan~?

On 6/3/07 3:55 AM, "Roman Thilenius" wrote:

>
>
>> Left Channel = cos(x * pi/2);
>> Right Channel = sin(x * pi/2);
>
>
> could you also translate that to max? :)
> –
> http://vst-mac.info/

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


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