package brr

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Midi.OutputSource

MIDI output.

Sourcetype t

The type for MIDIOutput objects.

Sourceval as_target : t -> Brr.Ev.target

as_target o is o as an event target.

Sourceval as_port : t -> Port.t

as_port o is o as a port.

Sourceval of_port : Port.t -> t

of_port p is an input of p. Raises a JavaScript error if p is not an input.

Sourceval send : ?timestamp_ms:float -> t -> Brr.Tarray.uint8 -> (unit, Jv.Error.t) result

send o msg sends msg on o.

Sourceval clear : t -> unit

clear o clears the output.