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

AudioBufferToSplineArray Op

AudioBufferToSplineArray

Outputs the waveform of an audio file as a spline array



Edit Documentation

Full Name
  • Ops.WebAudio.AudioBufferToSplineArray
Visibility
  • Core Op - Official cables op
AuthorTest PatchesJavascript Libraries
  • Webaudio Peaks (extract peaks from audio samples or a webaudio AudioBuffer)



 

Example Patch AudioBufferToSplineArray

Example for AudioBufferToSplineArray op.

Open In Editor

INPUT PORTS


Render (Trigger)

Renders the waveform and triggers Next when done

Audio Buffer (Object:audioBuffer)

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 (Number:integer )

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

OUTPUT PORTS


Next (Trigger)

Called after Render was called, triggers the next op

Array Out (Array)

spline array output


Usages of AudioBufferToSplineArray

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


cloned op from Ops.WebAudio.Waveformuser avatarcables - 2020-12-07
Ops.User.cables.WaveformMesh renamed to Ops.WebAudio.WaveformMeshuser avatarcables - 2020-12-07
cloned op from Ops.WebAudio.WaveformMeshuser avatarcables - 2020-12-07
Ops.User.cables.AudioBufferToSplineArray renamed to Ops.WebAudio.AudioBufferToSplineArrayuser avatarcables - 2020-12-07