piano

package
v0.0.0-...-5c3fdc9 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Off mode = iota
	On
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Piano

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

func (*Piano) Close

func (p *Piano) Close() error

func (*Piano) KeyPressed

func (p *Piano) KeyPressed(k ebiten.Key) bool

func (*Piano) Layout

func (p *Piano) Layout(int, int) (int, int)

func (*Piano) MouseClicked

func (p *Piano) MouseClicked(m ebiten.MouseButton, t time.Time) int

func (*Piano) Read

func (p *Piano) Read(b []byte) (n int, err error)

func (*Piano) Run

func (p *Piano) Run(w, h, r int, m *midi.Context, v bool) (err error)

func (*Piano) Update

func (p *Piano) Update(e *ebiten.Image) error

Jump to

Keyboard shortcuts

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