package brr

  1. Overview
  2. Docs
On This Page
  1. Request
Legend:
Library
Module
Module type
Parameter
Class
Class type

MIDI access.

type t

The type for MIDIAccess objects.

val inputs : t -> (Input.t -> 'a -> 'a) -> 'a -> 'a

inputs a f acc folds over the MIDI inputs of a with f.

val outputs : t -> (Output.t -> 'a -> 'a) -> 'a -> 'a

outputs a f acc folds over the MIDI outputs a with f.

Request

type opts

The type for MIDI access options.

val opts : ?sysex:bool -> ?software:bool -> unit -> opts

opts () are MIDI access options with given parameters.

val of_navigator : ?opts:opts -> Brr.Navigator.t -> t Fut.or_error

of_navigator () requests a MIDI access object.

OCaml

Innovation. Community. Security.