Skip to content

eo-typewriterjs


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

PropertyModifierTypeDescriptionDefined in
enabled?readonlybooleanDescription Whether audio is globally enabled. Defaults to true.core/audio/types/audio-options.type.ts:16
volume?readonlynumberDescription 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?readonlyTAudioSfxPackDescription 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?readonlyTAudioChannelOptionsDescription Options for the typing (insert) audio channelcore/audio/types/audio-options.type.ts:38
delete?readonlyTAudioChannelOptionsDescription 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

Released under the MIT License.