Re: [PD] 8ch diffusion

2009-03-15 Thread Frank Barknecht
Hallo,
Achim Bornhoeft hat gesagt: // Achim Bornhoeft wrote:

 Can anybody help me to extend this patch from 4ch to 8ch? (I found it  
 somewhere...) Or is there an even easier (better) way to do the same. I 
 already tried [vbap] but the objects [define_loudspeaker] and [matrix~] 
 are not recognized by my PD-Extended 40.3 on Max OS 10.5. (see other 
 attachment).

Attached is a cosine-panner that I built to pan sounds accross a 12x5
speaker matrix [1] (with help by Peter Plessas, thanks again!). If you
want to pan to that many outputs, I highly recommend to use the
iemmatrix objects, they make things much easier.  Never use [matrix~]
that object is nameclash-polluted, use [mtx_mul~] instead, an example
is in the cospan help file.

Anway you can pan with just [*~] as well using [cospan], it's just a
lot more patching work, more error prone and slower.

The basic idea is to create as many [cospan index channels]
objects as you need. Say you want to pan over 4 channels left to
right, you create these: 

 [cospan 0 4]
 [cospan 1 4]
 [cospan 2 4]
 [cospan 3 4]

and send each of them a position in degrees from 0-360. The left
outlet of cospan will output the raw amplitudes of the respective
channel, the right one will output messages for [mtx_mul~].

Now if you want two-dimennsional panning, you duplicate the setup for
each the vertical or y-axis. See cospan16to9.pd for how I did it for
the speaker wall (which is called 16:9 although it only has 12x5
speakers.)

HOTH

[1] this one: http://footils.org/cms/weblog/2008/jul/28/schusslig-17-beta/

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__


cospan-help.pd
Description: application/puredata


cospan.pd
Description: application/puredata


cospan12~.pd
Description: application/puredata


cospan16to9~.pd
Description: application/puredata


cospan5~.pd
Description: application/puredata
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] 8ch diffusion

2009-03-15 Thread Achim Bornhoeft

Hello Frank,
thank you very much for your patches. I'll have a look at it very soon.
Because of [mtx_mul~] I would like to add iemmatrix to my path list.  
How can I set a new search path for a library when the folder is  
inside the PD package (because I can't open the PD Contents from the  
window that opens.)

Thanks for help.

Achim

Am 15.03.2009 um 10:50 schrieb Frank Barknecht:


Hallo,
Achim Bornhoeft hat gesagt: // Achim Bornhoeft wrote:


Can anybody help me to extend this patch from 4ch to 8ch? (I found it
somewhere...) Or is there an even easier (better) way to do the  
same. I
already tried [vbap] but the objects [define_loudspeaker] and  
[matrix~]

are not recognized by my PD-Extended 40.3 on Max OS 10.5. (see other
attachment).


Attached is a cosine-panner that I built to pan sounds accross a 12x5
speaker matrix [1] (with help by Peter Plessas, thanks again!). If you
want to pan to that many outputs, I highly recommend to use the
iemmatrix objects, they make things much easier.  Never use [matrix~]
that object is nameclash-polluted, use [mtx_mul~] instead, an example
is in the cospan help file.

Anway you can pan with just [*~] as well using [cospan], it's just a
lot more patching work, more error prone and slower.

The basic idea is to create as many [cospan index channels]
objects as you need. Say you want to pan over 4 channels left to
right, you create these:

[cospan 0 4]
[cospan 1 4]
[cospan 2 4]
[cospan 3 4]

and send each of them a position in degrees from 0-360. The left
outlet of cospan will output the raw amplitudes of the respective
channel, the right one will output messages for [mtx_mul~].

Now if you want two-dimennsional panning, you duplicate the setup for
each the vertical or y-axis. See cospan16to9.pd for how I did it for
the speaker wall (which is called 16:9 although it only has 12x5
speakers.)

HOTH

[1] this one: http://footils.org/cms/weblog/2008/jul/28/schusslig-17-beta/

Ciao
--
Frank BarknechtDo You RjDj.me?  _  
__footils.org__
cospan- 
help 
.pd 
 
 
cospan 
.pd 
 
 
cospan12 
~ 
.pd 
 
 
cospan16to9 
~.pdcospan5~.pd___

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


Achim Bornhoeft
Neckarhalde 38, D-72070 Tuebingen
tel/fax +49 (0)7071 942745
mobil +49 (0)179 6936930
skype:achim.bornhoeft?call
www.bornhoeft.org


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


[PD] 8ch diffusion

2009-03-14 Thread Achim Bornhoeft
Can anybody help me to extend this patch from 4ch to 8ch? (I found it  
somewhere...) Or is there an even easier (better) way to do the same.  
I already tried [vbap] but the objects [define_loudspeaker] and  
[matrix~] are not recognized by my PD-Extended 40.3 on Max OS 10.5.  
(see other attachment).


Many thanks in advance for your help,
Achim

Achim Bornhoeft
Neckarhalde 38, D-72070 Tuebingen
tel/fax +49 (0)7071 942745
mobil +49 (0)179 6936930
skype:achim.bornhoeft?call
www.bornhoeft.org



4ch-grid.pd
Description: Binary data

 

vbap-test.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] 8ch diffusion

2009-03-14 Thread Mathieu Bouchard

On Sat, 14 Mar 2009, Achim Bornhoeft wrote:


Can anybody help me to extend this patch from 4ch to 8ch?


Well, I don't really have any experience with spatialisation, but if 
you're trying to make a rectangular-prism structure from a rectangle 
structure, you will need to add a 3rd [expr], add a new [inlet] and [/ 
200], add four more [t f b] 50 [line~] [outlet~], and quadruple the number 
of [*].


The latter is because now each corner is made by multiplying two things 
together, and what you want is probably multiplying three things together, 
so you need 2 [*] per channel. Look at the pattern of wires, how it tries 
all four combinations of going through [expr] and not going through it, 
and how the number of combinations grows to 8 when adding a third inlet, 
and that to multiply the third inlet (or its [expr] counterpart) you need 
the extra [*] for each.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list