Repository navigation
API Variable Subtitles
const Subtitles: object;Defined in: src/plugins/subtitles/runtime/Subtitles.ts:67
The player's subtitle settings (ADR 0357 §5).
get settings(): Readonly<SubtitleSettings>;The settings now: the player's, else the project's first-run values.
Readonly<SubtitleSettings>
onChange(fn): () => void;Call fn with the settings after every change; returns the unsubscribe.
(s) => void
() => void
reset(): void;Back to the project's first-run values; the saved values are deleted.
void
set(patch): void;Change some settings: applies at once and persists. Bad values keep the current one, with a warning each.
Partial<SubtitleSettings>
void
speaker(id): SubtitleSpeakerLook;How speaker id (a line table row's speaker) shows: its project.json subtitles.speakers name string in the
current language (else the id as written) and its colour (null: the display's speaker colour).
string
SubtitleSpeakerLook
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference