eo-typewriterjs / TAudioOptions
Type Alias: TAudioOptions
ts
type TAudioOptions = object;Defined in: core/audio/types/audio-options.type.ts:10
Description
Root typewriter-level audio configuration
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
enabled? | readonly | boolean | Description Whether audio is globally enabled. Defaults to true. | core/audio/types/audio-options.type.ts:16 |
volume? | readonly | number | Description Master volume in the range [0, 1]. Applied to every channel before per-play jitter. Defaults to 1. | core/audio/types/audio-options.type.ts:24 |
sfxs? | readonly | TAudioSfxPack | Description Sfx pack used by all channels. Each key is an sfx name; each value holds one or more audio sample URLs. Defaults to the built-in typing sounds when not provided. | core/audio/types/audio-options.type.ts:32 |
typing? | readonly | TAudioChannelOptions | Description Options for the typing (insert) audio channel | core/audio/types/audio-options.type.ts:38 |
delete? | readonly | TAudioChannelOptions | Description Options for the delete audio channel. When not provided, typing sounds are used for deletions as well. | core/audio/types/audio-options.type.ts:45 |