Phase 2: native_render Python client (bridge --render) + SF_RENDER_ENGINE flag cho preview/midi-render

This commit is contained in:
2026-08-17 10:49:54 +07:00
parent bbb11f8066
commit 235dee103d
5 changed files with 238 additions and 4 deletions
+6
View File
@@ -67,4 +67,10 @@ class Settings:
# storage (Windows desktop).
PRESET_DIR: str = os.path.join(STORAGE_DIR, "presets")
# Render engine offline (preview/export VSTi): 'pedalboard' (cũ, GPL-3.0)
# hoặc 'bridge' (native_bridge --render, MIT). Mặc định pedalboard trong
# giai đoạn chuyển; đảo sang 'bridge' ở phase 5
# (PLAN_REPLACE_PEDALBOARD_NATIVE_BRIDGE.md).
RENDER_ENGINE: str = os.getenv("SF_RENDER_ENGINE", "pedalboard")
settings = Settings()