Discover Packages
github.com/but80/talklistener
internal
vsqx
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Sep 26, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Types
type AUX
type Attr
type CData
type KaraokeTrack
type KaraokeUnit
type MCtrl
type MasterTrack
type MasterUnit
type Mixer
type MusicalPart
type Note
type SETrack
type SEUnit
type Singer
type StylePlugin
type Tempo
type TimeSig
type VSQ3
Load(filename)
New(singer, resolution, bpm)
(vsq3) AddMCtrl(tick, id, value)
(vsq3) AddNote(velocity, beginTick, endTick, note, lyrics, phnms)
(vsq3) Bytes()
(vsq3) ExtendLastNote(toTick, ifAfterTick)
(vsq3) LimitLastNote(toTick)
(vsq3) NoteCount()
(vsq3) String()
type VSTrack
type VSUnit
type Voice
type VoiceParam
type VoiceTable
Source Files
Documentation
Documentation
¶
type AUX struct {
XMLName xml .Name `xml:"aux"`
AUXID CData `xml:"auxID"`
Content CData `xml:"content"`
}
type Attr struct {
XMLName xml .Name `xml:"attr"`
Value int `xml:",chardata"`
ID string `xml:"id,attr"`
}
type CData struct {
Data string `xml:",cdata"`
Lock int `xml:"lock,attr,omitempty"`
}
type KaraokeTrack struct {
XMLName xml .Name `xml:"karaokeTrack"`
}
type KaraokeUnit struct {
XMLName xml .Name `xml:"karaokeUnit"`
InGain int `xml:"inGain"`
Mute int `xml:"mute"`
Solo int `xml:"solo"`
Vol int `xml:"vol"`
}
type MCtrl struct {
XMLName xml .Name `xml:"mCtrl"`
PosTick int `xml:"posTick"`
Attr []Attr `xml:"attr"`
}
type MasterTrack struct {
XMLName xml .Name `xml:"masterTrack"`
SeqName CData `xml:"seqName"`
Resolution int `xml:"resolution"`
PreMeasure int `xml:"preMeasure"`
TimeSig TimeSig
Tempo Tempo
}
type MasterUnit struct {
XMLName xml .Name `xml:"masterUnit"`
OutDev int `xml:"outDev"`
RetLevel int `xml:"retLevel"`
Vol int `xml:"vol"`
}
type MusicalPart struct {
XMLName xml .Name `xml:"musicalPart"`
PosTick int `xml:"posTick"`
PlayTime int `xml:"playTime"`
PartName CData `xml:"partName"`
StylePlugin StylePlugin
PartStyle []Attr `xml:"partStyle>attr"`
Singer Singer
MCtrl []MCtrl `xml:"mCtrl,omitempty"`
Note []Note `xml:"note"`
}
type Note struct {
XMLName xml .Name `xml:"note"`
PosTick int `xml:"posTick"`
DurTick int `xml:"durTick"`
NoteNum int `xml:"noteNum"`
Velocity int `xml:"velocity"`
Lyric CData `xml:"lyric"`
Phnms CData `xml:"phnms"`
NoteStyle []Attr `xml:"noteStyle>attr"`
}
type SETrack struct {
XMLName xml .Name `xml:"seTrack"`
}
type SEUnit struct {
XMLName xml .Name `xml:"seUnit"`
InGain int `xml:"inGain"`
SendLevel int `xml:"sendLevel"`
SendEnable int `xml:"sendEnable"`
Mute int `xml:"mute"`
Solo int `xml:"solo"`
Pan int `xml:"pan"`
Vol int `xml:"vol"`
}
type Singer struct {
XMLName xml .Name `xml:"singer"`
PosTick int `xml:"posTick"`
BS int `xml:"vBS"`
PC int `xml:"vPC"`
}
type StylePlugin struct {
XMLName xml .Name `xml:"stylePlugin"`
StylePluginID CData `xml:"stylePluginID"`
StylePluginName CData `xml:"stylePluginName"`
Version CData `xml:"version"`
}
type Tempo struct {
XMLName xml .Name `xml:"tempo"`
PosTick int `xml:"posTick"`
BPM int `xml:"bpm"`
}
type TimeSig struct {
XMLName xml .Name `xml:"timeSig"`
PosMes int `xml:"posMes"`
Nume int `xml:"nume"`
Denomi int `xml:"denomi"`
}
func (vsq3 *VSQ3 ) AddNote(velocity, beginTick, endTick, note int , lyrics, phnms string )
func (vsq3 *VSQ3 ) ExtendLastNote(toTick, ifAfterTick int ) bool
type VSTrack struct {
XMLName xml .Name `xml:"vsTrack"`
VSTrackNo int `xml:"vsTrackNo"`
TrackName CData `xml:"trackName"`
MusicalPart MusicalPart
}
type VSUnit struct {
XMLName xml .Name `xml:"vsUnit"`
VSTrackNo int `xml:"vsTrackNo"`
InGain int `xml:"inGain"`
SendLevel int `xml:"sendLevel"`
SendEnable int `xml:"sendEnable"`
Mute int `xml:"mute"`
Solo int `xml:"solo"`
Pan int `xml:"pan"`
Vol int `xml:"vol"`
}
type Voice struct {
XMLName xml .Name `xml:"vVoice"`
BS int `xml:"vBS"`
PC int `xml:"vPC"`
CompID CData `xml:"compID"`
VoiceName CData `xml:"vVoiceName"`
VoiceParam VoiceParam
}
type VoiceParam struct {
XMLName xml .Name `xml:"vVoiceParam"`
BRE int `xml:"bre"`
BRI int `xml:"bri"`
CLE int `xml:"cle"`
GEN int `xml:"gen"`
OPE int `xml:"ope"`
}
type VoiceTable struct {
XMLName xml .Name `xml:"vVoiceTable"`
Voice Voice
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.