Loudspeaker impedance emulator for multi resonant systems