5.1 surround sound in MSP?

Mar 7, 2006 at 1:26am

5.1 surround sound in MSP?

It seems I saw lots about this when I didn’t yet need it. I even had some
on my computer at one time I think. Nothing came up in the new archives. I
need a max abstraction or external that lets me move a sound around a 5.1
space and outputs 6 channels to send to sfrecord~.

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

#24748
Mar 7, 2006 at 5:45am

so are we talking about 6 channels, or about
“dolby 5.1 prologic” encoded audio ?

for simple moving between 6 speakers try this .. it
is not exactly what you want though, it could
only be a start.

[110.distribution~]

max v2;
#N vpatcher 252 83 794 337;
#P newex 452 42 50 196617 -~ 1.;
#P hidden newex 9 55 120 196617 bgcolor 180 25 50;
#N comlet SIGNAL;
#P inlet 9 153 15 0;
#N comlet 8;
#P outlet 152 205 15 0;
#N comlet 7;
#P outlet 137 205 15 0;
#N comlet 6;
#P outlet 122 205 15 0;
#N comlet 5;
#P outlet 107 205 15 0;
#N comlet 4;
#P outlet 92 205 15 0;
#N comlet 3;
#P outlet 77 205 15 0;
#N comlet 2;
#P outlet 62 205 15 0;
#N comlet 1;
#P outlet 47 205 15 0;
#N comlet path 1. 8. (f , signal);
#P inlet 315 26 15 0;
#P newex 147 125 57 196617 sqrt~;
#P newex 84 125 57 196617 sqrt~;
#P newex 231 86 56 196617 +~ 1;
#P newex 363 112 60 196617 +~ 1;
#P newex 363 86 60 196617 %~ 8.;
#P newex 363 60 60 196617 +~ 1.;
#P newex 363 187 120 196617 gate~ 8;
#P newex 84 78 51 196617 !-~ 1;
#P newex 231 187 120 196617 gate~ 8;
#P newex 147 60 55 196617 %~ 1;
#P newex 113 169 44 196617 *~;
#P newex 50 169 44 196617 *~;
#P newex 231 60 56 196617 %~ 8.;
#P comment 15 34 158 196620 [110.distribution~];
#P connect 5 0 15 0;
#P connect 7 0 15 0;
#P connect 23 0 2 0;
#P lcolor 6;
#P connect 5 1 16 0;
#P connect 7 1 16 0;
#P connect 5 2 17 0;
#P connect 7 2 17 0;
#P connect 4 0 6 0;
#P connect 6 0 12 0;
#P connect 12 0 2 1;
#P connect 5 3 18 0;
#P connect 7 3 18 0;
#P connect 7 4 19 0;
#P connect 5 4 19 0;
#P connect 23 0 3 0;
#P lcolor 6;
#P connect 7 5 20 0;
#P connect 5 5 20 0;
#P connect 7 6 21 0;
#P connect 5 6 21 0;
#P connect 25 0 4 0;
#P connect 4 0 13 0;
#P connect 13 0 3 1;
#P connect 7 7 22 0;
#P connect 5 7 22 0;
#P connect 25 0 1 0;
#P connect 1 0 11 0;
#P connect 11 0 5 0;
#P connect 2 0 5 1;
#P connect 25 0 8 0;
#P connect 8 0 9 0;
#P connect 9 0 10 0;
#P connect 10 0 7 0;
#P connect 14 0 25 0;
#P connect 3 0 7 1;
#P pop;

[110.distribution~.help]

max v2;
#N vpatcher 59 555 785 943;
#P hidden newex 26 309 104 196617 bgcolor 250 150 50;
#P user ezdac~ 89 96 133 129 0;
#P comment 28 52 311 196620 obviously something like spatialisation;
#P comment 14 26 206 196626 110.distribution~;
#P comment 390 52 303 196620 but feel free to use it to fly to the moon;
#P flonum 316 119 64 9 1. 8. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user number~ 240 119 303 134 9 3 3 1 1. 8. 3 1. 250 0. 0 0 0 222 222 222 222 222 222 0 0 0;
#P newex 29 104 50 196617 noise~;
#P user meter~ 197 317 433 336 10 0 168 0 9 9 9 255 153 0 255 0 0;
#P user meter~ 173 296 409 315 10 0 168 0 9 9 9 255 153 0 255 0 0;
#P user meter~ 149 275 385 294 10 0 168 0 9 9 9 255 153 0 255 0 0;
#P user meter~ 125 254 361 273 10 0 168 0 9 9 9 255 153 0 255 0 0;
#P user meter~ 101 233 337 252 10 0 168 0 9 9 9 255 153 0 255 0 0;
#P user meter~ 77 212 313 231 10 0 168 0 9 9 9 255 153 0 255 0 0;
#P user meter~ 53 191 289 210 10 0 168 0 9 9 9 255 153 0 255 0 0;
#P user meter~ 29 170 265 189 10 0 168 0 9 9 9 255 153 0 255 0 0;
#P newex 29 135 183 196617 110.distribution~;
#P newex 10 22 677 196644;
#P comment 396 115 122 196617 you can use floats too. before you try it please disconnect the signal box.;
#P connect 11 0 2 0;
#P hidden connect 2 0 3 0;
#P hidden connect 2 1 4 0;
#P hidden connect 2 2 5 0;
#P hidden connect 2 3 6 0;
#P hidden connect 2 4 7 0;
#P hidden connect 2 5 8 0;
#P hidden connect 2 6 9 0;
#P hidden connect 2 7 10 0;
#P connect 12 0 2 1;
#P pop;

other places to look are spat~, the spat stuff
from the jimmies, and also the basic equal power
panning stuff from the examples folder, which of
course only supports 2 and 4 channels.

#72062
Mar 7, 2006 at 7:45am

you are not looking for:
/Applications/MaxMSP 4.5/examples/spatialization/5-point-1-fun
by any chance?

hth
hans

#72063
Mar 7, 2006 at 2:35pm

Danke, Hans!

Was in einem Wort ist. In this case “-point-” instead of “.”

Reminds me of the American basketball players who say they “are going for
the ‘W’ (three syllables)” instead of just saying the want to win.

Thanks to the others who responded – Casey, Roman.

Cheers,
Gary

#72064
Mar 9, 2006 at 5:18am

You might also find ambipan~ or vbapan~ externals useful. The
documentation is somewhat sparse, but once you figure things out, you
can set up spatialization for specific configurations of speakers in
arbitrary 3D arrangements by entering angle and distance from the
listener’s position for each speaker.

http://cicm.mshparisnord.org/dl/ambipan.htm

– Paul


—– |(*,+,#,=)(#,=,*,+)(=,#,+,*)(+,*,=,#)| —–

#72065

You must be logged in to reply to this topic.