Re: [PD] Re: multi-speaker panning.. problamtic maths

2006-11-09 Thread Hans-Christoph Steiner
On Nov 2, 2006, at 4:16 AM, alexandre r. decoupigny wrote:You might be interested in [mapping/polar] which will convert yourx,y coords to polar coords (angle, radius).  You could use the angle for the panning location, and the radius for some kind of distancealgorithm with reverb or something..hcthanks for that suggestion : ) yes i am indeed interested..sounds fab..  are these externals ? what library do they refer to ? .. i tried to make a [mapping] and then a [polar] and then a [mapping/polar] and it did not work.. im using PD extended version. [polar] is a object written in Pd that's included in the mapping library.  The mapping library is included in recent test builds and nightly builds..hc As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously.         - Benjamin Franklin ___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Re: multi-speaker panning.. problamtic maths

2006-11-06 Thread Frank Barknecht
Hallo,
alexandre r. decoupigny hat gesagt: // alexandre r. decoupigny wrote:

 first of all there was a light problem in frank's solution.. it did resolve
 triggering problem, but that also created a new issue: since the
 y value was stored in a [f] object and was triggered from an anything bang
 of the [t] object that depended on the input of the x value, everytime you
 would move only on the y axis while keeping x consant, no triggering took
 place and as a result nothing happened. i got around it by inserting a
 [metro]
 that only gets triggered when x is static.. see the attached patch : )

Sorry, late answer here: You don't need to use a metro here, in fact
especially with the GUI-bang objects inbetween doing so will eat your
CPU cycles quickly. What you sh/could do, if you want to move the
y-value alone, is just connect the y-value to the *left* inlet of the
[f] object after the [t b a] instead of to the right. Then you would
also get a new output if only y changes. However if the value is
coming from the joystick-object you should normally always get both x-
and y-values at the same time.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Re: multi-speaker panning.. problamtic maths

2006-10-26 Thread Charles Henry

I made this mistake again last thursday - I computed sound amplitude of
some kind of omnidirectional source as being r^-2 where r is the distance.
However, I believe that it's energy that should be r^-2, therefore
amplitude should be r^-1. That's assuming ideal 3-D dispersion (no
ceilings and no walls). Is that right?


Exactly right.  For that ideal environment, we have the intensity
(W/m^2) distributed evenly on the surface of a sphere at radius r.
So, since the surface area of the sphere varies as r^2, the intensity
falls off at a rate of r^-2.  The energy of the wave is (mostly)
conserved, it just gets spread out over a larger area.

Chuck

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Re: multi-speaker panning.. problamtic maths

2006-10-25 Thread Mathieu Bouchard

On Wed, 25 Oct 2006, alexandre r. decoupigny wrote:


first i dont know what the r is in the following:
However, I believe that it's energy that should be r^-2, therefore
amplitude should be r^-1. That's assuming ideal 3-D dispersion (no
ceilings and no walls). Is that right?


r is for radius, synonym for distance. I've been using the [pow -2] object 
to convert distance to amplitude, but apparently that's wrong, i have to 
add a square root object like [pow 0.5] because [pow -2] is the formula 
for distance to energy. Both pow objects can be merged together as one 
[pow -1] object.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list