beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

AudioBufferToSplineArray Op

Ops.WebAudio.AudioBufferToSplineArray


AudioBufferToSplineArray
Namespace: Ops.WebAudio

Op author: simod

Uses library: Webaudio Peaks (extract peaks from audio samples or a webaudio AudioBuffer)

Outputs the waveform of an audio file as a spline array




Inputs

Render (Trigger)

Renders the waveform and triggers Next when done

Audio Buffer (Object)

Connect this to an Ops.WebAudio.AudioBuffer op, which loads and holds an audio sample

Waveform Settings

Width (Number)

The width of the waveform

Height (Number)

The height of the waveform

Samples Per Pixel (integer /Number)

Controls how detailled the waveform is, the smaller the value the more detail and the wider the output.

Outputs

Next (Trigger)

Called after Render was called, triggers the next op

Array Out (Array)

spline array output

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

AudioBufferToSplineArray

Example for AudioBufferToSplineArray op.

Open Example In Editor

Patches using AudioBufferToSplineArray

Changelog


cloned op from Ops.WebAudio.Waveform
2020-12-07 - cables
Ops.User.cables.WaveformMesh renamed to Ops.WebAudio.WaveformMesh
2020-12-07 - cables
cloned op from Ops.WebAudio.WaveformMesh
2020-12-07 - cables
Ops.User.cables.AudioBufferToSplineArray renamed to Ops.WebAudio.AudioBufferToSplineArray
2020-12-07 - cables