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
Meta Ruff mypy codecov 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 🛠️

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.0.tar.gz (25.2 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.0-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aulos-0.1.0.tar.gz
  • Upload date:
  • Size: 25.2 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.0.tar.gz
Algorithm Hash digest
SHA256 f9cfb30e9ffac5a78ead064f82ac194ddf86408bd0328aec2f3c6d8190f9274a
MD5 f86dbca90ad3177e665e7e3dd47a77a1
BLAKE2b-256 56fc01ef3b85f0938eedfb7a7ce508487304a9b358542159da34b02c23b1f672

See more details on using hashes here.

Provenance

The following attestation bundles were made for aulos-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: aulos-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 36.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 107918850f015df71255eef5f9a4e59c39068a87c571778acafa7a294834740b
MD5 37ef81385dbe06508f6a0d58d41d91a4
BLAKE2b-256 3c9644bc3f2d9d28a931872bc55a0c14dc4a69eb1991329d6eb880c6d7b51ab6

See more details on using hashes here.

Provenance

The following attestation bundles were made for aulos-0.1.0-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