Skip to main content

WaveformConfig

@siteed/audio-studio


@siteed/audio-studio / WaveformConfig

Interface: WaveformConfig

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

Properties​

color?​

optional color: string

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

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


height?​

optional height: number

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

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


mirror?​

optional mirror: boolean

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

Whether to mirror the waveform (symmetrical display)


opacity?​

optional opacity: number

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

Opacity of the waveform (0.0 - 1.0)


strokeWidth?​

optional strokeWidth: number

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

Width of the waveform line (default: 1.5)


style?​

optional style: "fill" | "stroke"

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

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