1diff -ur swh-lv2-1.0.15/plugins/dj_eq-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/dj_eq-swh.lv2/plugin.xml 2--- swh-lv2-1.0.15/plugins/dj_eq-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 3+++ swh-lv2-port-groups/plugins/dj_eq-swh.lv2/plugin.xml 2009-07-03 16:55:25.000000000 -0400 4@@ -140,6 +140,9 @@ 5 *(plugin_data->latency) = 3; //XXX is this right? 6 ]]></callback> 7 8+ <group label="main_in" type="StereoGroup"/> 9+ <group label="main_out" type="StereoGroup"/> 10+ 11 <port label="lo" dir="input" type="control" hint="default_0"> 12 <name>Lo gain (dB)</name> 13 <p>Controls the gain of the low (100Hz) peak/dip band</p> 14@@ -158,18 +161,18 @@ 15 <range min="-70" max="+6"/> 16 </port> 17 18- <port label="left_input" dir="input" type="audio"> 19+ <port label="left_input" dir="input" type="audio" group="main_in" role="leftChannel"> 20 <name>Input L</name> 21 </port> 22- <port label="right_input" dir="input" type="audio"> 23+ <port label="right_input" dir="input" type="audio" group="main_in" role="rightChannel"> 24 <name>Input R</name> 25 </port> 26 27- <port label="left_output" dir="output" type="audio"> 28+ <port label="left_output" dir="output" type="audio" group="main_out" role="leftChannel"> 29 <name>Output L</name> 30 </port> 31 32- <port label="right_output" dir="output" type="audio"> 33+ <port label="right_output" dir="output" type="audio" group="main_out" role="rightChannel"> 34 <name>Output R</name> 35 </port> 36 37diff -ur swh-lv2-1.0.15/plugins/gverb-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/gverb-swh.lv2/plugin.xml 38--- swh-lv2-1.0.15/plugins/gverb-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 39+++ swh-lv2-port-groups/plugins/gverb-swh.lv2/plugin.xml 2009-06-14 22:05:18.000000000 -0400 40@@ -119,16 +119,20 @@ 41 <p>The level of the classic reverb tail reflections.</p> 42 <range min="-70" max="0"/> 43 </port> 44+ 45+ <group label="in" type="MonoGroup"/> 46 47- <port label="input" dir="input" type="audio"> 48+ <port label="input" dir="input" type="audio" group="in" role="centerChannel"> 49 <name>Input</name> 50 </port> 51+ 52+ <group label="out" type="StereoGroup" source="in"/> 53 54- <port label="outl" dir="output" type="audio"> 55+ <port label="outl" dir="output" type="audio" group="out" role="leftChannel"> 56 <name>Left output</name> 57 </port> 58 59- <port label="outr" dir="output" type="audio"> 60+ <port label="outr" dir="output" type="audio" group="out" role="rightChannel"> 61 <name>Right output</name> 62 </port> 63 64diff -ur swh-lv2-1.0.15/plugins/karaoke-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/karaoke-swh.lv2/plugin.xml 65--- swh-lv2-1.0.15/plugins/karaoke-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 66+++ swh-lv2-port-groups/plugins/karaoke-swh.lv2/plugin.xml 2009-07-03 16:55:05.000000000 -0400 67@@ -33,19 +33,22 @@ 68 <range min="-70" max="0"/> 69 </port> 70 71- <port label="lin" dir="input" type="audio"> 72+ <group label="main_in" type="StereoGroup"/> 73+ <group label="main_out" type="StereoGroup"/> 74+ 75+ <port label="lin" dir="input" type="audio" group="main_in" role="leftChannel"> 76 <name>Left in</name> 77 </port> 78 79- <port label="rin" dir="input" type="audio"> 80+ <port label="rin" dir="input" type="audio" group="main_in" role="rightChannel"> 81 <name>Right in</name> 82 </port> 83 84- <port label="lout" dir="output" type="audio"> 85+ <port label="lout" dir="output" type="audio" group="main_out" role="leftChannel"> 86 <name>Left out</name> 87 </port> 88 89- <port label="rout" dir="output" type="audio"> 90+ <port label="rout" dir="output" type="audio" group="main_out" role="rightChannel"> 91 <name>Right out</name> 92 </port> 93 </plugin> 94diff -ur swh-lv2-1.0.15/plugins/lcr_delay-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/lcr_delay-swh.lv2/plugin.xml 95--- swh-lv2-1.0.15/plugins/lcr_delay-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 96+++ swh-lv2-port-groups/plugins/lcr_delay-swh.lv2/plugin.xml 2009-07-03 16:56:09.000000000 -0400 97@@ -197,20 +197,23 @@ 98 <p>The ammounts of the input and effect mixed to produce the output.</p> 99 <range min="0" max="1"/> 100 </port> 101+ 102+ <group label="main_in" type="StereoGroup"/> 103+ <group label="main_out" type="StereoGroup"/> 104 105- <port label="in_l" dir="input" type="audio"> 106+ <port label="in_l" dir="input" type="audio" group="main_in" role="leftChannel"> 107 <name>L input</name> 108 </port> 109 110- <port label="in_r" dir="input" type="audio"> 111+ <port label="in_r" dir="input" type="audio" group="main_in" role="rightChannel"> 112 <name>R input</name> 113 </port> 114 115- <port label="out_l" dir="output" type="audio"> 116+ <port label="out_l" dir="output" type="audio" group="main_out" role="leftChannel"> 117 <name>L output</name> 118 </port> 119 120- <port label="out_r" dir="output" type="audio"> 121+ <port label="out_r" dir="output" type="audio" group="main_out" role="rightChannel"> 122 <name>R output</name> 123 </port> 124 125diff -ur swh-lv2-1.0.15/plugins/matrix_ms_st-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/matrix_ms_st-swh.lv2/plugin.xml 126--- swh-lv2-1.0.15/plugins/matrix_ms_st-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 127+++ swh-lv2-port-groups/plugins/matrix_ms_st-swh.lv2/plugin.xml 2009-06-14 22:05:13.000000000 -0400 128@@ -27,17 +27,21 @@ 129 <range min="0" max="2" /> 130 </port> 131 132- <port label="mid" dir="input" type="audio"> 133+ <group label="in" type="MidSideGroup"/> 134+ 135+ <port label="mid" dir="input" type="audio" group="in" role="centerChannel"> 136 <name>Mid</name> 137 </port> 138- <port label="side" dir="input" type="audio"> 139+ <port label="side" dir="input" type="audio" group="in" role="sideChannel"> 140 <name>Side</name> 141 </port> 142+ 143+ <group label="out" type="StereoGroup" source="in"/> 144 145- <port label="left" dir="output" type="audio"> 146+ <port label="left" dir="output" type="audio" group="out" role="leftChannel"> 147 <name>Left</name> 148 </port> 149- <port label="right" dir="output" type="audio"> 150+ <port label="right" dir="output" type="audio" group="out" role="rightChannel"> 151 <name>Right</name> 152 </port> 153 </plugin> 154diff -ur swh-lv2-1.0.15/plugins/matrix_spatialiser-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/matrix_spatialiser-swh.lv2/plugin.xml 155--- swh-lv2-1.0.15/plugins/matrix_spatialiser-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 156+++ swh-lv2-port-groups/plugins/matrix_spatialiser-swh.lv2/plugin.xml 2009-07-03 16:56:24.000000000 -0400 157@@ -142,10 +142,13 @@ 158 plugin_data->current_s_gain = current_s_gain; 159 ]]></callback> 160 161- <port label="i_left" dir="input" type="audio"> 162+ <group label="main_in" type="StereoGroup"/> 163+ <group label="main_out" type="StereoGroup"/> 164+ 165+ <port label="i_left" dir="input" type="audio" group="main_in" role="leftChannel"> 166 <name>Input L</name> 167 </port> 168- <port label="i_right" dir="input" type="audio"> 169+ <port label="i_right" dir="input" type="audio" group="main_in" role="rightChannel"> 170 <name>Input R</name> 171 </port> 172 <port label="width" dir="input" type="control" hint="integer,default_0"> 173@@ -158,10 +161,12 @@ 174 ]]></p> 175 </port> 176 177- <port label="o_left" dir="output" type="audio"> 178+ 179+ 180+ <port label="o_left" dir="output" type="audio" group="main_out" role="leftChannel"> 181 <name>Output L</name> 182 </port> 183- <port label="o_right" dir="output" type="audio"> 184+ <port label="o_right" dir="output" type="audio" group="main_out" role="rightChannel"> 185 <name>Output R</name> 186 </port> 187 188diff -ur swh-lv2-1.0.15/plugins/matrix_st_ms-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/matrix_st_ms-swh.lv2/plugin.xml 189--- swh-lv2-1.0.15/plugins/matrix_st_ms-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 190+++ swh-lv2-port-groups/plugins/matrix_st_ms-swh.lv2/plugin.xml 2009-06-14 22:05:10.000000000 -0400 191@@ -21,17 +21,21 @@ 192 } 193 ]]></callback> 194 195- <port label="left" dir="input" type="audio"> 196+ <group label="in" type="StereoGroup"/> 197+ 198+ <group label="out" type="MidSideGroup" source="in"/> 199+ 200+ <port label="left" dir="input" type="audio" group="in" role="leftChannel"> 201 <name>Left</name> 202 </port> 203- <port label="right" dir="input" type="audio"> 204+ <port label="right" dir="input" type="audio" group="in" role="rightChannel"> 205 <name>Right</name> 206 </port> 207 208- <port label="mid" dir="output" type="audio"> 209+ <port label="mid" dir="output" type="audio" group="out" role="centerChannel"> 210 <name>Mid</name> 211 </port> 212- <port label="side" dir="output" type="audio"> 213+ <port label="side" dir="output" type="audio" group="out" role="sideChannel"> 214 <name>Side</name> 215 </port> 216 </plugin> 217diff -ur swh-lv2-1.0.15/plugins/plate-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/plate-swh.lv2/plugin.xml 218--- swh-lv2-1.0.15/plugins/plate-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 219+++ swh-lv2-port-groups/plugins/plate-swh.lv2/plugin.xml 2009-06-14 22:05:16.000000000 -0400 220@@ -109,15 +109,19 @@ 221 <range min="0" max="1"/> 222 </port> 223 224- <port label="input" dir="input" type="audio"> 225+ <group label="in" type="MonoGroup"/> 226+ 227+ <group label="out" type="StereoGroup" source="in"/> 228+ 229+ <port label="input" dir="input" type="audio" group="in" role="centerChannel"> 230 <name>Input</name> 231 </port> 232 233- <port label="outputl" dir="output" type="audio"> 234+ <port label="outputl" dir="output" type="audio" group="out" role="leftChannel"> 235 <name>Left output</name> 236 </port> 237 238- <port label="outputr" dir="output" type="audio"> 239+ <port label="outputr" dir="output" type="audio" group="out" role="leftChannel"> 240 <name>Right output</name> 241 </port> 242 243diff -ur swh-lv2-1.0.15/plugins/sc3-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/sc3-swh.lv2/plugin.xml 244--- swh-lv2-1.0.15/plugins/sc3-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 245+++ swh-lv2-port-groups/plugins/sc3-swh.lv2/plugin.xml 2009-07-03 16:56:34.000000000 -0400 246@@ -137,23 +137,28 @@ 247 <range min="0" max="1"/> 248 </port> 249 250- <port label="sidechain" dir="input" type="audio"> 251+ <group label="sidechain" type="MonoGroup" sidechain-of="main_in"/> 252+ 253+ <port label="sidechain" dir="input" type="audio" group="sidechain" role="centerChannel"> 254 <name>Sidechain</name> 255 </port> 256+ 257+ <group label="main_in" type="StereoGroup"/> 258+ <group label="main_out" type="StereoGroup"/> 259 260- <port label="left_in" dir="input" type="audio"> 261+ <port label="left_in" dir="input" type="audio" group="main_in" role="leftChannel"> 262 <name>Left input</name> 263 </port> 264 265- <port label="right_in" dir="input" type="audio"> 266+ <port label="right_in" dir="input" type="audio" group="main_in" role="rightChannel"> 267 <name>Right input</name> 268 </port> 269 270- <port label="left_out" dir="output" type="audio"> 271+ <port label="left_out" dir="output" type="audio" group="main_out" role="leftChannel"> 272 <name>Left output</name> 273 </port> 274 275- <port label="right_out" dir="output" type="audio"> 276+ <port label="right_out" dir="output" type="audio" group="main_out" role="rightChannel"> 277 <name>Right output</name> 278 </port> 279 280diff -ur swh-lv2-1.0.15/plugins/sc4-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/sc4-swh.lv2/plugin.xml 281--- swh-lv2-1.0.15/plugins/sc4-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 282+++ swh-lv2-port-groups/plugins/sc4-swh.lv2/plugin.xml 2009-07-03 16:54:48.000000000 -0400 283@@ -168,19 +168,22 @@ 284 <range min="-24" max="0"/> 285 </port> 286 287- <port label="left_in" dir="input" type="audio"> 288+ <group label="main_in" type="StereoGroup"/> 289+ <group label="main_out" type="StereoGroup"/> 290+ 291+ <port label="left_in" dir="input" type="audio" group="main_in" role="leftChannel"> 292 <name>Left input</name> 293 </port> 294 295- <port label="right_in" dir="input" type="audio"> 296+ <port label="right_in" dir="input" type="audio" group="main_in" role="rightChannel"> 297 <name>Right input</name> 298 </port> 299 300- <port label="left_out" dir="output" type="audio"> 301+ <port label="left_out" dir="output" type="audio" group="main_out" role="leftChannel"> 302 <name>Left output</name> 303 </port> 304 305- <port label="right_out" dir="output" type="audio"> 306+ <port label="right_out" dir="output" type="audio" group="main_out" role="rightChannel"> 307 <name>Right output</name> 308 </port> 309 310diff -ur swh-lv2-1.0.15/plugins/se4-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/se4-swh.lv2/plugin.xml 311--- swh-lv2-1.0.15/plugins/se4-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 312+++ swh-lv2-port-groups/plugins/se4-swh.lv2/plugin.xml 2009-07-03 16:55:59.000000000 -0400 313@@ -164,20 +164,23 @@ 314 <p>The degree of gain expansion applied to the input signal, in decibels.</p> 315 <range min="0" max="+24"/> 316 </port> 317+ 318+ <group label="main_in" type="StereoGroup"/> 319+ <group label="main_out" type="StereoGroup"/> 320 321- <port label="left_in" dir="input" type="audio"> 322+ <port label="left_in" dir="input" type="audio" group="main_in" role="leftChannel"> 323 <name>Left input</name> 324 </port> 325 326- <port label="right_in" dir="input" type="audio"> 327+ <port label="right_in" dir="input" type="audio" group="main_in" role="rightChannel"> 328 <name>Right input</name> 329 </port> 330 331- <port label="left_out" dir="output" type="audio"> 332+ <port label="left_out" dir="output" type="audio" group="main_out" role="leftChannel"> 333 <name>Left output</name> 334 </port> 335 336- <port label="right_out" dir="output" type="audio"> 337+ <port label="right_out" dir="output" type="audio" group="main_out" role="rightChannel"> 338 <name>Right output</name> 339 </port> 340 341Only in swh-lv2-port-groups/plugins/single_para-swh.lv2: .plugin.xml.swp 342diff -ur swh-lv2-1.0.15/plugins/split-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/split-swh.lv2/plugin.xml 343--- swh-lv2-1.0.15/plugins/split-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 344+++ swh-lv2-port-groups/plugins/split-swh.lv2/plugin.xml 2009-06-14 22:05:51.000000000 -0400 345@@ -23,17 +23,21 @@ 346 } 347 </callback> 348 349- <port label="input" dir="input" type="audio"> 350+ <group label="in" type="MonoGroup"/> 351+ 352+ <group label="out" type="StereoGroup" source="in"/> 353+ 354+ <port label="input" dir="input" type="audio" group="in" role="centerChannel"> 355 <name>Input</name> 356 <range min="-1" max="+1"/> 357 </port> 358 359- <port label="out2" dir="output" type="audio"> 360+ <port label="out2" dir="output" type="audio" group="out" role="leftChannel"> 361 <name>Output 1</name> 362 <range min="-1" max="+1"/> 363 </port> 364 365- <port label="out1" dir="output" type="audio"> 366+ <port label="out1" dir="output" type="audio" group="out" role="rightChannel"> 367 <name>Output 2</name> 368 <range min="-1" max="+1"/> 369 </port> 370diff -ur swh-lv2-1.0.15/plugins/surround_encoder-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/surround_encoder-swh.lv2/plugin.xml 371--- swh-lv2-1.0.15/plugins/surround_encoder-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 372+++ swh-lv2-port-groups/plugins/surround_encoder-swh.lv2/plugin.xml 2009-06-14 22:05:23.000000000 -0400 373@@ -111,33 +111,37 @@ 374 plugin_data->buffer_pos = buffer_pos; 375 ]]></callback> 376 377- <port label="l" dir="input" type="audio"> 378+ <port label="l" dir="input" type="audio" group="in" role="leftChannel"> 379 <name>L</name> 380 <p>Left channel input. Can be treated as per normal stereo recoding, except that the speaker should be at -22.5$^\circ$, rather than the normal stereo -30$^\circ$.</p> 381 </port> 382 383- <port label="r" dir="input" type="audio"> 384+ <group label="in" type="FourPointZeroGroup"/> 385+ 386+ <port label="r" dir="input" type="audio" group="in" role="rightChannel"> 387 <name>R</name> 388 <p>Right channel input. As per left channel.</p> 389 </port> 390 391- <port label="c" dir="input" type="audio"> 392+ <port label="c" dir="input" type="audio" group="in" role="centerChannel"> 393 <name>C</name> 394 <p>Center channel input. Will be directly in front of the listener, stereo and mono compatible.</p> 395 </port> 396 397- <port label="s" dir="input" type="audio"> 398+ <port label="s" dir="input" type="audio" group="in" role="surroundChannel"> 399 <name>S</name> 400 <p>Surround channel. Should sound from the rear speakers, may also leak into the left and right. Has slight delay and bandwidth reduction (cut below 100 Hz, and above 7 KHz) for leakage and noise reduction and enhanced psychoacoustic effects.</p> 401 402 <p>Not mono compatible.</p> 403 </port> 404+ 405+ <group label="out" type="StereoGroup" encoded-type="FourPointZeroGroup" source="in"/> 406 407- <port label="lt" dir="output" type="audio"> 408+ <port label="lt" dir="output" type="audio" group="out" role="leftChannel"> 409 <name>Lt</name> 410 </port> 411 412- <port label="rt" dir="output" type="audio"> 413+ <port label="rt" dir="output" type="audio" group="out" role="rightChannel"> 414 <name>Rt</name> 415 </port> 416 417diff -ur swh-lv2-1.0.15/plugins/xfade-swh.lv2/plugin.xml swh-lv2-port-groups/plugins/xfade-swh.lv2/plugin.xml 418--- swh-lv2-1.0.15/plugins/xfade-swh.lv2/plugin.xml 2008-01-09 16:02:08.000000000 -0500 419+++ swh-lv2-port-groups/plugins/xfade-swh.lv2/plugin.xml 2009-06-14 22:02:49.000000000 -0400 420@@ -34,24 +34,30 @@ 421 <range min="-1" max="1"/> 422 </port> 423 424- <port label="inputLA" dir="input" type="audio"> 425+ <group label="in1" type="StereoGroup"/> 426+ 427+ <group label="in2" type="StereoGroup"/> 428+ 429+ <port label="inputLA" dir="input" type="audio" group="in1" role="leftChannel"> 430 <name>Input A left</name> 431 </port> 432- <port label="inputRA" dir="input" type="audio"> 433+ <port label="inputRA" dir="input" type="audio" group="in1" role="rightChannel"> 434 <name>Input A right</name> 435 </port> 436 437- <port label="inputLB" dir="input" type="audio"> 438+ <port label="inputLB" dir="input" type="audio" group="in2" role="leftChannel"> 439 <name>Input B left</name> 440 </port> 441- <port label="inputRB" dir="input" type="audio"> 442+ <port label="inputRB" dir="input" type="audio" group="in2" role="rightChannel"> 443 <name>Input B right</name> 444 </port> 445+ 446+ <group label="out" type="StereoGroup"/> 447 448- <port label="outputL" dir="output" type="audio"> 449+ <port label="outputL" dir="output" type="audio" group="out" role="leftChannel"> 450 <name>Output left</name> 451 </port> 452- <port label="outputR" dir="output" type="audio"> 453+ <port label="outputR" dir="output" type="audio" group="out" role="rightChannel"> 454 <name>Output right</name> 455 </port> 456 </plugin> 457Only in swh-lv2-port-groups: swh-lv2-port-groups.patch 458diff -ur swh-lv2-1.0.15/xslt/turtle.xsl swh-lv2-port-groups/xslt/turtle.xsl 459--- swh-lv2-1.0.15/xslt/turtle.xsl 2008-01-09 16:02:07.000000000 -0500 460+++ swh-lv2-port-groups/xslt/turtle.xsl 2009-06-16 23:33:26.000000000 -0400 461@@ -6,8 +6,20 @@ 462 @prefix foaf: <http://xmlns.com/foaf/0.1/> . 463 @prefix doap: <http://usefulinc.com/ns/doap#> . 464 @prefix swhext: <http://plugin.org.uk/extensions#> . 465+@prefix pg: <http://lv2plug.in/ns/dev/port-groups#> . 466 <xsl:for-each select="ladspa/plugin"> 467-swh:<xsl:value-of select="@label"/> a :Plugin ; 468+ <xsl:variable name="pluglabel" select="@label"/> 469+ <xsl:for-each select="group"> 470+ <xsl:variable name="grouplabel" select="@label"/> 471+ <xsl:variable name="groupuri"> 472+ <xsl:value-of select="$pluglabel"/>-<xsl:value-of select="$grouplabel"/> 473+ </xsl:variable> 474+swh:<xsl:value-of select="$groupuri"/> a pg:Group ; 475+ a pg:<xsl:value-of select="@type"/> ; 476+ :symbol "<xsl:value-of select="$grouplabel"/>"<xsl:if test="@source"> ; 477+ pg:source swh:<xsl:value-of select="$pluglabel"/>-<xsl:value-of select="@source"/></xsl:if> . 478+ </xsl:for-each> 479+swh:<xsl:value-of select="$pluglabel"/> a :Plugin ; 480 <xsl:call-template name="csl2type"> 481 <xsl:with-param name="in" select="@class"/> 482 </xsl:call-template> 483@@ -22,7 +34,8 @@ 484 <!-- <xsl:if test="p">swhext:documentation """<xsl:value-of select="p"/>""" ; 485 </xsl:if>--> 486 <xsl:for-each select="/ladspa/global/meta"> 487- <xsl:if test="@name = 'properties' and @value = 'HARD_RT_CAPABLE'">:pluginProperty :hardRtCapable ; 488+ <xsl:if test="@name = 'properties' and @value = 'HARD_RT_CAPABLE'"> 489+ :pluginProperty :hardRtCapable ; 490 </xsl:if> 491 </xsl:for-each> 492 <xsl:for-each select="port"> 493@@ -64,6 +77,9 @@ 494 :portProperty :sampleRate ;</xsl:if> 495 <xsl:if test="contains(@hint, 'toggled')"> 496 :portProperty :toggled ;</xsl:if> 497+ <xsl:if test="@group"> 498+ pg:inGroup swh:<xsl:value-of select="$pluglabel"/>-<xsl:value-of select="@group"/> ; 499+ pg:role pg:<xsl:value-of select="@role"/> ;</xsl:if> 500 <!-- <xsl:if test="p"> 501 swhext:documentation """<xsl:value-of select="p"/>""" ;</xsl:if>--> 502 ] ; 503