Electromechanical analogies in acoustics