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},
    }

Metadata

Release files for audiomath 1.23.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for audiomath 1.23.0
File Interpreter ABI Platform Actions
audiomath-1.23.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for audiomath-1.23.0-py2.py3-none-any.whl

Release files / audiomath-1.23.0-py2.py3-none-any.whl

Download URL audiomath-1.23.0-py2.py3-none-any.whl
Size 18.4 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
074fb708800542dec68e01defb76fb55ec105aaaa3d8f3b87bc5ebf7ecc428b9
BLAKE2b-256 checksum
How to use checksums
14b9a34eb04566b371ed58abc2f28b393aaa67b5b21f10a09cab2a9e045e7a7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for audiomath 1.23.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.23.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page