input

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetaTextKey     = "txt"
	MetaLyricKey    = "lic"
	MetaMarkerKey   = "mrk"
	MetaBPMKey      = "bpm"
	MetaVelocityKey = "vel"
	MetaMeterKey    = "mtr"
	MetaKeyKey      = "key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Chord

type Chord struct {
	Degree note.Degree  `yaml:"degree"`
	Chord  string       `yaml:"name"`
	Base   *note.Degree `yaml:"base,omitempty"`
}

type ChordMetaTextMotifier

type ChordMetaTextMotifier struct {
	// contains filtered or unexported fields
}

func NewChordMetaTextMofidier

func NewChordMetaTextMofidier(symbolSep, slashSep string) *ChordMetaTextMotifier

func (ChordMetaTextMotifier) Modify

func (m ChordMetaTextMotifier) Modify(v *Instance) error

type Instance

type Instance struct {
	Chord  *Chord       `yaml:"chord,omitempty"`
	Values []note.Value `yaml:"values"`

	BPM      *op.BPM         `yaml:"bpm,omitempty"`
	Velocity *op.DynamicSign `yaml:"velocity,omitempty"`
	Meter    *op.Meter       `yaml:"meter,omitempty"`
	Key      *op.Key         `yaml:"key,omitempty"`
	Meta     *op.Meta        `yaml:"meta,omitempty"`
}

type Modifier

type Modifier interface {
	Modify(v *Instance) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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