MT3 Music Transcription Library
Project description
from huggingface_hub import hf_hub_download
from shutil import unpack_archive
from mt3_audio2midi import MT3
import nest_asyncio
nest_asyncio.apply()
unpack_archive(hf_hub_download("shethjenil/Audio2Midi_Models","mt3.zip"),"mt3_model",format="zip")
unpack_archive(hf_hub_download("shethjenil/Audio2Midi_Models","ismir2021.zip"),"ismir2021_model",format="zip")
mt3_model = MT3("mt3_model")
ismir2021_model = MT3("ismir2021_model","ismir2021")
mt3_model.predict(audio_path)
ismir2021_model.predict(audio_path)
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
mt3_audio2midi-0.1.0.tar.gz
(2.3 MB
view details)
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 mt3_audio2midi-0.1.0.tar.gz.
File metadata
- Download URL: mt3_audio2midi-0.1.0.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
508ad1f2f7e4036921ccf5435c3d161ee33576b5ba9ff5673f69feb1fb65b430
|
|
| MD5 |
e3265ea88480ca9d21c97665e9899bb5
|
|
| BLAKE2b-256 |
3dc6384f7a7c099d332fc8934428403f4c4c3016734f74f281d14196fb703c7a
|
File details
Details for the file mt3_audio2midi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mt3_audio2midi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1337e243e1e7d78c6b2393bf7a2ca6a6c90895c66812a59074481175f904f774
|
|
| MD5 |
ab0fd1d4d83005d12f35446a0c404de0
|
|
| BLAKE2b-256 |
9da88c2b88e8961a40196b19ab16e53a3505fe99be806680fbd6e51d6756e2ec
|