[PD] 8ch diffusion

Frank Barknecht fbar at footils.org
Sun Mar 15 10:50:19 CET 2009


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 Barknecht            Do You RjDj.me?          _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cospan-help.pd
Type: application/puredata
Size: 4639 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090315/58f526b8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cospan.pd
Type: application/puredata
Size: 1187 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090315/58f526b8/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cospan12~.pd
Type: application/puredata
Size: 2499 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090315/58f526b8/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cospan16to9~.pd
Type: application/puredata
Size: 7490 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090315/58f526b8/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cospan5~.pd
Type: application/puredata
Size: 1322 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090315/58f526b8/attachment-0004.bin>


More information about the Pd-list mailing list