-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bat
More file actions
32 lines (26 loc) · 897 Bytes
/
run.bat
File metadata and controls
32 lines (26 loc) · 897 Bytes
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
@echo off
REM Launch Compose VST standalone (Rust audio + Compose UI)
REM Usage:
REM run.bat default 440Hz sine
REM run.bat --tone noise white noise
REM run.bat --tone sweep frequency sweep
REM run.bat --wav sample.wav loop a WAV file
REM Close this window to shut everything down.
setlocal
set SCRIPT_DIR=%~dp0
echo ▶ Starting Rust audio engine...
cd /d "%SCRIPT_DIR%plugin"
start "ComposeVST-Audio" /B cargo run --features standalone --bin compose-vst-standalone -- %*
REM Give the Rust IPC server a moment to bind
timeout /t 2 /nobreak >nul
echo ▶ Starting Compose UI...
cd /d "%SCRIPT_DIR%ui"
if not exist gradlew.bat (
echo (generating Gradle wrapper...)
call gradle wrapper
)
start "ComposeVST-UI" /B gradlew.bat run
echo.
echo ✅ Both running. Close this window to stop.
echo.
pause >nul