Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (118 loc) · 6.25 KB
/
Copy pathpyproject.toml
File metadata and controls
133 lines (118 loc) · 6.25 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[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/synth/pico2_live_synth.py"
# Hardware control + ImGui window for visual feedback
live-synth-imgui = "python tools/synth/pico2_live_synth.py --imgui"
# === Virtual Synth Tasks (no hardware needed) ===
# Virtual synth with ImGui knobs for control
virtual-synth = "python tools/synth/pico2_live_synth.py --no-hardware --imgui"
# Virtual synth with multiprocessing (lower latency, no ImGui)
virtual-synth-mp = "python tools/synth/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"
# Portable Windows UI bootstrap/launcher (installed under ignored .pixi/)
workbench-ui = "pwsh -NoProfile -File tools/workbench/launch_open_stage_control.ps1"
# === Development Tasks ===
test = "python -m pytest tests/ -v"
check-hardware-resources = "python tools/check_hardware_resources.py"
check-hdl = "python tools/check_hdl_idwpt.py"
synth-hdl = "python tools/synth_hdl_idwpt.py"
route-hdl = "python tools/route_hdl_idwpt.py"
check-hdl-dma = "python tools/check_hdl_dma.py"
check-hdl-dma-bounds = "python tools/check_hdl_dma_bounds.py"
check-hdl-control = "python tools/check_hdl_control.py"
check-hdl-owner-pipeline = "python tools/check_hdl_owner_pipeline.py"
check-hdl-owner-mapping = "python tools/check_hdl_owner_mapping.py"
check-hdl-idwpt-runtime = "python tools/check_hdl_idwpt_runtime.py"
check-hdl-runtime-matrix = "python tools/check_hdl_runtime_matrix.py"
check-hdl-runtime-output = "python tools/check_hdl_runtime_output.py"
check-hdl-runtime-control = "python tools/check_hdl_runtime_control.py"
check-hdl-runtime-mapping = "python tools/check_hdl_runtime_mapping.py"
synth-hdl-idwpt-runtime = "python tools/build_hdl_idwpt_runtime.py synth"
route-hdl-idwpt-runtime = "python tools/build_hdl_idwpt_runtime.py route"
check-hdl-runtime-transport = "python tools/check_hdl_runtime_transport.py"
check-hdl-runtime-transport-proofs = "python tools/check_hdl_runtime_transport_proofs.py"
check-hdl-runtime-transport-mapping = "python tools/check_hdl_runtime_transport_mapping.py"
synth-hdl-runtime-stream = "python tools/build_hdl_runtime_transport.py stream synth"
route-hdl-runtime-stream = "python tools/build_hdl_runtime_transport.py stream route"
synth-hdl-runtime-window = "python tools/build_hdl_runtime_transport.py window synth"
route-hdl-runtime-window = "python tools/build_hdl_runtime_transport.py window route"
check-hdl-voice-cache = "python tools/check_hdl_voice_cache.py"
check-hdl-voice-cache-control = "python tools/check_hdl_voice_cache_control.py"
check-hdl-voice-cache-mapping = "python tools/check_hdl_voice_cache_mapping.py"
synth-hdl-voice-cache = "python tools/build_hdl_voice_cache.py synth"
route-hdl-voice-cache = "python tools/build_hdl_voice_cache.py route"
check-hdl-voice-cache-ports = "python tools/check_hdl_voice_cache_ports.py --source src/symcrash_verilog/voice_state_cache.v"
check-hdl-voice-stream = "python tools/check_hdl_voice_stream.py"
check-hdl-vm-page = "python tools/check_hdl_vm_page.py"
check-hdl-voice-stream-dense = "python tools/check_hdl_voice_stream_dense.py"
check-hdl-voice-stream-negatives = "python tools/check_hdl_voice_stream_mutations.py"
check-hdl-voice-stream-proofs = "python tools/check_hdl_voice_stream_proofs.py"
check-hdl-voice-stream-mapping = "python tools/check_hdl_voice_stream_mapping.py"
synth-hdl-voice-stream = "python tools/build_hdl_voice_stream.py synth"
route-hdl-voice-stream = "python tools/build_hdl_voice_stream.py route"
check-hdl-fifo = "python tools/check_hdl_fifo.py"
synth-hdl-dma = "python tools/build_hdl_dma.py synth"
route-hdl-dma = "python tools/build_hdl_dma.py route"
check-hdl-dma-priority = "python tools/check_hdl_dma_priority.py"
synth-hdl-dma-priority = "python tools/build_hdl_dma_priority.py synth"
route-hdl-dma-priority = "python tools/build_hdl_dma_priority.py route"
check-hdl-coeff-buffers = "python tools/check_hdl_coeff_buffers.py"
synth-hdl-coeff-buffers = "python tools/build_hdl_coeff_buffers.py synth"
route-hdl-coeff-buffers = "python tools/build_hdl_coeff_buffers.py route"
check-hdl-ccs-stream = "python tools/check_hdl_ccs_stream.py"
synth-hdl-ccs-stream = "python tools/build_hdl_ccs_stream.py synth"
route-hdl-ccs-stream = "python tools/build_hdl_ccs_stream.py route"
check-hdl-dma-window = "python tools/check_hdl_dma_window.py"
synth-hdl-dma-window = "python tools/build_hdl_dma_window.py synth"
route-hdl-dma-window = "python tools/build_hdl_dma_window.py route"
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 }
[tool.pytest.ini_options]
filterwarnings = ["error::pytest.PytestReturnNotNoneWarning"]