Home Manual Reference Source Repository
import WaveformLayer from 'waves-ui/src/helpers/waveform-layer.js'
public class | source

WaveformLayer

Extends:

src/core/layer~Layer → WaveformLayer

Helper to create a waveform layer.

example usage

Constructor Summary

Public Constructor
public

constructor(buffer: AudioBuffer, options: Object)

Public Constructors

public constructor(buffer: AudioBuffer, options: Object) source

Params:

NameTypeAttributeDescription
buffer AudioBuffer

The audio buffer to display.

options Object

An object to configure the layer.