Skip to main content

Music VoiceGen

Musical Voice Generation

Python based on https://metacpan.org/dist/Music-VoiceGen by Jeremy Mates (gemini://thrig.me)

DESCRIPTION

This module offers the ability to generate a voice (a series of notes or melody) using only certain pitches and intervals, or otherwise a custom set of possible choices (via a hash of hashes) that a given pitch (an integer) will move to some other pitch. The design suits choral work, where leaps of a tritone or similar must be forbidden, and the range of pitches confined to a certain ambitus. With suitable input this module could be made to produce more chromatic lines over larger ranges.

SYNOPSIS

from music_voicegen import MusicVoiceGen

voice = MusicVoiceGen(
    pitches=[60,62,64,65,67,69],
    intervals=[-4,-3,-2,-1,1,2,3,4]
)

voices = [ voice.rand() for _ in range(8) ]

Please see the original documentation for detailed usage.

AUTHOR

thrig - Jeremy Mates (jmates at cpan.org)

Metadata

Release files for music-voicegen 0.1.1

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

Source distribution (sdist)

Source distribution for music-voicegen 0.1.1
File Size Uploaded
music_voicegen-0.1.1.tar.gz 41.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for music-voicegen 0.1.1
File Interpreter ABI Platform
music_voicegen-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 69.5 kB

Release files / music_voicegen-0.1.1.tar.gz

Download URL music_voicegen-0.1.1.tar.gz
Size 41.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9ee32fc553564853038c538f94e2260c73d2545b8247658a51731f8553725163
BLAKE2b-256 checksum
How to use checksums
4443a6f2a84b8aa7ed034db5a296db11c2ad8efd4eedb82f5ec551cd94776888
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / music_voicegen-0.1.1-py3-none-any.whl

Download URL music_voicegen-0.1.1-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
558ceb89770fd40b63ae267654b0a949a0000da956bbefd52931db54d7f1cd31
BLAKE2b-256 checksum
How to use checksums
f4112aefa639dc863be5a90fcb845776d63f45b7702969a42c1787b2181fb3c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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