Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 99e73ea653 | |||
| ab1784f5e1 |
+17
-8
@@ -41,18 +41,27 @@ Requires=maven-voice-tunnel.service
|
|||||||
After=maven-voice-tunnel.service
|
After=maven-voice-tunnel.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# card 0 is the fifine USB microphone. Named, and not "default", because the
|
# The Scarlett Solo 4th Gen, and not the fifine. The fifine was the device
|
||||||
# default device follows whatever pipewire last decided and this daemon should
|
# here for three days and mavwaked never logged one utterance in them, because
|
||||||
# not change ears when he plugs in a headset.
|
# it returns RMS 0.00004 with its capture switch on and its ALSA volume at the
|
||||||
|
# full 496 of 496. That silence is in the hardware, so no flag reaches it.
|
||||||
|
#
|
||||||
|
# Named CARD=Gen and not card 4, because a USB card number moves when
|
||||||
|
# something else is replugged and this daemon must not change ears quietly.
|
||||||
|
# Not "default" either: that follows whatever pipewire last decided.
|
||||||
#
|
#
|
||||||
# plughw and not hw. mavwaked asks arecord for 16kHz mono, which is what the
|
# plughw and not hw. mavwaked asks arecord for 16kHz mono, which is what the
|
||||||
# whole pipeline is canonical in. The fifine offers 2 channels at 44100 or
|
# whole pipeline is canonical in. Neither microphone offers it, so bare hw
|
||||||
# 48000 and nothing else, so bare hw:0,0 dies on "Channels count non
|
# dies on "Channels count non available" before a frame is read. plughw puts
|
||||||
# available" before a frame is read. plughw puts ALSA's downmix and resampler
|
# ALSA's downmix and resampler in front. Any replacement wants the same.
|
||||||
# in front. Any replacement microphone wants the same treatment.
|
#
|
||||||
|
# The Scarlett measured RMS 0.003 against 0.14 on the onboard input, so its
|
||||||
|
# front-panel gain is the thing to raise if she mishears. That is a knob, not
|
||||||
|
# a control ALSA exposes. The two loud devices, the onboard ALC897 and the
|
||||||
|
# camera, both clip at peak 1.0 and are worse candidates, not better ones.
|
||||||
Environment=LD_LIBRARY_PATH=%h/.local/lib
|
Environment=LD_LIBRARY_PATH=%h/.local/lib
|
||||||
ExecStart=%h/.local/bin/mavwaked \
|
ExecStart=%h/.local/bin/mavwaked \
|
||||||
-device plughw:0,0 \
|
-device plughw:CARD=Gen,DEV=0 \
|
||||||
-addr 127.0.0.1:9100 \
|
-addr 127.0.0.1:9100 \
|
||||||
-lang ru \
|
-lang ru \
|
||||||
-vad-model %h/.local/share/maven/models/silero_vad.onnx \
|
-vad-model %h/.local/share/maven/models/silero_vad.onnx \
|
||||||
|
|||||||
Reference in New Issue
Block a user