waveform

package
v0.0.0-...-468db68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package waveform provides a way to dump the pseudographic waveform view of an audio buffer.

Index

Constants

This section is empty.

Variables

View Source
var Lookup = []rune(` 🬀🬁🬂🬃🬄🬅🬆🬇🬈🬉🬊🬋🬌🬍🬎🬏🬐🬑🬒🬓▌🬔🬕🬖🬗🬘🬙🬚🬛🬜🬝🬞🬟🬠🬡🬢🬣🬤🬥🬦🬧▐🬨🬩🬪🬫🬬🬭🬮🬯🬰🬱🬲🬳🬴🬵🬶🬷🬸🬹🬺🬻█`) // U+1FB00-U+1FB3B is a lie.

Lookup is the lookup table used to draw a 2×3 dot rectangle with symbols.

The order of bits in the rectangle of dots by which it is indexed is:

0 1
2 3
4 5

It must contain at least 64 elements.

Functions

func Dump

func Dump(prr error, b []float64) error

Dump prints the waveform of the audio to Stderr.

func DumpWriter

func DumpWriter(prr error, out io.Writer, b []float64) error

DumpWrited prints the waveform of the audio to out.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL