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. Deletions reuse the typing channel's sample selection, pitched lower by default.core/audio/types/audio-options.type.ts:45
move?readonlyTAudioChannelOptionsDescription Options for the cursor move audio channel. Moves reuse the typing channel's sample selection as a lighter, quieter tick by default.core/audio/types/audio-options.type.ts:52

Released under the MIT License.