Skip to main content

A collection of tools for music analysis

Project description

aubio

aubio is a collection of tools for music and audio analysis.

This package integrates the aubio library with NumPy to provide a set of efficient tools to process and analyse audio signals, including:

  • read audio from any media file, including videos and remote streams
  • high quality phase vocoder, spectral filterbanks, and linear filters
  • Mel-Frequency Cepstrum Coefficients and standard spectral descriptors
  • detection of note attacks (onset)
  • pitch tracking (fundamental frequency estimation)
  • beat detection and tempo tracking

aubio works with both Python 2 and Python 3.

Links

Demos

Some examples are available in the python/demos folder. Each script is a command line program which accepts one ore more argument.

Notes: installing additional modules is required to run some of the demos.

Analysis

  • demo_source.py uses aubio to read audio samples from media files
  • demo_onset_plot.py detects attacks in a sound file and plots the results using matplotlib
  • demo_pitch.py looks for fundamental frequency in a sound file and plots the results using matplotlib
  • demo_spectrogram.py, demo_specdesc.py, demo_mfcc.py for spectral analysis.

Real-time

Others

  • demo_timestretch.py can change the duration of an input file and write the new sound to disk,
  • demo_wav2midi.py detects the notes in a file and uses mido to write the results into a MIDI file

Example

Use demo_timestretch_online.py to slow down loop.wav, write the results in stretched_loop.wav:

$ python demo_timestretch_online.py loop.wav stretched_loop.wav 0.92

Built with

The core of aubio is written in C for portability and speed. In addition to NumPy, aubio can be optionally built to use one or more of the following libraries:

  • media file reading:

    • ffmpeg / avcodec to decode and read audio from almost any format,
    • libsndfile to read audio from uncompressed sound files,
    • libsamplerate to re-sample audio signals,
    • CoreAudio to read all media formats supported by macOS, iOS, and tvOS.
  • hardware acceleration:

    • Atlas and Blas, for accelerated vector and matrix computations,
    • fftw3, to compute fast Fourier Transforms of any size,
    • Accelerate for accelerated FFT and matrix computations (macOS/iOS),
    • Intel IPP, accelerated vector computation and FFT implementation.

Project details


Download files

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

Source Distribution

aubio_ledfx-0.4.10a1.tar.gz (6.3 MB view details)

Uploaded Source

Built Distributions

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

aubio_ledfx-0.4.10a1-cp313-cp313-win_amd64.whl (11.4 MB view details)

Uploaded CPython 3.13Windows x86-64

aubio_ledfx-0.4.10a1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aubio_ledfx-0.4.10a1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

