mirror of
https://github.com/zbanks/radiance.git
synced 2026-06-16 04:26:25 +02:00
34dd493784
Hopefully @ervanalb doesn't think it's too ugly to create this new `beat_tracking_test` binary & `beat_toolkit/` folder. I had to create a mirror of the Python `rubberband` to fix some minor bugs in it. The idea is to resample, mix, and concatenate a few `.wav` files with known beat timestamps in order to generate a larger corpus of tests.
45 lines
898 B
TOML
45 lines
898 B
TOML
[tool.poetry]
|
|
name = "beat-toolkit"
|
|
version = "0.1.0"
|
|
description = "Beat tracking testing toolkit"
|
|
authors = ["Zach Banks <zjbanks@gmail.com>"]
|
|
packages = [{include = "beat_toolkit"}]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
numpy = "^1.23.4"
|
|
soundfile = "^0.11.0"
|
|
rubberband = {git = "https://github.com/zbanks/rubberband.git", rev = "v1.0.3"}
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
black = "^22.10.0"
|
|
flake8 = "^5.0.4"
|
|
mypy = "^0.982"
|
|
isort = "^5.10.1"
|
|
pytest = "^7.1.3"
|
|
Flake8-pyproject = "^1.1.0.post0"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.mypy]
|
|
plugins = "numpy.typing.mypy_plugin"
|
|
strict = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"rubberband",
|
|
"soundfile",
|
|
]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.flake8]
|
|
max-line-length = 88
|
|
exclude = ".git,.mypy_cache,.pytest_cache"
|
|
extend-ignore = "E203"
|