Skip to main content

WaveformConfig

@siteed/expo-audio-studio


@siteed/expo-audio-studio / WaveformConfig

Interface: WaveformConfig

Defined in: src/ExpoAudioStream.types.ts:550

Properties

color?

optional color: string

Defined in: src/ExpoAudioStream.types.ts:552

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


height?

optional height: number

Defined in: src/ExpoAudioStream.types.ts:562

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


mirror?

optional mirror: boolean

Defined in: src/ExpoAudioStream.types.ts:560

Whether to mirror the waveform (symmetrical display)


opacity?

optional opacity: number

Defined in: src/ExpoAudioStream.types.ts:554

Opacity of the waveform (0.0 - 1.0)


strokeWidth?

optional strokeWidth: number

Defined in: src/ExpoAudioStream.types.ts:556

Width of the waveform line (default: 1.5)


style?

optional style: "fill" | "stroke"

Defined in: src/ExpoAudioStream.types.ts:558

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