On 05/24/2013 04:43 PM, Julian Brooks wrote:
Hi all,
So yeah - that (the subject).
I would like to map some 3D moving sources (from Pmpd) in quad.
I had been hoping to make use of Lorenzo's [panner_1x4~], from here https://gitorious.org/pd-panner-4ch but I just can't wrap my head around the maths involved.
Anyone have any experience with this, or alternate strategies - the leanest possible please as it's on the RPi.
Speakers are in a square/diamond and very close together - 25cm or so.
It doesn't have to be very accurate and I would just like to have the impression that the five pmpd generated sound sources are moving around but my attempts so far sound cack.
Also presuming that as we're not doing ambisonic type malarkey that the y-axis is pretty much redundant but, well, dunno?
Had a dig around here and hurleur but nothing obvious jumped out at me.
Tips, tricks, pointers or tutorials most gladly accepted
i'm not sure what your problem is, but probaby zexy's [cart2sph] will help mapping the cartesian XYZ coordinates to spherical distance/direction coordinates. for panning you will usually use the direction coordinate(s) only.
fgmasr IOhannes