Skip to content

A lightweight yet powerful audio-to-MIDI converter with pitch bend detection

changed copyright years in data files to 2024, changed 'train' to 'data' in pyproject.toml

Benjie Genchel23f724579c14
diff --git a/basic_pitch/data/commandline.py b/basic_pitch/data/commandline.py
index 1dd9103..809b565 100644
--- a/basic_pitch/data/commandline.py
+++ b/basic_pitch/data/commandline.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
-# Cos.pathyright 2022 Spotify AB
+# Cos.pathyright 2024 Spotify AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/basic_pitch/data/datasets/guitarset.py b/basic_pitch/data/datasets/guitarset.py
index f28b1ac..cbe89bf 100644
--- a/basic_pitch/data/datasets/guitarset.py
+++ b/basic_pitch/data/datasets/guitarset.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
-# Copyright 2022 Spotify AB
+# Copyright 2024 Spotify AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/basic_pitch/data/pipeline.py b/basic_pitch/data/pipeline.py
index 9da0f59..453295f 100644
--- a/basic_pitch/data/pipeline.py
+++ b/basic_pitch/data/pipeline.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
#
-# Copyright 2022 Spotify AB
+# Copyright 2024 Spotify AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/pyproject.toml b/pyproject.toml
index 2d8129f..a504de9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -52,15 +52,15 @@ basic-pitch = "basic_pitch.predict:main"
bp-download = "basic_pitch.data.download:main"
[project.optional-dependencies]
-train = [
- "basic_pitch[tf]",
+data = [
+ "basic_pitch[tf]",
"apache_beam",
"mirdata",
"smart_open",
"sox"
]
test = [
- "basic_pitch[train]",
+ "basic_pitch[data]",
"coverage>=5.0.2",
"pytest>=6.1.1",
"pytest-mock",
@@ -73,7 +73,7 @@ coreml = ["coremltools"]
onnx = ["onnxruntime"]
docs = ["mkdocs>=1.0.4"]
dev = [
- "basic_pitch[train,test,tf,coreml,onnx,docs]",
+ "basic_pitch[data,test,tf,coreml,onnx,docs]",
"mypy",
"tox",
]