---
name: onetake
description: Record a WAV take on Windows with OneTake, an app that also has a command line, onetake-cli. Use when asked to record audio, a voice take, a line or a timed clip from a microphone on Windows, or to use OneTake.
---

# OneTake

OneTake records one take at a time from a microphone to a 24-bit WAV file at the microphone's own sample rate. It is a Windows app with a window, and the same recorder is a command line, `onetake-cli.exe`, that needs no window. Source: https://github.com/devin-thomas/onetake-app. Download: https://onetakeapp.pages.dev.

Pick the route you can do. **Terminal** (you can run commands): the command line. **App** (you operate apps by screen, or can start programs with arguments): the window. Both use the same settings file and make the same WAV.

## Rules

- Report what you saw. The file name, length and any error code come from the run itself; a value you did not read is a value you do not give.
- Ask the person which folder their takes go in before changing `output_directory`, and which microphone to use before pinning one. OneTake never switches microphones by itself.
- OneTake never overwrites or deletes a take. Stopping early keeps the audio. Leave the person's existing takes as they are.
- A take records whatever the microphone hears. Tell the person before you start one.

## Install

1. Download https://onetakeapp.pages.dev and unzip it, for example to `%USERPROFILE%\Documents\OneTake`.
2. The app is `OneTake\OneTake.exe`. The command line is `OneTake\resources\bin\win32-x64\onetake-cli.exe`.
3. The first time the person opens `OneTake.exe`, Windows may show "Windows protected your PC": they click **More info**, then **Run anyway**. Ask them to do it, then carry on.

## Route 1: the command line

In the examples, `onetake-cli` stands for the full path above.

1. Check it answers: `onetake-cli --version`.
2. Check the settings: `onetake-cli config get`. If no output folder is set, ask the person for one, then `onetake-cli config set output_directory=D:\Takes` (the folder must exist).
3. List microphones if the person named one: `onetake-cli inputs`.
4. Record:
   - A timed take: `onetake-cli record --seconds 30`. It stops by itself. Pressing Enter stops it early and fills the rest with silence, so the file is exactly 30 s.
   - An untimed take: `onetake-cli record --untimed`. Pressing Enter (or closing its input) stops it and keeps everything recorded.
5. Tell the person the file name and its length from the last line the command printed.

Settings apply to every take: `output_directory`, `session_name_override` (the name each file starts with; empty means the folder's name), `pinned_input` (`default` or a key from `inputs`), `mono_channel`, `channel_mode` (`mono` or `stereo`), `timer_enabled`, `timer_seconds`, `count_in_seconds`. Options on `record` apply to that take only: `--seconds S`, `--untimed`, `--count-in N`, `--output-dir D`, `--session NAME`.

### Machine output

- `--json` on `config`, `inputs` and `recover` prints one JSON document.
- `--events 1` on `record` and `play` prints one JSON object per line. A recording sends `hello`, `stage` (`preparing`, `count_in`, `opening`, `recording`, `finalizing`), `level` every 33 ms (`peak`, `clipped`, `seconds`), then one terminal event: `result` (with `take.file`, `take.seconds`, `take.sample_rate`, `take.channels`, `take.clipped`), `error` (`code`, `message`) or `cancelled`.
- Send the line `stop` on its input to finish a take; `cancel` before recording starts leaves no file.
- Exit status: 0 done, 1 error, 2 usage error, 130 cancelled. The terminal event is authoritative.
- `onetake-cli --capabilities` describes the tool as JSON.

### Errors

The `code` says what to do: `DESTINATION_UNSET` or `DESTINATION_MISSING` (set `output_directory`), `INPUT_NONE` (no microphone), `INPUT_PINNED_MISSING` (the pinned microphone is unplugged; ask before changing it), `INPUT_PERMISSION` (Windows blocks microphone access for desktop apps: the person turns it on in Settings, Privacy & security, Microphone), `TIMER_INVALID` (seconds must be above 0 and at most 3600), `CAPTURE_INTERRUPTED`, `CAPTURE_OVERFLOW` and `WRITE_FAILED` (the audio so far is kept as a `.partial.wav`; `onetake-cli recover` repairs files a crash left).

## Route 2: the window

`OneTake.exe` opens one small window. Launch flags fill it in:

- `OneTake.exe --cue "Read the second paragraph" --seconds 30 --record` puts the text in the cue, sets a 30 s timer for this launch and starts recording.
- Sent again while OneTake is open, the same flags go to the open window.
- `OneTake.exe --background` starts it hidden and ready, so the next launch shows the window at once; `OneTake.exe --exit` ends it.

In the window: **Record** (Ctrl+R) starts a take, **Stop** (Ctrl+.) ends it, **Next** keeps it and gets ready for another, **Review** (Ctrl+P) plays it back with **Keep** or **Move to Recycle Bin**. Ctrl+K lists every command.
