presenters

package
v0.0.0-...-c5379f9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSV

func CSV(buf *audio.PCMBuffer, path string) error

CSV writes the content of the buffer in a CSV file. Can be used to plot with R for instance:

Rscript -e 'png("my_plot.png", height = 768, width = 1024);
myData <- read.csv("./data.csv"); matplot(myData[,1], type="l")'

func GnuplotBin

func GnuplotBin(buf *audio.PCMBuffer, path string) error

GnuplotBin exports the buffer content as a binary gnuplot file.

func GnuplotText

func GnuplotText(buf *audio.PCMBuffer, path string) error

GnuplotText exports a gnuplot compatible text file for plotting. After normalizing the data (for better plotting) and exported it, you can use gnuplot command line, for instance:

gnuplot -e "plot 'my_data.dat' with line"

Types

This section is empty.

Jump to

Keyboard shortcuts

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