We report a technique for encoding both amplitude and phase variations onto a laser beam using a single digital micro-mirror device (DMD). Using this technique, we generate Laguerre-Gaussian and vortex orbital-angular-momentum (OAM) modes, along with modes in a set that is mutually unbiased with respect to the OAM basis. Additionally, we have demonstrated rapid switching among the generated modes at a speed of 4 kHz, which is much faster than the speed regularly achieved by phase-only spatial light modulators (SLMs). The dynamic control of both phase and amplitude of a laser beam is an enabling technology for classical communication and quantum key distribution (QKD) systems that employ spatial mode encoding.