Skip to content

Commit db4dfb8

Browse files
author
Yakov Tchenak
committed
docs(readme): orient mermaid diagram top-to-bottom
GitHub's mermaid viewer overlays pan/zoom controls in the top-right and middle-right; a wide LR diagram sits under those controls. Switching to TB makes the diagram tall and narrow, leaving the right margin free for the overlay.
1 parent 2e67135 commit db4dfb8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,28 @@ cargo build --release
5858
## How it works
5959

6060
```mermaid
61-
flowchart LR
61+
flowchart TB
6262
MIC["🎙️ Microphone<br/>(any native format)"]
63-
SYS["🖥️ System audio<br/>(stereo f32 @ 48 kHz typical)"]
63+
SYS["🖥️ System audio<br/>(stereo f32 @ 48 kHz)"]
6464
6565
subgraph WASAMIX["wasamix process"]
66-
direction LR
66+
direction TB
6767
MCAP["mic capture thread<br/>WASAPI + AUTOCONVERTPCM"]
6868
LCAP["loopback capture thread<br/>WASAPI loopback"]
6969
MBUF[("mic ring buffer<br/>2 s · mono i16 @ 48 kHz")]
7070
LBUF[("loopback ring buffer<br/>2 s · mono i16 @ 48 kHz")]
7171
MIX{{"mix_samples<br/>sum + clamp to i16"}}
7272
REND["render thread<br/>WASAPI + AUTOCONVERTPCM"]
7373
74-
MCAP -->|mono i16| MBUF
75-
LCAP -->|converted to mono i16| LBUF
74+
MCAP --> MBUF
75+
LCAP --> LBUF
7676
MBUF --> MIX
7777
LBUF --> MIX
78-
MIX -->|mono i16 @ 48 kHz| REND
78+
MIX --> REND
7979
end
8080
8181
CABLE["🔌 VB-Cable<br/>CABLE Input"]
82-
APP["🎧 Recording app<br/>(Otter, OBS, Zoom, …)<br/>selects CABLE Output"]
82+
APP["🎧 Recording app<br/>Otter · OBS · Zoom · …"]
8383
8484
MIC --> MCAP
8585
SYS --> LCAP

0 commit comments

Comments
 (0)