Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Track

Hierarchy

  • Track

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

id

id: string

intervals

intervals: AudioInterval[]

Accessors

flattened

Methods

calculate

  • calculate(options: ManagerOptions, dataMap: Map<string, Float32Array>, start: number, width: number, shift: number): Float32Array
  • Gets the summerized values for the current settings

    Parameters

    • options: ManagerOptions
    • dataMap: Map<string, Float32Array>
    • start: number
    • width: number
    • shift: number

    Returns Float32Array

    Two dimensional array, one entry for each pixel, for each pixel a min and a max value.

flatten

  • flatten(): void

getDuration

  • getDuration(): number
  • Gets the duration of the audio in seconds

    Returns number

    Decimal value of total duration in seconds

Generated using TypeDoc