Skip to content

Commit 3b8fd6b

Browse files
committed
update readme
1 parent ce61838 commit 3b8fd6b

File tree

2 files changed

+39
-36
lines changed

2 files changed

+39
-36
lines changed

docs/audio-recording.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,13 @@ Cinemate records audio alongside the image sequence. Audio is written as `.wav`
1010

1111
## .asoundrc Setup
1212

13-
For `dsnoop` support, create a `~/etc/asound.conf`:
13+
For `dsnoop` support, create a `/etc/asound.conf`:
1414

1515
```bash
1616

1717
sudo tee /etc/asound.conf >/dev/null <<'EOF'
18-
# --- Hardware handle (use stable card name; change "NTG" if your card shows a different name in `arecord -l`)
19-
pcm.mic_hw {
20-
type hw
21-
card "NTG"
22-
device 0
23-
}
24-
25-
# --- One shared dsnoop backend pinned to the mic's native mode (RØDE NTG: S24_3LE @ 48k, stereo)
26-
pcm.mic_dsnoop {
18+
# RODE NTG path (24-bit stereo)
19+
pcm.mic_dsnoop_24 {
2720
type dsnoop
2821
ipc_key 5978
2922
ipc_perm 0666
@@ -38,16 +31,24 @@ pcm.mic_dsnoop {
3831
bindings.1 1
3932
}
4033
41-
# --- Front-ends: let plug adapt whatever the app asks for (stereo 24-bit or mono 16-bit)
42-
pcm.mic_24bit {
43-
type plug
44-
slave.pcm "mic_dsnoop"
34+
# Cheap USB path (16-bit mono)
35+
pcm.mic_dsnoop_16 {
36+
type dsnoop
37+
ipc_key 5979
38+
ipc_perm 0666
39+
ipc_key_add_uid false
40+
slave {
41+
pcm "hw:CARD=Device,DEV=0"
42+
format S16_LE
43+
rate 48000
44+
channels 1
45+
}
46+
bindings.0 0
4547
}
4648
47-
pcm.mic_16bit {
48-
type plug
49-
slave.pcm "mic_dsnoop"
50-
}
49+
pcm.mic_24bit { type plug; slave.pcm "mic_dsnoop_24" }
50+
pcm.mic_16bit { type plug; slave.pcm "mic_dsnoop_16" }
51+
5152
EOF
5253

5354
```

docs/installation-steps.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,13 @@ EOF
8686

8787
### .asoundrc Setup
8888

89-
For `dsnoop` support, create a `~/etc/asound.conf`:
89+
For `dsnoop` support, create a `/etc/asound.conf`:
9090

9191
```bash
9292

9393
sudo tee /etc/asound.conf >/dev/null <<'EOF'
94-
# --- Hardware handle (use stable card name; change "NTG" if your card shows a different name in `arecord -l`)
95-
pcm.mic_hw {
96-
type hw
97-
card "NTG"
98-
device 0
99-
}
100-
101-
# --- One shared dsnoop backend pinned to the mic's native mode (RØDE NTG: S24_3LE @ 48k, stereo)
102-
pcm.mic_dsnoop {
94+
# RODE NTG path (24-bit stereo)
95+
pcm.mic_dsnoop_24 {
10396
type dsnoop
10497
ipc_key 5978
10598
ipc_perm 0666
@@ -114,16 +107,25 @@ pcm.mic_dsnoop {
114107
bindings.1 1
115108
}
116109
117-
# --- Front-ends: let plug adapt whatever the app asks for (stereo 24-bit or mono 16-bit)
118-
pcm.mic_24bit {
119-
type plug
120-
slave.pcm "mic_dsnoop"
110+
# Cheap USB path (16-bit mono)
111+
pcm.mic_dsnoop_16 {
112+
type dsnoop
113+
ipc_key 5979
114+
ipc_perm 0666
115+
ipc_key_add_uid false
116+
slave {
117+
pcm "hw:CARD=Device,DEV=0"
118+
format S16_LE
119+
rate 48000
120+
channels 1
121+
}
122+
bindings.0 0
121123
}
122124
123-
pcm.mic_16bit {
124-
type plug
125-
slave.pcm "mic_dsnoop"
126-
}
125+
pcm.mic_24bit { type plug; slave.pcm "mic_dsnoop_24" }
126+
pcm.mic_16bit { type plug; slave.pcm "mic_dsnoop_16" }
127+
128+
127129
EOF
128130

129131
```

0 commit comments

Comments
 (0)