The coordinate system for the listener's and sources' positions is a right-hand system with the x-axis pointing towards the front, the y axis to the left, and the z-axis upwards. Per default the listener is positioned in the origin
(0, 0, 0), facing towards the positive x-axis.
The listener's orientation can be adjusted using its
setRotation methods. The yaw, pitch, and roll angles correspond to the rotations around the z, y, and x axes, respectively.
The rotation sequences are
z-y'-x'' for intrinsic rotations or
x-y-z for extrinsic rotations or
Swivel on your swivel chair ↔️, look ↕️, tilt your head ↪️↩️.
for a less mathematical description 😉