Settings listenerDirectivityModelParameters unexpected behavior

Hello,

when I use listenerDirectivityModelParameters:

let simpleCone = PHASEConeDirectivityModelParameters(subbandParameters: sub)
spatialMixerDefinition.listenerDirectivityModelParameters = simpleCone

I have to flip my listener around like so:

listener!.transform = position * Transform(yaw: .pi, roll: .pi).matrix

Without listenerDirectivityModelParameters everything works as expected. For example distanceModelParameters or sourceDirectivityModelParameters work fine with a listener position of:

listener!.transform = position

I found no way of getting the rotation or transform matrix of the cone or cardoid. So im kinda stuck with this solution right now.

Settings listenerDirectivityModelParameters unexpected behavior
 
 
Q