persistence

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Units       []Unit
	Spatializer Spatializer
}

* Data structure representing an audio channel.

type Configuration

type Configuration struct {
	FileFormat      FileFormat
	FramesPerPeriod uint32
	Channels        []Channel
	Metronome       Metronome
}

* Data structure representing a configuration file.

type DiscreteParam

type DiscreteParam struct {
	Key   string
	Value string
}

* Data structure representing a discrete parameter.

type FileFormat

type FileFormat struct {
	Application string
	Type        string
	Version     Version
}

* Data structure representing file format information.

type Metronome

type Metronome struct {
	Master         bool
	BeatsPerPeriod uint32
	Speed          uint32
	TickSound      string
	TockSound      string
}

* Data structure representing metronome settings.

type NumericParam

type NumericParam struct {
	Key   string
	Value int32
}

* Data structure representing a numeric parameter.

type Spatializer

type Spatializer struct {
	Azimuth  float64
	Distance float64
	Level    float64
}

* Data structure representing spatializer settings for a channel.

type Unit

type Unit struct {
	Type           string
	Bypass         bool
	DiscreteParams []DiscreteParam
	NumericParams  []NumericParam
}

* Data structure representing a signal processing unit.

type Version

type Version struct {
	Major uint32
	Minor uint32
}

* Data structure representing version information.

Jump to

Keyboard shortcuts

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