Skip to main content

music21_svs_formats

Import and export Singing Voice Synthesis (SVS) project formats in music21 via Libresvip.

Music21 is designed for classical music theory, primarily centered around staff notation. With this library, users can easily convert SVS project files into sheet music readable by human singers and performers, or import MusicXML files (containing lyrics) downloaded from musescore.com into SVS software.

Installation

git clone https://github.com/oxygen-dioxide/music21-svs-formats
cd music21-svs-formats
pip install -e .[hyphen]

Features

  • Bi-directional conversion between SVS software data and Music21 objects:
    • Notes, time signatures, and tempo.
    • Conversion between SVS melisma symbols (-) and musical slurs in staff notation.
  • Automatic completion of metadata required by Music21 that is often absent in SVS projects:
    • Automatic key detection.
    • Automatic splitting note to tied notes when needed.
    • Automatic hyphenation of multi-syllabic lyrics (e.g., listening + + -> lis, -ten, -ing).

Example

Convert an SVS project file to staff notation (requires MuseScore installed):

import music21
import music21_svs_formats

music21_svs_formats.registAllFormats()

infile = "path_to_your_file.ustx"
project = music21.converter.parseFile(infile, forceSource=True, hyphenLang="en_US")
project.show()

Metadata

Release files for music21-svs-formats 0.0.2

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

Source distribution (sdist)

Source distribution for music21-svs-formats 0.0.2
File Size Uploaded Provenance Actions
music21_svs_formats-0.0.2.tar.gz 19.0 kB With provenance Details for music21_svs_formats-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for music21-svs-formats 0.0.2
File Interpreter ABI Platform Actions
music21_svs_formats-0.0.2-py3-none-any.whl Python 3 none any Details for music21_svs_formats-0.0.2-py3-none-any.whl

Total release size: 28.2 kB

Release files / music21_svs_formats-0.0.2.tar.gz

Download URL music21_svs_formats-0.0.2.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
47ff91ed4176dd07bb965f962ad33dfb296c6730be8c45c1513c23eb89019e6d
BLAKE2b-256 checksum
How to use checksums
c80bfcca16b649bfadbe9030faa1b6df927baa4a80baf20a723ef3a372013ff7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Release files / music21_svs_formats-0.0.2-py3-none-any.whl

Download URL music21_svs_formats-0.0.2-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ee549c5c1f719247752dd5292c5bdcaec93bf1da394f7ef34f736a265aed8fc
BLAKE2b-256 checksum
How to use checksums
9e773f111bfec828b326701b55beb592c35820f378d6456614dcc666d34fe8b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

Security for music21-svs-formats 0.0.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for music21_svs_formats-0.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 3, 2026.

Transparency log

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

0.0.2 This release

2 release files Full 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