Loudspeaker filter optimization with AI