-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotemachine.toml.example
More file actions
76 lines (68 loc) · 1.65 KB
/
notemachine.toml.example
File metadata and controls
76 lines (68 loc) · 1.65 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Unified configuration for notemachine apps and service.
# Copy to one of:
# - ./notemachine.toml
# - ~/.config/notemachine/notemachine.toml
# - /etc/notemachine.toml
# or set: NOTEMACHINE_CONFIG=/path/to/notemachine.toml
[install]
location = "/home/pi/notemachine"
install_service = false
[service]
service_autostart = true
app_module = "notemachine.notemachine"
app_args = "--mode follow"
[runtime]
with_whisplay = true
device = 0
# Shared detector thresholds.
confidence_min = 0.2
hz_min = 95.0
hz_max = 2500.0
rms_min = 0.0035
noise_gate_factor = 3.0
noise_floor_alpha = 0.03
hysteresis_cents = 55.0
buffer_size = 4096
hop_size = 1024
stable_ms = 110
note_off_ms = 1000
min_emit_interval_ms = 30
smooth_window_ms = 100
switch_guard_frames = 1
harmonic_correction = true
use_fft_fallback = true
fft_peak_ratio_min = 24.0
octave_lock = false
calibrate_noise_seconds = 5.0
calibration_margin = 1.05
calibration_percentile = 90.0
calibration_max_gate = 0.12
[notemachine]
mode = "follow"
instrument_profile = "recorder"
target_hold_s = 1.0
large_jump_confirm_ms = 120
show_accidental_overlay = false
accidental_style = "sharp"
show_ghost_notes_overlay = false
manifest_path = "assets/seton2/default_cards/manifest.json"
# Instrument profiles:
# - recorder (default)
# - flute
# - ocarina
# - piano
# - other (generic note mapping, no instrument-specific assumptions)
[tonewatch]
# Override runtime defaults specifically for ToneWatch if desired.
stable_ms = 300
min_emit_interval_ms = 300
smooth_window_ms = 250
switch_guard_frames = 6
noise_gate_factor = 3.6
fft_peak_ratio_min = 12.0
calibration_margin = 1.10
calibration_max_gate = 0.25
[seton2]
xres = 120
yres = 150
ghosts = true