Patent attributes
One embodiment provides a method comprising inputting into a first layer of a neural network at least one data sample of a current displacement of one or more moving components of a loudspeaker and at least one or more other data samples of one or more prior displacements of the one or more moving components. The method comprises generating in the first layer a data vector by applying a nonlinear activation function based on the at least one data sample of the current displacement and the at least one or more other data samples of the one or more prior displacements. The method comprises inputting into a second layer of the neural network the data vector and applying an affine transformation to the data vector. The method comprises outputting a prediction of a current voltage to apply to the loudspeaker based on the affine transformation applied to the data vector.