Skip to main content

audiomath is a package for Python programmers who want to record, manipulate, visualize or play sound waveforms. It allows you to:

  • Represent sounds as numeric arrays via the third-party Python package numpy (required). The arrays are contained within high-level objects, allowing common operations to be performed with minimal coding—for example: slicing and concatenation in time, selection and stacking of channels, resampling, mixing, rescaling and modulation.

  • Plot the resulting waveforms, via the third-party Python package matplotlib (optional).

  • Read and write uncompressed .wav files (via the Python standard library).

  • Read other audio formats using the third-party AVbin library (binaries are included in the package, for a selection of platforms).

  • Record and play back sounds using the third-party PortAudio library (binaries are included in the package, for a selection of platforms).

  • Play sounds using the alternative PsychPortAudio back-end, from the (optional) psychtoolbox package, allowing very precise control of latency

  • Plug in other recording/playback back-ends with moderate development effort.

See https://audiomath.readthedocs.io for full documentation and installation instructions.

If you use audiomath in your work, please cite:

  • Hill NJ, Mooney SWJ & Prusky GT (2021). audiomath: a neuroscientist’s sound toolkit. Heliyon 7(2):e06236. https://doi.org/10.1016/j.heliyon.2021.e06236

    @article{hill2020audiomath,
        author  = {Hill, N. Jeremy  and  Mooney, Scott W. J.  and  Prusky, Glen T.},
        title   = {{audiomath}: a Neuroscientist's Sound Toolkit},
        journal = {Heliyon},
        volume  = {7},
        number  = {2},
        pages   = {e06236},
        month   = {February},
        year    = {2021},
        date    = {2021-02-10},
        doi     = {10.1016/j.heliyon.2021.e06236},
        url     = {https://doi.org/10.1016/j.heliyon.2021.e06236},
    }

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audiomath-1.21.6-py2.py3-none-any.whl (18.4 MB view details)

Uploaded Python 2Python 3

File details

Details for the file audiomath-1.21.6-py2.py3-none-any.whl.

File metadata

  • Download URL: audiomath-1.21.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.4 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for audiomath-1.21.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ef3fd81561dcca754e1a36854b289ccc3b4ee4ebd948af9e4c8abea216e31885
MD5 69886d6db176da006ac7b8b179bae432
BLAKE2b-256 087ad03976b1bc0942c31887d8234e241b8ad37aedcce53a05c0ce2ba49823ea

See more details on using hashes here.

Release history Release notifications | RSS feed

1.22.0

1 file

This release

1.21.6 This release

1 file

1.21.5

1 file

1.21.4

1 file

1.21.3

1 file

1.21.2

1 file

1.21.1

1 file

1.21.0

1 file

1.20.1

1 file

1.20.0

1 file

1.19.0

1 file

1.18.2

1 file

1.18.1

1 file

1.18.0

1 file

1.17.1

1 file

1.17.0

1 file

1.16.0

1 file

1.15.4

1 file

1.15.3

1 file

1.15.2

1 file

1.15.1

1 file

1.15.0

1 file

1.14.0

1 file

1.13.0

1 file

1.12.0

1 file

1.11.1

1 file

1.11.0

1 file

1.10.0

1 file

1.9.0

1 file

1.8.0

1 file

1.7.3

1 file

1.7.2

1 file

1.7.1

1 file

1.7.0

1 file

1.6.2

1 file

1.6.1

1 file

1.6.0

1 file

1.5.2

1 file

1.5.1

1 file

1.5.0

1 file

1.4.1

1 file

1.4.0

1 file

1.3.1

1 file

1.3.0

1 file

1.2.0

1 file

1.1.0

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page