c38a7b0fd8
New files:
main.py - PedalApp: boots all subsystems in order,
wires MIDI/footswitch callbacks, graceful
teardown reverses boot order
src/system/config.py - YAML config loader with deep-merge
(separated to avoid hardware deps)
src/system/services.py - systemd unit generator for pedal.service
+ multi-fx-pedal.target
scripts/install_service.sh - copies project, creates venv, installs
+ enables service units
tests/test_integration.py - 41 tests: boot, routing, display sync,
teardown, systemd content, CLI, edge cases
Modified:
tests/conftest.py - add project root to sys.path
31 lines
501 B
Plaintext
31 lines
501 B
Plaintext
# Pi Multi-FX Pedal — Requirements
|
|
# Core audio
|
|
jackclient-python>=0.5.5
|
|
numpy>=1.24
|
|
|
|
# NAM inference (on RPi 4B aarch64)
|
|
# libtorch via nam Python package
|
|
neural-amp-modeler>=0.8.0
|
|
|
|
# IR convolution
|
|
# scipy for wav/IR file loading
|
|
scipy>=1.10
|
|
|
|
# UI
|
|
RPi.GPIO>=0.7.1
|
|
adafruit-circuitpython-ssd1306>=2.12
|
|
adafruit-circuitpython-neopixel>=6.3
|
|
pillow>=10.0
|
|
|
|
# MIDI
|
|
python-rtmidi>=1.5
|
|
pyserial>=3.5
|
|
|
|
# Config & presets
|
|
pyyaml>=6.0
|
|
orjson>=3.9
|
|
|
|
# Testing
|
|
pytest>=7.4
|
|
pytest-asyncio>=0.21
|
|
pytest-mock>=3.11 |