- Dockerfile.social: social-bot container with faster-whisper, llama-cpp-python (CUDA), piper-tts, insightface, pyannote.audio, OpenWakeWord, pyaudio - scripts/convert_models.sh: TRT FP16 conversion for SCRFD-10GF, ArcFace-R100, ECAPA-TDNN; CTranslate2 setup for Whisper; Piper voice download; benchmark suite - config/asound.conf: ALSA USB mic (card1) + USB speaker (card2) config - models/README.md: version-pinned model table, /models/ layout, perf targets - systemd/: saltybot-social.service + saltybot.target + install_systemd.sh - docker-compose.yml: saltybot-social service with GPU, audio device passthrough, NVMe volume mounts for /models and /social_db Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
39 lines
685 B
Plaintext
39 lines
685 B
Plaintext
# ALSA config for social-bot audio
|
|
# Assumes USB mic (ReSpeaker or similar) at card 1, USB speaker at card 2
|
|
# Adjust card numbers with: aplay -l / arecord -l
|
|
|
|
# Default capture device — USB mic array (ReSpeaker 2-Mic or 4-Mic)
|
|
pcm.!default {
|
|
type asym
|
|
playback.pcm "usb_speaker"
|
|
capture.pcm "usb_mic"
|
|
}
|
|
|
|
# USB microphone input
|
|
pcm.usb_mic {
|
|
type plug
|
|
slave {
|
|
pcm "hw:1,0"
|
|
rate 16000
|
|
channels 1
|
|
format S16_LE
|
|
}
|
|
}
|
|
|
|
# USB speaker output
|
|
pcm.usb_speaker {
|
|
type plug
|
|
slave {
|
|
pcm "hw:2,0"
|
|
rate 22050
|
|
channels 1
|
|
format S16_LE
|
|
}
|
|
}
|
|
|
|
# Mixer controls
|
|
ctl.!default {
|
|
type hw
|
|
card 1
|
|
}
|