Modals & Complete Shortcut Reference
cspa-tui-demo includes two full-featured interactive overlay modals (Add Capture Sources and OS Recording Permissions & Consent), mutually exclusive so keyboard navigation stays unambiguous.
1. Modal A — Add Capture Sources ( A A A A A A )
Section titled “1. Modal A — Add Capture Sources ()”Opening Add Capture Sources starts a bounded 256-event DiscoverySubscription matching the active modal filters so newly launched apps, plugged-in USB headsets, and PLAYING IDLE state transitions update live without manual refreshes.
Top Tabs & Search / Filter Row
Section titled “Top Tabs & Search / Filter Row”- 4 Live Category Tabs (click tab or cycle with
Tab Tab Tab Tab Tab Tab —SwitchModalTab):Apps (Tree)(ModalTab::Applications): Top-level desktop applications with child audio helpers rolled up automatically.Processes(ModalTab::Processes): Individual OS processes (PID+ executable path).Output Devs(ModalTab::OutputDevices):🔊 DEFAULT(Default System Output) + named🔈 ENDPOINTrender devices.Microphones(ModalTab::Microphones):🎤 DEFAULT(Default Microphone) + physical/virtual🎙 MIC INendpoints (.monitorloopback sinks excluded).
- Search & Quick Filters:
Search (/): [ ..._ ](Slash / Slash / Slash / or click to focusFocusModalSearch; type to filter by name, PID, app ID, or path;Enter Enter Enter Enter Enter Enter orEscape Escape Escape Escape Escape Escape unfocuses search;[Clear]resets viaClearModalSearch).[x] AudioOnly(F)(F F F F F F or click,ToggleModalAudioOnly) — hides non-audio background processes.[x] PlayingOnly(P)(P P P P P P or click,ToggleModalPlayingOnly) — filters to applications/processes actively outputting audio right now (🔊 PLAYING).[Refresh](click,RefreshModalDiscovery) — forces an immediate OS inventory rescan.
DiscoveryQuery Bar
Section titled “DiscoveryQuery Bar”[Backend: All (B)](B B B B B B or click,CycleModalBackendFilter) — cyclesAllindividual OS backends (WASAPI,PW,PA,CA,SCK).[Dedupe: Logical / PerBackend (U)](U U U U U U or click,ToggleModalDedupe) — switches betweenByLogicalTargetdeduplication and raw<backend>:<kind>:...PerBackendrows.[Order: Kind->Bk / Bk->Kind (O)](O O O O O O or click,ToggleModalOrder) — togglesKindThenBackendvsBackendThenKindsorting.
Candidate List, Contextual Consent Pill & Mouse Hover Inspector
Section titled “Candidate List, Contextual Consent Pill & Mouse Hover Inspector”- Multi-Select: Move cursor with
ArrowUp ArrowUp ArrowUp ArrowUp ArrowUp ArrowUp /ArrowDown ArrowDown ArrowDown ArrowDown ArrowDown ArrowDown , toggle[x]withSpace Space Space Space Space Space or mouse click (ToggleModalCandidate), and pressEnter Enter Enter Enter Enter Enter or click[ + Add N Selected (Enter) ](ConfirmAddModalCandidates). PressingEnter Enter Enter Enter Enter Enter with0boxes checked automatically adds the highlighted cursor row! - Mouse Hover Metadata Popup: Hovering the mouse cursor over any candidate row opens a floating rounded inspector card showing untruncated
Name, canonicalTarget ID,Pinned&Availablebackends,App ID/Device ID,PID+start_timegeneration, wrappedPath, default policy, and live OSPermissionstatus! - Active-Tab Consent Pill (
G G G G G G ): Displays[Perm Mic/SysAudio/ScreenRec: OK (K)],[Grant ... (G)](requests consent for that tab’s permission domain in the background!), or[...:Settings (G)](opens OS Privacy Settings when denied).
2. Modal B — OS Recording Permissions & Consent ( K K K K K K )
Section titled “2. Modal B — OS Recording Permissions & Consent ()”Backed by a non-blocking single-flight PermissionRunner so the 30 FPS UI never freezes while macOS TCC or OS Settings dialogs are open:
- Header Controls:
[Policy: AutoRequest / CheckOnly (P)](P P P P P P or click,TogglePermissionPolicy) — setsCaptureRequest::with_permission_policy(...).[x] Open OS Settings on Denial (O)(O O O O O O or click,ToggleOpenSettingsFallback) — controlsopen_settings_if_deniedwhen requesting permissions.[Close (Esc)](Escape Escape Escape Escape Escape Escape orK K K K K K ,ClosePermissionsModal).
- Global Actions:
[Re-Check States (C)](C C C C C C or click,RefreshPermissions) — runs non-promptingcheck_permissions.[ Request Required for Staged (R / Enter) ](R R R R R R ,Enter Enter Enter Enter Enter Enter , or click,RequestRequiredPermissions) — prompts for all consent domains required by currently checked staged sources.
- Per-Domain Consent Table (
1 1 1 1 1 1 ,2 2 2 2 2 2 ,3 3 3 3 3 3 ):- Row
1(Microphone), Row2(SystemAudio), Row3(ScreenRecording): shows* REQUIREDvsoptional, 5-stateState(GRANTED,NOT DETERMINED,DENIED,RESTRICTED,UNKNOWN (Unprobed)),Prompt,Relaunch, and context-sensitive action button ([Ask OS (1..3)],[Probe (2)]for unprobed macOS14.2+Core Audio taps, or[Settgs (1..3)]viaRequestDomainPermission/OpenDomainSettings), followed by platform-specific diagnostic guidance for Windows (ConsentStore/ GPO), macOS (Info.plist, SSH console, TCC relaunch), and Linux (PipeWire/PulseAudiosockets & Flatpak).
- Row
3. Complete Keyboard Shortcut Matrix
Section titled “3. Complete Keyboard Shortcut Matrix”Main Studio View
Section titled “Main Studio View”| Shortcut | Action |
|---|---|
| |
Open Add Capture Sources modal (OpenAddSourceModal) |
| |
Open OS Recording Permissions & Consent modal (OpenPermissionsModal) |
| |
Start or stop recording into a RAM MemoryTake (ToggleRecordStop) |
| |
Stop active recording, or stop active take playback (StopPlayback) |
| |
Play or pause the selected RAM MemoryTake (PlayPauseSelectedTake) |
| |
Export the selected MemoryTake to ./recordings/*.wav (SaveSelectedTakeWav) |
| |
Cycle [3] Live Spectroscope mode (FFT Spectrum Waterfall Map Oscilloscope) |
| |
Toggle visual live monitoring ON / OFF (ToggleLiveMonitor) |
| |
Toggle synthetic multi-tone signal generator ON / OFF (ToggleSyntheticSignal) |
| |
Cycle session CombineMode (Auto NativeOnly CspaMixer) |
| |
Move selection cursor > in [1] Staged Audio Sources |
| |
Enable / disable the selected staged source row (live hot-swap!) |
| |
Cycle pinned backend on the selected staged source (CycleStagedBackend) |
| |
Cycle static gain (1.0x, 0.5x, 1.5x, 0.25x) on the selected staged source (CycleStagedGain) |
| |
Duplicate (+2x) the selected staged source (DuplicateStagedSource) |
| |
Remove the selected staged source row (RemoveStagedSource) |
| |
Select previous / next recorded MemoryTake in Panel [5] |
| |
Seek playback -5% / +5% in the selected MemoryTake |
| |
Exit cspa-tui-demo cleanly |
Add Capture Sources Modal ( A A A A A A )
Section titled “Add Capture Sources Modal ()”| Shortcut | Action |
|---|---|
| |
Cycle modal tabs (Apps (Tree) Processes Output Devs Microphones) |
| |
Focus live search box (Enter or Esc exits search input) |
| |
Toggle [x] AudioOnly(F) filter |
| |
Toggle [x] PlayingOnly(P) filter |
| |
Cycle [Backend: ... (B)] filter |
| |
Toggle [Dedupe: Logical / PerBackend (U)] |
| |
Toggle [Order: Kind->Bk / Bk->Kind (O)] |
| |
Request consent (or open OS Settings) for the active tab’s permission domain |
| |
Switch directly to the OS Recording Permissions & Consent modal |
| |
Navigate candidate rows |
| |
Toggle candidate [x] selection |
| |
Stage all checked candidates (or cursor row if none checked) and close modal |
| |
Cancel and close modal (CloseModal) |
OS Recording Permissions & Consent Modal ( K K K K K K )
Section titled “OS Recording Permissions & Consent Modal ()”| Shortcut | Action |
|---|---|
| |
Toggle PermissionPolicy (AutoRequest CheckOnly) |
| |
Toggle [x] Open OS Settings on Denial (O) |
| |
Re-check all OS permission states (RefreshPermissions) |
| |
Request all permissions required by staged sources (RequestRequiredPermissions) |
| |
Trigger per-domain Ask / Probe / Open Settings for Microphone (1), SystemAudio (2), or ScreenRecording (3) |
| |
Close permissions modal (ClosePermissionsModal) |
| |
Quit cspa-tui-demo |