init commit

This commit is contained in:
2026-01-25 17:13:15 -06:00
commit 1bbfc332d8
27 changed files with 2462 additions and 0 deletions

52
README.md Normal file
View File

@@ -0,0 +1,52 @@
# Playback
A terminal-based audio player with synchronized transcript viewing and editing.
## Installation
```bash
make install
```
## Usage
```bash
playback audio.mp3 # Auto-finds transcript (audio.srt)
playback audio.mp3 -t transcript.srt # Specify transcript
```
## Keybindings
| Key | Action |
|-----|--------|
| `space` | Play/Pause |
| `ctrl+j` | Focus transcript |
| `ctrl+k` | Focus waveform |
| `q` | Quit |
| `?` | Toggle help |
**Waveform (focused):**
- `h/l` or arrows: Seek 5s
- `H/L`: Seek 30s
**Transcript (focused):**
- `j/k`: Navigate cues
- `ctrl+d/u`: Jump 5 cues
- `g/G`: First/last cue
- `enter`: Seek audio to cue
- `i`: Edit in external editor
## Configuration
Config file: `~/.config/playback/config.json`
```json
{
"seek_step_ms": 5000,
"big_seek_step_ms": 30000,
"volume": 1.0,
"editor": "nvim"
}
```
Default editor is `vim`.