Magnetic direct generation of acoustic resonances in silicon membranes