Audio
=====

The :mod:`~pambox.audio` module provides a single function,
:py:func:`~pambox.audio.play`. By default, the output is scaled to
prevent clipping.

::

    from pambox import audio
    import numpy as np
    audio.play(np.random.randn(10000))


API
---

.. automodule:: pambox.audio
   :members:

Audio
=====

The :mod:`~pambox.audio` module provides a single function,
:py:func:`~pambox.audio.play`. By default, the output is scaled to
prevent clipping and the sampling frequency is 44.1 KHz.

::

    from pambox import audio
    import numpy as np
    audio.play(np.random.randn(10000))

To play back the signal without normalization, simply set `normalize` to
`False`:

::

    audio.play(np.random.randn(10000), normalize=False)


API
---

.. automodule:: pambox.audio
   :members:

Update play doc with normaliztion factor
Update play doc with normaliztion factor
