Due to the acousto-optic (AO) effect, the refractive index of an optical interaction medium is perturbed by an acoustic wave induced in the medium that builds up a phase grating that will diffract the incident light beam if the condition of constructive interference is satisfied. All parameters, such as magnitude, period or phase of the grating can be controlled that allows the construction of useful devices (modulators, switches, one or multi-dimensional deflectors, spectrum analyzers, tunable filters, frequency shifters, etc.) The research and training of acousto-optics have a long-term tradition at our department. In this presentation, we introduce the related laboratory exercises fitted into an e-learning frame. The BSc level exercise utilizes a laser source and an AO cell to demonstrate the effect and principal AO functions explaining signal processing terms such as amplitude or frequency modulation, modulation depth and Fourier transformation ending up in building a free space sound transmitting and demodulation system. The setup for MSc level utilizes an AO filter with mono-and polychromatic light sources to learn about spectral analysis and synthesis. Smart phones can be used to generate signal inputs or outputs for both setups as well as to help students' preparation and reporting.