Models of spherical and rectangular cuboid loudspeaker arrays