aubio_ledfx-0.4.10a1-cp313-cp313-macosx_11_0_arm64.whl (22.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

aubio_ledfx-0.4.10a1-cp313-cp313-macosx_10_15_x86_64.whl (23.6 MB view details)

Uploaded CPython 3.13macOS 10.15+ x86-64

aubio_ledfx-0.4.10a1-cp312-cp312-win_amd64.whl (11.4 MB view details)

Uploaded CPython 3.12Windows x86-64

aubio_ledfx-0.4.10a1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aubio_ledfx-0.4.10a1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

aubio_ledfx-0.4.10a1-cp312-cp312-macosx_11_0_arm64.whl (22.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

aubio_ledfx-0.4.10a1-cp312-cp312-macosx_10_15_x86_64.whl (23.6 MB view details)

Uploaded CPython 3.12macOS 10.15+ x86-64

aubio_ledfx-0.4.10a1-cp311-cp311-win_amd64.whl (11.4 MB view details)

Uploaded CPython 3.11Windows x86-64

aubio_ledfx-0.4.10a1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aubio_ledfx-0.4.10a1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

aubio_ledfx-0.4.10a1-cp311-cp311-macosx_11_0_arm64.whl (22.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

aubio_ledfx-0.4.10a1-cp311-cp311-macosx_10_15_x86_64.whl (23.6 MB view details)

Uploaded CPython 3.11macOS 10.15+ x86-64

aubio_ledfx-0.4.10a1-cp310-cp310-win_amd64.whl (11.4 MB view details)

Uploaded CPython 3.10Windows x86-64

aubio_ledfx-0.4.10a1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aubio_ledfx-0.4.10a1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (5.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

aubio_ledfx-0.4.10a1-cp310-cp310-macosx_11_0_arm64.whl (22.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

aubio_ledfx-0.4.10a1-cp310-cp310-macosx_10_15_x86_64.whl (23.6 MB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

File details

Details for the file aubio_ledfx-0.4.10a1.tar.gz.

File metadata

  • Download URL: aubio_ledfx-0.4.10a1.tar.gz
  • Upload date:
  • Size: 6.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.8

File hashes

Hashes for aubio_ledfx-0.4.10a1.tar.gz
Algorithm Hash digest
SHA256 bdb8a4c45aba737e598e5d48d8a50312707312bce4a520380f9ca02724fe2979
MD5 fd267c707d12bdb95f6e606db09170e2
BLAKE2b-256 d3108351001eb6fc663816862cac5e47570d0ba203b26ab16526c6001c143686

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 169a8fb108f5424b4cf50077d86502177844ec221d8cf72a9f3b0f39eaa99150
MD5 9770ec3e3bd624b386b42101d84e6140
BLAKE2b-256 543551b651722308d943dbff1af2858665a0d3a1ad9431d0a877603ba74a6813

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 baed4c60c18c85833d11590b7c979a9238d89df676ace6b4288ac1c8e3136860
MD5 9b12697c6aaaa7954c007c0a9cb1aafe
BLAKE2b-256 e1fa8c4512963011030fa1683d58d9562f005f47c1d3ac2276a3174ac88f5ad2

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 adbb4270ffc9f4ae1d34a3085a5963671a9625a5fd64fa94609dd9c68db663c3
MD5 7a4bbfaf91638cf45c9eab0dc026ef38
BLAKE2b-256 5052a64e9566608202ead764fe69fa54d7c6ff0736fd5fc22d10ce8f9202dae3

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 123d9b2e9b15dd228603a18f33c61eaa2ee2459d9a69d74a1bd5e1e0951c16bb
MD5 96c736c8131fec1162b38f24c104aa20
BLAKE2b-256 098361c9567887fc775fe8abcafcfebe6e49951e7d81b1c485e9d36e922f1c72

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp313-cp313-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp313-cp313-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 0813cf2bb9aba286907eb4818fd5b3259250405858cbaaea03f60bb3e3d8936f
MD5 bac152a8263592df73c854a8872d9a5a
BLAKE2b-256 8e898f6d7ee1f19d5e09a8a50b54bd5df51c57a0a66a4c3ba06a8dc38e9a890b

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1919f810085a61ec77620f9af4147d3830fb4253005cad7be1d4a6d77361103b
MD5 1e182fb7be145552ac1cc4fe131a1618
BLAKE2b-256 8ca59d9b365ffd90666ea716c435f480a8699f77ec35e6a2da06e2cc33bc8231

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08a2e9a080469c7060b5cb054c883073f95af5dd02beb1759054c2ef760994dc
MD5 71d6af3564778d6d023ef954e3421c9a
BLAKE2b-256 783843ba56f903624bc1896b144c4177340445f56628b233ff5248cfee11dc1e

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fec6a58aae92657e5ca29d37c2c144a149105c5b310d7ded4486e03f951ea25f
MD5 64c61123e3bded7ad69ca68412c14a72
BLAKE2b-256 0cf32bdff3dbe16c87fdd5450b50c86778f95aa51890d658fda55bf63557e2d0

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 987197c4b9a8c4e651ce68f5dd4117c1a9fa4ffc9b9c014b3b4e77f346302ae8
MD5 7d70816bcc02f757c5e2c76c806148ba
BLAKE2b-256 a08970d29151ae1f01c41b365f94545d9f355f5ddc9e4dff30571af8761b9d78

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 950c5dacfd73df2cdabfd1614eff6b3ecda8cd8225c67e615c9f95bca1394442
MD5 ca171755f7cb49291461c19ece22c4c7
BLAKE2b-256 a117276e9f7736201d140df2952192d1cd50ddc5cfaa1ea2c96b590c30cbf603

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bb03f165f90cd840a4eb1009742ca03f61fcd32c555dc0cf885227fb98488ccc
MD5 c7942ed1f1974d2b0431d7f9c55033ce
BLAKE2b-256 1526bdbf0a1ffcc9470a0313e59ac5d8b4101ed81577eb33bdc947188e2ec3d4

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bb751dcab09926fad8003d61dbe90e3f8025c7f290e9140fa8cdc2e4d1622f67
MD5 9c30264fdb8b27fe3830c50ace4363d4
BLAKE2b-256 9d465f35a7b41062354e3d1f86754fb11f09e5c9353db40f96d596225951c87f

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 be327f9954ebcb60ddb6f0e7f14f0ce9de78cfb585bc16ccc44158f581f5c014
MD5 c825522605f91a59f872495593f3f4c5
BLAKE2b-256 135a102a9f4622dce3e291a15ab386e685d320b366b0b954c72d53c2abd55501

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc7c9032f41610152d26683611d912e52c226e4b6c7c16458b22f93afb6323a5
MD5 3acd482cda779222c4567983b330fa1c
BLAKE2b-256 b6362d3f58975a6b55f16251a9b4a26d87bf1a869d3eef35c511b524208196e8

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 82a217516103439016d4a2ade1c8865a815faa9ff8c2b5e28b0aca4c2728e1a0
MD5 ac85da04ddc471f40ea72609f7d1575b
BLAKE2b-256 c32cd9532f37e7006f64d2c87f45e5dcdd2badadc8e045da9246154f6d1f6e2a

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9f00b34a6f6b7340f80db398e07deed46452520b8041ba7d5b94a354dc2280ea
MD5 ecb26ff5fa603724d9af30e7b79e477a
BLAKE2b-256 87482465da13248eaf78a7aaa27163af28815fcdc1e3721dc9bdacceeef2907b

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 89a9c2e6d9759762e2dd74c60c640ee7693486d2f7f9c186a8999328fbfe3be7
MD5 11735605fd3ca0b7087c50e554662600
BLAKE2b-256 c5f5984a38d97834062bc5d8f66e12849d6b6fdb4dbd2c9c6d2400241ae28e4e

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8c0d9ea8d328524ee46df36e7b96e5f928d4112c85e33ba08bce77734a1c98d5
MD5 d7a973ca223a44e19b070b63936ffa89
BLAKE2b-256 4c8d3a7e98724de4781582d13cfbfab82f265d6c432aa51b9f83a04cd1a0bd4a

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0ee60990e8aae7e82b3f60d527d7f2e1da89a00872c021b706522246aab89f4
MD5 070fa18f0b0580a49edf6d4ecd4bdaa8
BLAKE2b-256 a55d08e6ce3f5671f0f6f8a4559e0ba79e65a552b01b6b9096bedf4b3f86fb3c

See more details on using hashes here.

File details

Details for the file aubio_ledfx-0.4.10a1-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for aubio_ledfx-0.4.10a1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 80a267dc101ed13412625d5731cb9b5c296befeae394a299dadfefef47c2938f
MD5 0489d9dc427cdc9041e373eaa727d0af
BLAKE2b-256 3d8853d1681ca210af22f08b9b719d219c07dd88cb119b432f1d42a5a1e748a6

See more details on using hashes here.

Supported by

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