enums

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CC_BankSelectMSB = 0
	CC_Modulation    = 1
	CC_DataEntry     = 6
	CC_MainVolume    = 7
	CC_Panpot        = 10
	CC_Expression    = 11
	CC_BankSelectLSB = 32
	CC_RPNLSB        = 100
	CC_RPNMSB        = 101
	CC_AllSoundOff   = 120
	CC_MonoOn        = 126
	CC_PolyOn        = 127
)
View Source
const (
	ChannelType_NoCare = iota
	ChannelType_Melody
	ChannelType_NoMelody
	ChannelType_Rhythm
)
View Source
const (
	KeyControlStatus_NonSpecified = iota
	KeyControlStatus_Off
	KeyControlStatus_On
)
View Source
const (
	Note_A3 = 9 + 12*3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm

type Algorithm int

func (Algorithm) OperatorCount

func (a Algorithm) OperatorCount() int

func (Algorithm) String

func (a Algorithm) String() string

type BasicOctave

type BasicOctave int
const (
	BasicOctave_Normal BasicOctave = 1
)

func (BasicOctave) NoteDiff added in v1.3.0

func (o BasicOctave) NoteDiff() Note

func (BasicOctave) String

func (o BasicOctave) String() string

type CC

type CC int

func (CC) String

func (cc CC) String() string

type Channel

type Channel int

type ChannelType

type ChannelType int

func (ChannelType) MarshalJSON

func (t ChannelType) MarshalJSON() ([]byte, error)

func (ChannelType) String

func (t ChannelType) String() string

type ExclusiveType

type ExclusiveType int
const (
	ExclusiveType_Unknown ExclusiveType = iota
	ExclusiveType_VMAVoice
	ExclusiveType_VM35Voice
)

func (ExclusiveType) MarshalJSON

func (t ExclusiveType) MarshalJSON() ([]byte, error)

func (ExclusiveType) String

func (t ExclusiveType) String() string

type KeyControlStatus

type KeyControlStatus int

func (KeyControlStatus) MarshalJSON

func (t KeyControlStatus) MarshalJSON() ([]byte, error)

func (KeyControlStatus) String

func (t KeyControlStatus) String() string

type Multiplier

type Multiplier int

func (Multiplier) String

func (m Multiplier) String() string

type Note

type Note int

func (Note) Freq

func (n Note) Freq(delta float64) NoteFreq

func (Note) Name

func (n Note) Name() string

func (Note) String

func (n Note) String() string

type NoteFreq

type NoteFreq struct {
	Block, Fnum int
}

type Panpot

type Panpot int
const (
	Panpot_Center Panpot = 15
)

func (Panpot) String

func (p Panpot) String() string

type ScoreTrackFormatType

type ScoreTrackFormatType int
const (
	ScoreTrackFormatType_HandyPhoneStandard ScoreTrackFormatType = iota
	ScoreTrackFormatType_MobileStandardCompressed
	ScoreTrackFormatType_MobileStandardNonCompressed
	ScoreTrackFormatType_SEQU    = -1
	ScoreTrackFormatType_Default = ScoreTrackFormatType_HandyPhoneStandard
)

func (ScoreTrackFormatType) IsSupported

func (t ScoreTrackFormatType) IsSupported() bool

func (ScoreTrackFormatType) MarshalJSON

func (t ScoreTrackFormatType) MarshalJSON() ([]byte, error)

func (ScoreTrackFormatType) String

func (t ScoreTrackFormatType) String() string

type ScoreTrackSequenceType

type ScoreTrackSequenceType int
const (
	// Sequence Data は1つの連続したシーケンス・データである。Seek Point や Phrase List はシーケンス中の意味のある位置を外部から参照する目的で利用する。
	ScoreTrackSequenceType_StreamSequence ScoreTrackSequenceType = iota
	// Sequence Data は複数のフレーズデータを連続で表記したものである。Phrase List は外部から個別フレーズを認識する為に用いる。
	ScoreTrackSequenceType_Subsequence
)

func (ScoreTrackSequenceType) MarshalJSON

func (t ScoreTrackSequenceType) MarshalJSON() ([]byte, error)

func (ScoreTrackSequenceType) String

func (t ScoreTrackSequenceType) String() string

type VoiceType

type VoiceType int
const (
	VoiceType_FM VoiceType = iota
	VoiceType_PCM
	VoiceType_AL
)

func (VoiceType) MarshalJSON

func (t VoiceType) MarshalJSON() ([]byte, error)

func (VoiceType) String

func (t VoiceType) String() string

Jump to

Keyboard shortcuts

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