-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (84 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (84 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "audio2midi"
version = "0.1.0"
description = "High-quality audio separation and MIDI transcription CLI"
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = "MIT"
authors = [
{ name = "audio2midi" }
]
keywords = ["audio", "midi", "transcription", "stem-separation", "music"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Conversion",
]
dependencies = [
"click>=8.0",
"rich>=13.0",
"audio-separator>=0.17",
"librosa>=0.10",
"mido>=1.3",
"numpy>=1.24",
"soundfile>=0.12",
"torch>=2.0",
"torchaudio>=2.0",
"onnxruntime>=1.16",
"requests>=2.0",
]
[project.optional-dependencies]
gpu = [
"onnxruntime-gpu>=1.16",
]
piano = [
"transkun",
]
drums = [
"adtof-pytorch @ git+https://github.com/xavriley/ADTOF-pytorch.git",
]
vocals = [
"torchcrepe>=0.0.24",
]
bass = [
"transformers>=4.18",
"note-seq>=0.0.3",
"pretty-midi>=0.2.9",
"einops>=0.4",
]
all-backends = [
"audio2midi[piano,drums,vocals,bass]",
]
dev = [
"pytest>=7.0",
"black>=23.0",
"ruff>=0.1",
]
[project.scripts]
audio2midi = "audio2midi.cli:main"
[project.urls]
Homepage = "https://github.com/BetterInc/audio2midi"
Documentation = "https://github.com/BetterInc/audio2midi#readme"
Repository = "https://github.com/BetterInc/audio2midi"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["audio2midi"]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "N", "W"]
ignore = ["E501"]