A continuously tunable x-ray compensator that works in conjunction with synchrotron-radiation sources has been developed. The phenomena of polarization Pendellösung has been observed during its normal operation and the generation of circularly polarized x rays is verified through an observation of the magnetic Compton effect.Physic