GroupedPlayerMixer mix players together, clumped into groups

like PlayerMixer, this mixes the outputs of multiple players.

but this class also puts each player into its own group node.

GroupedPlayerMixer(

total // original

,

// these 3 go into a group together

Array.fill(3,{ arg i;

Patch("Channel",[

total.busses[i],// IrNumberEditors

total.vols[i],// KrNumberEditors

total.djLPFs[i], // KrNumberEditors

total.djHPFs[i], // KrNumberEditors

// sending to efx

total.send1Levels[i],

total.send2Levels[i],

total.sendBusIndices[0],

total.sendBusIndices[1]

])

}),

[ // efx in a group after the sound and sends

efx1 = PlayerPool( this.efx( total.sendBusIndices[0] ) ),

efx2 = PlayerPool( this.efx( total.sendBusIndices[1] ) )

]

)