Support for singing voice synthesis file formats in music21 via libresvip
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file music21_svs_formats-0.0.2.tar.gz.
File metadata
- Download URL: music21_svs_formats-0.0.2.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47ff91ed4176dd07bb965f962ad33dfb296c6730be8c45c1513c23eb89019e6d
|
|
| MD5 |
725ad6514bee7cb22998f64cba247388
|
|
| BLAKE2b-256 |
c80bfcca16b649bfadbe9030faa1b6df927baa4a80baf20a723ef3a372013ff7
|
Provenance
The following attestation bundles were made for music21_svs_formats-0.0.2.tar.gz:
Publisher:
release.yml on oxygen-dioxide/music21-svs-formats
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
music21_svs_formats-0.0.2.tar.gz -
Subject digest:
47ff91ed4176dd07bb965f962ad33dfb296c6730be8c45c1513c23eb89019e6d - Sigstore transparency entry: 1435333921
- Sigstore integration time:
-
Permalink:
oxygen-dioxide/music21-svs-formats@067a72a834eeb1a0fa0b53200f8c6ca4ff5bcee9 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/oxygen-dioxide
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@067a72a834eeb1a0fa0b53200f8c6ca4ff5bcee9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file music21_svs_formats-0.0.2-py3-none-any.whl.
File metadata
- Download URL: music21_svs_formats-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ee549c5c1f719247752dd5292c5bdcaec93bf1da394f7ef34f736a265aed8fc
|
|
| MD5 |
fcd988722d8ac5a6c075df3463bf238e
|
|
| BLAKE2b-256 |
9e773f111bfec828b326701b55beb592c35820f378d6456614dcc666d34fe8b5
|
Provenance
The following attestation bundles were made for music21_svs_formats-0.0.2-py3-none-any.whl:
Publisher:
release.yml on oxygen-dioxide/music21-svs-formats
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
music21_svs_formats-0.0.2-py3-none-any.whl -
Subject digest:
3ee549c5c1f719247752dd5292c5bdcaec93bf1da394f7ef34f736a265aed8fc - Sigstore transparency entry: 1435333972
- Sigstore integration time:
-
Permalink:
oxygen-dioxide/music21-svs-formats@067a72a834eeb1a0fa0b53200f8c6ca4ff5bcee9 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/oxygen-dioxide
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@067a72a834eeb1a0fa0b53200f8c6ca4ff5bcee9 -
Trigger Event:
push
-
Statement type: