Skip to content

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

use tf by default for py>=3.11

David Rubinsteinf5e862d95784
diff --git a/setup.cfg b/setup.cfg
index d4e7594..4f29ca1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -33,16 +33,18 @@ zip_safe = False
packages = find:
include_package_data = True
install_requires =
- coremltools; platform_system == "Darwin"
+ coremltools; platform_system == "Darwin" and python_version < "3.11"
librosa>=0.8.0
mir_eval>=0.6
numpy<1.24,>=1.18
- onnxruntime; platform_system == "Windows"
+ onnxruntime; platform_system == "Windows" and python_version < "3.11"
pretty_midi>=0.2.9
resampy>=0.2.2
scipy>=1.4.1
- tflite-runtime; platform_system == "Linux"
+ tflite-runtime; platform_system == "Linux" and python_version < "3.11"
typing_extensions
+ tensorflow>=2.4.1; platform_system != "Darwin" and python_version >= "3.11"
+ tensorflow-macos>=2.4.1; platform_system == "Darwin" and python_version >= "3.11"
[options.entry_points]
console_scripts =