device selection?
when i minutes record it says INFO using audio input device device=default
but how to change the audio input device? neither minutes setup --help nor minutes record --help says anything about how to do this.
i'm on linux. note the output below, various devices can't be opened (but it doesn't say why?), and then the audio devices listed, it's very ambiguous what those are. According to pwvucontrol (GUI app for pipewire) i have 3 input devices. 2 built-in ones, and a USB microphone. i don't see a "monitor" device anywhere.
$ minutes setup
Model already downloaded: /home/dieter/.minutes/models/ggml-small.bin (465 MB)
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) [error.pcm] unable to open slave
ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) [error.] Cannot open device /dev/dsp
ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) [error.] Cannot open device /dev/dsp
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) [error.pcm] unable to open slave
Available audio input devices:
sysdefault (44100Hz, 2 ch)
lavrate (44100Hz, 2 ch)
samplerate (44100Hz, 2 ch)
speexrate (44100Hz, 2 ch)
jack (48000Hz, 2 ch)
pipewire (44100Hz, 2 ch)
pulse (44100Hz, 2 ch)
speex (44100Hz, 1 ch)
upmix (44100Hz, 2 ch)
vdownmix (44100Hz, 6 ch)
default (44100Hz, 2 ch)
sysdefault:CARD=Default (44100Hz, 2 ch)
front:CARD=Default,DEV=0 (44100Hz, 1 ch)
Good catch — device selection isn't exposed yet. Right now it always uses the system default input device (via cpal's default_input_device()).
The fix would be:
- Add
deviceto[recording]in~/.config/minutes/config.toml(match by name substring) - Add
--device <name>flag tominutes record/minutes live - Make
minutes setupshow device indices so you can reference them easily
In the meantime, the workaround on Linux is to set your preferred input device as the system default via PipeWire/PulseAudio before recording:
# List sources
pactl list short sources
# Set default (use the name from the list above)
pactl set-default-source <source-name>
# Then record
minutes record
RE the ALSA errors — those are harmless noise from cpal probing devices that don't exist on your system (/dev/dsp is OSS, not ALSA). They don't affect recording.
Labeling this as an enhancement — will add device selection in a future release.
related question (btw there doesn't seem to be a way to ask questions via github discussions or discord, so i'll do it here): i saw your recommendation for using a monitoring device. i would typically want to capture my own voice (i have a headset with mic), but this signal is not routed to any of my own outputs or monitor devices, and also other people in a meeting. therefore any monitoring device would only have the other meeting attendants, not myself. am i missing something?
Good question. Minutes captures from a microphone input — not a monitor/loopback device. So your headset mic is the right device to use when you want your voice transcribed.
For capturing both sides of a call (your mic + remote participants):
Linux (PipeWire/PulseAudio): Create a virtual sink that mixes your mic and system audio, then point Minutes at it:
# Create a combined virtual source
pactl load-module module-null-sink sink_name=minutes_combined sink_properties=device.description="Minutes_Combined"
pactl load-module module-loopback source=<your-mic-source> sink=minutes_combined latency_msec=1
pactl load-module module-loopback source=<your-speaker-monitor> sink=minutes_combined latency_msec=1
# Set it as default, then record
pactl set-default-source minutes_combined.monitor
minutes record
Replace <your-mic-source> and <your-speaker-monitor> with names from pactl list short sources.
macOS: Use BlackHole to create a Multi-Output device that captures both sides (this is what most macOS users do).
Once device selection (#34) is implemented, you'll be able to point directly at the combined device without changing system defaults.
The `--device` flag is now implemented on `main`:
```bash
List available devices (with sample rate and channel info)
minutes devices
Record from a specific device
minutes record --device "USB Microphone" ```
You can also set it permanently in `~/.config/minutes/config.toml`: ```toml [recording] device = "USB Microphone" ```
The CLI flag overrides the config value. This applies to all modes: `minutes record`, `minutes live`, and dictation.
Additionally, the device selection logic now works better on Linux — `AudioStream` (used by live transcript and dictation) previously used cpal's raw `default_input_device()` which could pick the wrong device. It now uses the same smarter selection path as `minutes record`.
Will ship in the next release.
@silverstein could be cool if there was a way to select multiple devices. This way we wouldn't have to manually create the virtual source and also, it would allow better model output or using a more lightweight model as the speakers would be naturally split already (or at least some of them)
@Dieterbe Great idea! I just enabled GitHub Discussions for exactly this kind of conversation, per your suggestion: https://github.com/silverstein/minutes/discussions
Want to open a thread there? Multi-device capture is interesting but of course non-trivial and I'd love to hash out the design in a discussion thread rather than a closed issue.
roger. let's continue here https://github.com/silverstein/minutes/discussions/43
Implementation landed in dcb7c0e: shared resampler, per-source stem writing from ScreenCaptureKit, energy-based speaker attribution, MultiAudioStream for live mode, minutes sources command, and --call flag.
The design doc at docs/MULTI-SOURCE-CAPTURE.md has the full architecture. CLI multi-source recording is infrastructure-ready but routes through the desktop app for now (native capture). CoreAudio aggregate device creation and Linux PipeWire are v2.