-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpresstalk.yaml
More file actions
33 lines (26 loc) · 1.07 KB
/
presstalk.yaml
File metadata and controls
33 lines (26 loc) · 1.07 KB
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
33
# PressTalk default configuration (auto‑loaded)
# Precedence: CLI > environment variables > this YAML > built‑ins
# ASR language code (e.g., ja, en)
language: ja
# Faster‑Whisper model size/name (e.g., tiny, base, small, medium)
model: small
# Audio capture (PCM)
sample_rate: 16000 # Hz
channels: 1 # mono=1, stereo=2 (mono recommended)
# Capture behavior tuning (milliseconds)
prebuffer_ms: 200 # push this much buffered audio at press start (pre‑roll)
min_capture_ms: 1800 # enforce minimum capture length to avoid short taps
# PTT interaction
mode: hold # hold = press to hold, toggle = tap to start/stop
hotkey: ctrl+space # default combo; supports combos like ctrl+shift+x
# Audio feedback (system beep)
audio_feedback: true
# Paste behavior (macOS)
paste_guard: true # if true, skip paste when frontmost app matches blocklist
paste_blocklist: # names or bundle IDs (case‑insensitive substring match)
- Terminal
- iTerm2
- com.apple.Terminal
- com.googlecode.iterm2
show_logo: true
logo_style: standard # standard (ASCII art) or simple