Documentation ¶
Index ¶
- Variables
- type Keyboard
- func (g *Keyboard) Draw(screen *ebiten.Image)
- func (g *Keyboard) KeyCut(n note.Note)
- func (g *Keyboard) KeyOff(n note.Note)
- func (g *Keyboard) KeyOn(n note.Note)
- func (g *Keyboard) Layout(outsideWidth, outsideHeight int) (int, int)
- func (g *Keyboard) SetCurrentOctave(o scale.Octave)
- func (g *Keyboard) Update() error
- type TickFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrWantStop = errors.New("want stop")
)
Functions ¶
This section is empty.
Types ¶
type Keyboard ¶
type Keyboard struct {
// contains filtered or unexported fields
}
func NewKeyboard ¶
func (*Keyboard) SetCurrentOctave ¶
Click to show internal directories.
Click to hide internal directories.