mlsic

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Unlicense Imports: 1 Imported by: 0

README

Mlsic

PortAudio

PortAudio

apt install portaudio19-dev

brew install portaudio

Documentation

Overview

Package mlsic .

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audio

type Audio []float64

Audio is a 64 bit float slice with PCM signal values from -1.0 to 1.0.

type Reader

type Reader interface {
	Read(Audio) (int, error)
}

Reader .

type Renderer

type Renderer interface {
	Render(source []Audio, name string) error
}

Renderer .

type Sine added in v0.1.0

type Sine struct {
	Frequency float64
	Amplitude float64
	Duration  time.Duration
}

Sine .

type Writer

type Writer interface {
	Write(Audio) (int, error)
}

Writer .

Directories

Path Synopsis
cmd
Package render holds three mlsic.Renderer implementations (Wav, Aiff and PortAudio.)
Package render holds three mlsic.Renderer implementations (Wav, Aiff and PortAudio.)

Jump to

Keyboard shortcuts

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