A computer-implemented method for generating an individual-specific head-related transfer function (S 1) from a database (OH 1) containing 3D or 2D ear data (O 1) and corresponding head-related transfer functions (H 1), the method comprising the steps of: - performing a statistical analysis of the database (OH 1) leading to a reduction in the dimensionality (S 2) of the 3D or 2D ear space, and representing each 3D or 2D ear by a vector of statistical parameters the values of the components of which are the values of the projections of each ear into the ear space of reduced dimensionality; - performing a statistical analysis of the database (OH 1) leading to a reduction in the dimensionality of the head-related-transfer-function space, and representing each transfer function by a vector of statistical parameters the values of the components of which are the values of the projections of each transfer function into the transfer-function space of reduced dimensionality; - performing an analysis of the relationships between said statistical parameters of the 3D or 2D ear space and said statistical parameters of the head-related-transfer-function space; and - determining, from said relationship analysis and said statistical analysis of the 3D or 2D ear space, a function (OH' 1) for calculating a head-related transfer function (S 1) from data representative of at least one ear; said method using said disclosed steps to generate an individual-specific head-related transfer function (S H) for high frequencies above a threshold, said method furthermore comprising a step of generating an individual-specific head-related transfer function (S B) for low frequencies below said threshold; wherein said step of generating an individual-specific head-related transfer function (S B) for low frequencies below said threshold comprises the following substeps of: - sampling ranges of possible values of human morphological parameters from a database (M 1) of data relating to human morphology; - defining a mesh of a parametric model of said morphological parameters; - calculating low-frequency template transfer functions associated with said mesh; - estimating the value of morphological parameters of the individual from at least one face-on or profile photograph (U 2) of the individual; and - calculating an individual-specific head-related transfer function (S B) for low frequencies from the estimated value of the morphological parameters and said calculated low-frequency template transfer functions. - performing a statistical analysis of the database (OH 1) leading to a reduction in the dimensionality (S 2) of the 3D or 2D ear space, and representing each 3D or 2D ear by a vector of statistical parameters the values of the components of which are the values of the projections of each ear into the ear space of reduced dimensionality; - performing a statistical analysis of the database (OH 1) leading to a reduction in the dimensionality of the head-related-transfer-function space, and representing each transfer function by a vector of statistical parameters the values of the components of which are the values of the projections of each transfer function into the transfer-function space of reduced dimensionality; - performing an analysis of the relationships between said statistical parameters of the 3D or 2D ear space and said statistical parameters of the head-related-transfer-function space; and - determining, from said relationship analysis and said statistical analysis of the 3D or 2D ear space, a function (OH' 1) for calculating a head-related transfer function (S 1) from data representative of at least one ear; - sampling ranges of possible values of human morphological parameters from a database (M 1) of data relating to human morphology; - defining a mesh of a parametric model of said morphological parameters; - calculating low-frequency template transfer functions associated with said mesh; - estimating the value of morphological parameters of the individual from at least one face-on or profile photograph (U 2) of the individual; and - calculating an individual-specific head-related transfer function (S B) for low frequencies from the estimated value of the morphological parameters and said calculated low-frequency template transfer functions.