dsp

package
v0.0.0-...-7fee067 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DSP

type DSP struct {
	Volume float64
	// contains filtered or unexported fields
}

func (*DSP) Frequency

func (d *DSP) Frequency(letter string) float32

func (*DSP) Notes

func (d *DSP) Notes() map[string]float32

func (*DSP) PlayNote

func (d *DSP) PlayNote(freq float32, duration time.Duration)

func (*DSP) PlayNotes

func (d *DSP) PlayNotes(notes []string, interval time.Duration)

func (*DSP) PlaySequence

func (d *DSP) PlaySequence(sequence []float32, interval time.Duration)

func (*DSP) SetVolume

func (d *DSP) SetVolume(v float64)

func (*DSP) Update

func (d *DSP) Update()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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