Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: ct->fr , Previous: create-o-vumeter , Up: C , Home: Overview

Clamps Dictionary

create-o-waveform

Function

(create-o-waveform parent bindings &key width height color background css buffer-peaks-ref)

Create a waveform view using buffer-peaks-ref as data for the display. buffer-peaks-ref is a buffer-peaks struct with its peak slot being a ref-object containing buffer-peaks in different resolutions for display in different zoom settings.

Arguments

parent the html parent element of the waveform element.
bindings bindings of ref-objects to the attributes of the html element (x-zoom y-zoom start color background recording).
:width width of the html element.
:height height of the html element.
:color foreground color of the waveform.
:background background color of the waveform.
:css property list specifying optional css style attributes as keyword/value pairs.
:buffer-peaks-ref Ref-object to a buffer-peaks struct containing the peak values and global parameters of the waveform.

Author: Orm Finnendahl

Created: 2026-04-12 So 21:46

Validate