A non-transitory computer readable medium including a computer program with a program code for performing, when the computer program runs on a computer or a microcontroller, the method for calculating driving coefficients for loudspeakers of a loudspeaker arrangement for an audio signal associated with a virtual source, the method comprising:
- calculating driving coefficients for loudspeakers of the loudspeaker arrangement based on a first calculation rule, if the position of the virtual source is located outside a loudspeaker transition zone;
- and
- calculating driving coefficients for loudspeakers of the loudspeaker arrangement based on a second calculation rule, if the position of the virtual source is located within the loudspeaker transition zone, wherein a border of the loudspeaker transition zone comprises a minimal distance to a loudspeaker of the loudspeaker arrangement depending on the distance between the loudspeaker and a loudspeaker adjacent to this loudspeaker, wherein the loudspeaker arrangement comprises at least two pairs of adjacent loudspeakers with different distances between the loudspeakers of the respective pair of loudspeakers.