diff options
Diffstat (limited to '')
| -rw-r--r-- | CONTEXT.md | 12 |
1 files changed, 11 insertions, 1 deletions
| @@ -50,7 +50,17 @@ holds no implementation decisions or specs (those live in `docs/adr/`). | |||
| 50 | 50 | ||
| 51 | ## Music Playback | 51 | ## Music Playback |
| 52 | 52 | ||
| 53 | - **Compressed playback** — `/grajcuj \w compressed`: downloads audio, runs | 53 | - **Queue** — per-guild, in-memory list of tracks waiting to play. Lost on |
| 54 | restart. `/music queue` shows the current track first, then the pending | ||
| 55 | items in play order. | ||
| 56 | - **Position** — where `/music grajcuj` inserts a track: `now` interrupts the | ||
| 57 | current track, `next` inserts after it, `last` appends (default). When | ||
| 58 | nothing is playing, every position starts playback immediately. | ||
| 59 | - **Skip** — stop the current track and play the next queued one. With an | ||
| 60 | empty queue, playback stops but the bot stays in the voice channel. | ||
| 61 | - **Auto-advance** — when a track ends (or errors), the next queued track is | ||
| 62 | started automatically and announced in the channel. | ||
| 63 | - **Compressed playback** — `/music grajcuj ... compressed`: downloads audio, runs | ||
| 54 | through the /compress pipeline (Opus 500bps, 12 kHz, mono → OGG), then | 64 | through the /compress pipeline (Opus 500bps, 12 kHz, mono → OGG), then |
| 55 | decodes the compressed file via symphonia for playback. Produces properly | 65 | decodes the compressed file via symphonia for playback. Produces properly |
| 56 | destroyed audio via Opus codec, not just raw low-sample-rate PCM. | 66 | destroyed audio via Opus codec, not just raw low-sample-rate PCM. |
