.. _cpp-examples-sound-processing:

Sound processing
================

:ref:`\<\< return to C++ examples<cpp-examples>`

Overview
--------

The **ALSoundProcessing** example module shows how to process sound data and
interact with ALMemory. It writes the RMS power of all four channels in
ALMemory.

This is a **remote or local** module.

Downloads
---------

Whole module
++++++++++++

:download:`soundprocessing.zip <../soundprocessing.zip>`

Header: alsoundprocessing.h
+++++++++++++++++++++++++++

:download:`alsoundprocessing.h <alsoundprocessing.h>`

.. literalinclude:: alsoundprocessing.h
   :language: cpp

Source: alsoundprocessing.cpp
+++++++++++++++++++++++++++++

:download:`alsoundprocessing.cpp <alsoundprocessing.cpp>`

.. literalinclude:: alsoundprocessing.cpp
   :language: cpp

Main: main.cpp
++++++++++++++

:download:`soundprocessingmain.cpp <main.cpp>`

.. literalinclude:: main.cpp
   :language: cpp

CMakeLists.txt
++++++++++++++

:download:`CMakeLists.txt <CMakeLists.txt>`

.. literalinclude:: CMakeLists.txt
   :language: cmake
