-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (62 loc) · 2.39 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (62 loc) · 2.39 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
[project]
authors = [{name = "Ethycs", email = "Ethycs@users.noreply.github.com"}]
name = "symcrash_python_AP"
requires-python = ">= 3.11"
version = "0.1.0"
dependencies = ["sounddevice>=0.5.3,<0.6", "imgui-bundle>=1.92.5,<2", "python-osc>=1.9.3,<2", "ruamel.yaml>=0.18,<0.19"]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64"]
[tool.pixi.pypi-dependencies]
symcrash_python_ap = { path = ".", editable = true }
[tool.pixi.tasks]
# === Live Synth Tasks ===
# Hardware control via Pico2 potentiometers (console only)
live-synth = "python tools/pico2_live_synth.py"
# Hardware control + ImGui window for visual feedback
live-synth-imgui = "python tools/pico2_live_synth.py --imgui"
# === Virtual Synth Tasks (no hardware needed) ===
# Virtual synth with ImGui knobs for control
virtual-synth = "python tools/pico2_live_synth.py --no-hardware --imgui"
# Virtual synth with multiprocessing (lower latency, no ImGui)
virtual-synth-mp = "python tools/virtual_synth_mp.py"
# === Standalone Tools ===
# ImGui control panel (standalone, sends UART to hardware)
imgui-controls = "python -m symcrash_imgui_controls"
# OSC tuning workbench (Open Stage Control front-end)
workbench = "python -m symcrash_workbench"
# === Development Tasks ===
test = "python -m pytest tests/ -v"
lint = "python tools/lint_presets.py presets/instruments/ -v"
render-all = "python tools/render/render_all_presets.py"
score-audio = "python tools/gym/timbre_distance.py"
auto-refine = "python tools/gym/auto_refine.py"
dx7-core-refine = "python tools/gym/dx7_core_refine.py"
[tool.pixi.feature.scoring.tasks]
zimtohrli-worker = "python tools/gym/zimtohrli_worker.py"
[tool.pixi.dependencies]
python = ">=3.14.2,<3.15"
numpy = ">=2.3.5,<3"
pytest = ">=9.0.2,<10"
pyserial = ">=3.5,<4"
numba = ">=0.60.0,<1"
scipy = ">=1.16.3,<2"
pyyaml = ">=6.0.3,<7"
[tool.pixi.feature.scoring.target.linux-64.dependencies]
python = "3.12.*"
numpy = "*"
[tool.pixi.feature.scoring.target.linux-64.pypi-dependencies]
zimtohrli = "==0.2.1.post1"
[tool.pixi.feature.dexed.target.linux-64.dependencies]
python = "3.12.*"
numpy = "*"
[tool.pixi.feature.dexed.target.linux-64.pypi-dependencies]
pedalboard = "*"
mido = "*"
soundfile = "*"
[tool.pixi.environments]
scoring = { features = ["scoring"], no-default-feature = true }
dexed = { features = ["dexed"], no-default-feature = true }