-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.jsonc
More file actions
46 lines (37 loc) · 1.24 KB
/
Copy pathconfig.example.jsonc
File metadata and controls
46 lines (37 loc) · 1.24 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
// ~/.config/ac/config.json
//
// Created and managed by `ac` commands.
// This file does not exist until you run your first ac command.
//
// From scratch:
// ac setup output 11 input 0 # creates config.json with device/channel settings
// ac new my-amp # sets "session" key, creates session directory
//
{
// Audio device index (from `ac devices`)
"device": 0,
// Channel indices for playback and capture
"output_channel": 11,
"input_channel": 0,
// Sticky JACK port names — auto-populated during setup when using JACK
"output_port": null,
"input_port": null,
// Audio backend: "jack", "sounddevice", or null (auto-detect)
"backend": null,
// Active session name
// Set by: ac new <name>, ac use <name>
// Cleared by: ac rm <name> (if it was the active one)
"session": "my-amp",
// 0 dBu reference voltage in Vrms (default: sqrt(0.001 * 600))
"dbu_ref_vrms": 0.77459667,
// Default sweep range
"range_start_hz": 20.0,
"range_stop_hz": 20000.0,
// Optional: DMM host for remote calibration
"dmm_host": null,
// Optional: serial port for GPIO relay control
"gpio_port": null,
// ZMQ server settings (for remote operation)
"server_enabled": false,
"server_host": "localhost"
}