-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVoiceCommand.cs
More file actions
25 lines (23 loc) · 961 Bytes
/
Copy pathVoiceCommand.cs
File metadata and controls
25 lines (23 loc) · 961 Bytes
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
namespace VoiceCommander;
public sealed class VoiceCommand
{
public Guid Id { get; set; } = Guid.NewGuid();
public string DisplayName { get; set; } = "";
public string ExecutablePath { get; set; } = "";
public string? TargetExecutablePath { get; set; }
public string Arguments { get; set; } = "";
public string ProcessName { get; set; } = "";
public List<string> VoiceSamples { get; set; } = [];
public List<float[]> DeepTemplates { get; set; } = [];
public string? BrowserProfileDirectory { get; set; }
public string? BrowserProfileName { get; set; }
public string? WindowTitleHint { get; set; }
}
public sealed class AppSettings
{
public List<VoiceCommand> Commands { get; set; } = [];
public bool StartWithWindows { get; set; }
public bool ListeningEnabled { get; set; } = true;
public int MicrophoneGainPercent { get; set; } = 150;
public int DeepMatchThresholdPercent { get; set; } = 82;
}