Documentation
¶
Index ¶
- Variables
- type Track
- func (t *Track) SetAmbitus(ambString string) error
- func (t *Track) SetBank(data string) error
- func (t *Track) SetChannel(data string) error
- func (t *Track) SetDelay(data string) error
- func (t *Track) SetFileGroup(data string) error
- func (t *Track) SetImport(importFrom string) error
- func (t *Track) SetPitchbendrange(data string) error
- func (t *Track) SetProgram(data string) error
- func (t *Track) SetTranspose(data string) error
- func (t *Track) SetVelScale(velScale string) error
- func (t *Track) SetVolume(data string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultVeloctiyScale = [5]uint8{1, 127, 4, 15, 63}
Functions ¶
This section is empty.
Types ¶
type Track ¶
type Track struct { Name string FileGroup string Import string MIDIChannel int8 MIDIProgram int8 MIDIBank int8 MIDIVolume int8 MIDITranspose int8 // only transposes Notes not MIDINotes Delay [2]int // fraction of 4/4 PitchbendRange uint8 // velocity-scale property to refine velocity conversion (min, max, randomize-factor, step-width) VelocityScale [5]uint8 // 0: min 1: max 2: randomize-factor 3: step-width, 4: center /* ambitus from: to: */ Ambitus [2]string // notes AmbitusCutOverFlow bool EndPos uint }
func (*Track) SetAmbitus ¶ added in v1.0.2
func (*Track) SetChannel ¶
setTrackChannel sets the MIDI channel of a track
func (*Track) SetFileGroup ¶
func (*Track) SetPitchbendrange ¶
func (*Track) SetProgram ¶
setTrackProgram sets the MIDI program value of a track
func (*Track) SetTranspose ¶
setTrackTranspose sets the MIDITranspose for a track
func (*Track) SetVelScale ¶
Click to show internal directories.
Click to hide internal directories.