new Resonator constructor