# Debug commands of @ferret/speech

Call with `world.commands.execute(name, args)`; `world.commands.list()` on the running game is the authority. Read from the sources of these packages.

- `speech.cancel` — Stop capturing and send nothing.
- `speech.hush` — Cut the lines of a speaker: {entity?} (none: the unpositioned lines).
- `speech.listen` — Start capturing the microphone: {language?}.
- `speech.recognize` — Recognise a clip: {url | base64, language?} -> {text}.
- `speech.say` — Say a line: {text, entity? (id or name), voice?, language?, interrupt?} -> {duration} when it starts; it plays on.
- `speech.status` — The state: listening, lines by speaker, cached clips, requests sent.
- `speech.stop` — Stop capturing and recognise it -> {text}.
- `speech.synthesize` — Synthesise a line without playing it (and cache it): {text, voice?, language?} -> {format, bytes, duration}.
