Waveform Op

Waveform

This op is deprecated!

It will not receive any updates

Outputs the waveform of an audio file.



Edit Documentation

Full Name
  • Ops.Deprecated.WebAudio.Waveform
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorJavascript Libraries
  • Webaudio Peaks (extract peaks from audio samples or a webaudio AudioBuffer)



 

INPUT PORTS


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

Width (Number)

The width of the waveform

Samples Per Pixel (Number)

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

Show bottom half (Number:boolean )

When enabled the top half of the waveform will be mirrored, when disabled only the upper half is drawn

Center Origin (Number:boolean )

When enabled the waveform will be centered around the origin, e.g. useful when using OrbitControls and rotating around the origin. When disabled the waveform will start at the origin.

Render Active (Number:boolean )

If you only need the Spline Points or Geometry (not render it in the op), you can disable this to save resources.

OUTPUT PORTS


Next (Trigger)

Called after Render was called, triggers the next op

Spline Points (Array)

The single points of the Waveform, can be connected e.g. to a SimpleSpline-op.

Geometry (Object)

The geometry of the waveform, can be drawn e.g. with RenderGeometry


Patches using Waveform

  • Examples
  • Public
  • My Patches

Changelog


Ops.WebAudio.Waveform renamed to Ops.Deprecated.WebAudio.Waveformuser avatarpandur - 2020-12-21 09:34