voice_audio_multi/tests/omnivoice/python_cpp_simple/run_server.sh
Fabio c36510c21e
Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
Initial import: audio.cpp with Orange Pi documentation
2026-11-04 19:05:22 +01:00

17 lines
452 B
Bash
Executable file

#!/usr/bin/env bash
set -e
# Starts audiocpp_server with the OmniVoice config in this folder.
# Keep this terminal open.
#
# Run from anywhere. The script resolves the audio.cpp repository root.
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
cd "${REPO_ROOT}"
DEVICE=0
CUDA_VISIBLE_DEVICES=$DEVICE build/bin/audiocpp_server \
--config tests/omnivoice/python_cpp_simple/server.json