Type alias WaveformHDSegment

WaveformHDSegment: {
    color: [number, number, number];
    height: number;
}

A HD waveform segment contains the height of the waveform, and it's color represented as RGB values.

Type declaration

  • color: [number, number, number]

    the RGB value, each channel ranges from 0-1 for the segment.

  • height: number

    The height this segment in the waveform. Ranges from 0 - 31.

Generated using TypeDoc