Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Piano ¶
type Piano struct {
InputDevice portmidi.DeviceID
OutputDevice portmidi.DeviceID
InputStream *portmidi.Stream
sync.Mutex
// contains filtered or unexported fields
}
Piano is the AI class for the piano
func New ¶
New sets the device ports. Optionally you can pass the input and output ports, respectively.
Click to show internal directories.
Click to hide internal directories.