WaveformMesh Op
Outputs the waveform of an audio file as a geometry
Summary (oneliner)
- Ops.WebAudio.WaveformMesh
- Core Op - Official cables op
- MIT
- Webaudio Peaks (extract peaks from audio samples or a webaudio AudioBuffer)
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch WaveformMesh example
INPUT PORTS
Renders the waveform and triggers Next
when done
Connect this to an Ops.WebAudio.AudioBuffer op, which loads and holds an audio sample
Render Options
if true mesh is rendered
When enabled the top half of the waveform will be mirrored, when disabled only the upper half is drawn
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.
Waveform Settings
The width of the waveform
Controls how detailled the waveform is, the smaller the value the more detail and the wider the output.
Mesh Options
check to calculate texture coordinates
OUTPUT PORTS
Called after Render
was called, triggers the next op
The geometry of the waveform, can be drawn e.g. with RenderGeometry