Skip to main content

Python library for speech processing and analysis from a music theory perspective.

Project description

aulos

Python library for speech processing and analysis from a music theory perspective.

CI/CD Test Build & Publish
Package pypi - version pypi - python versions
Meta codecov Ruff mypy License

Features ✨

  • Comprehensive tools for audio processing and analysis based on music theory principles.
  • A structured framework for organizing and working with music theory objects.
  • Flexible and extensible design, allowing seamless customization and expansion.

Installation 🛠️

Install the package using pip:

pip install aulos

Usage 📖

from aulos.TET12 import Note, PitchClass

print(Note("C#4"))
# stdout:
# <Note: C#4, scale: None>

print(PitchClass("C#"))
# stdout:
# <PitchClass: C#, scale: None>
from aulos.TET12 import Key
from aulos.TET12 import Major, Dorian, Pentatonic

print(Major(Key("C")))
# stdout:
# <Major: <Key: C>>

print(Dorian(Key("C")).components)
# stdout:
# (<PitchClass: C, scale: <Dorian: <Key: C>>>,
#  <PitchClass: D, scale: <Dorian: <Key: C>>>,
#  <PitchClass: Eb, scale: <Dorian: <Key: C>>>,
#  <PitchClass: F, scale: <Dorian: <Key: C>>>,
#  <PitchClass: G, scale: <Dorian: <Key: C>>>,
#  <PitchClass: A, scale: <Dorian: <Key: C>>>,
#  <PitchClass: Bb, scale: <Dorian: <Key: C>>>)

print(Pentatonic(Key("C")).components)
# stdout:
# (<PitchClass: C, scale: <Pentatonic: <Key: C>>>,
#  <PitchClass: D, scale: <Pentatonic: <Key: C>>>,
#  <PitchClass: E, scale: <Pentatonic: <Key: C>>>,
#  <PitchClass: G, scale: <Pentatonic: <Key: C>>>,
#  <PitchClass: A, scale: <Pentatonic: <Key: C>>>)
from aulos.TET12 import Note
from aulos.TET12 import JustIntonationTuner, Equal12Tuner

print(Note("C4", tuner=Equal12Tuner(440)).hz)
# stdout:
# 440.0

print(Note("A4", tuner=JustIntonationTuner(440)).hz)
# stdout:
# 733.3333333333333

Dependencies 🧩

This project uses the following libraries and tools for development and testing.

Runtime Dependencies 📂

This project's final product depends only on Python's standard library. No third-party libraries are required at runtime.

Development Libraries 🛠️

The following libraries are used during development and testing but are not included in the final product

GitHub Actions ⚙️

License 📜

This project is distributed under the MIT License. For more information, refer to the LICENSE file.

Contact 📬

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

aulos-0.1.1.tar.gz (36.8 kB view details)

Uploaded Source

Built Distribution

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

aulos-0.1.1-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file aulos-0.1.1.tar.gz.

File metadata

  • Download URL: aulos-0.1.1.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for aulos-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5c1215e10a46138b9cb51c291a4d740e9751c0ed9fef5365f70ead47d307ac25
MD5 fbd26003399fc97ac6b86472666caa4e
BLAKE2b-256 b960687c770eaa95c73ea0fb5f791f7ce8da29dc3ba207b4e727afd64a0977a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for aulos-0.1.1.tar.gz:

Publisher: cd.yml on Oujox/aulos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aulos-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aulos-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 36.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for aulos-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4a569166b700bda17d6b5ec9cecb6106d7959df8419ee33de95c6559d4bceae
MD5 d4894a99bfcf0504889c31c65d3da51e
BLAKE2b-256 d96056126e64fb275abe6b55bee1e58646ef119471cbccd8dfa7f57629b3c81f

See more details on using hashes here.

Provenance

The following attestation bundles were made for aulos-0.1.1-py3-none-any.whl:

Publisher: cd.yml on Oujox/aulos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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