preset

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Preset

type Preset []Track

func FromParam

func FromParam(encoded string) (Preset, error)

type Track

type Track struct {
	ID     string   `json:"id"`
	Volume *float64 `json:"volume"`
	Rate   *float64 `json:"rate"`
	Pan    *float64 `json:"pan"`
}

func (Track) GetPan

func (t Track) GetPan() float64

func (Track) GetRate

func (t Track) GetRate() float64

func (Track) GetVolume

func (t Track) GetVolume() float64

Jump to

Keyboard shortcuts

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