Skip to main content

WaveformConfig

@siteed/audio-studio


@siteed/audio-studio / WaveformConfig

Interface: WaveformConfig

Defined in: src/AudioStudio.types.ts:575

Properties

color?

optional color: string

Defined in: src/AudioStudio.types.ts:577

The color of the waveform (e.g., "#FFFFFF" for white)


height?

optional height: number

Defined in: src/AudioStudio.types.ts:587

Height of the waveform view in dp (default: 64)


mirror?

optional mirror: boolean

Defined in: src/AudioStudio.types.ts:585

Whether to mirror the waveform (symmetrical display)


opacity?

optional opacity: number

Defined in: src/AudioStudio.types.ts:579

Opacity of the waveform (0.0 - 1.0)


strokeWidth?

optional strokeWidth: number

Defined in: src/AudioStudio.types.ts:581

Width of the waveform line (default: 1.5)


style?

optional style: "fill" | "stroke"

Defined in: src/AudioStudio.types.ts:583

Drawing style: "stroke" for outline, "fill" for solid