AudioBufferToSplineArray Op

AudioBufferToSplineArray

Outputs the waveform of an audio file as a spline array



Full Name
  • Ops.WebAudio.AudioBufferToSplineArray
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest 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)

<p>Renders the waveform and triggers <code>Next</code> when done</p>

Audio Buffer (Object:audioBuffer)

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

Waveform Settings

Width (Number)

<p>The width of the waveform</p>

Height (Number)

<p>The height of the waveform</p>

Samples Per Pixel (Number:

<i>integer</i>

)

<p>Controls how detailled the waveform is, the smaller the value the more detail and the wider the output. </p>

OUTPUT PORTS


Next (Trigger)

<p>Called after <code>Render</code> was called, triggers the next op</p>

Array Out (Array)

<p>spline array output</p>


Patches using AudioBufferToSplineArray

  • Examples
  • Public
  • My Patches

Changelog


cloned op from Ops.WebAudio.Waveformuser avatarcables - 2020-12-07 11:48
Ops.User.cables.WaveformMesh renamed to Ops.WebAudio.WaveformMeshuser avatarcables - 2020-12-07 16:04
cloned op from Ops.WebAudio.WaveformMeshuser avatarcables - 2020-12-07 17:11
Ops.User.cables.AudioBufferToSplineArray renamed to Ops.WebAudio.AudioBufferToSplineArrayuser avatarcables - 2020-12-07 18:29