Module

FRP.Event.MIDI

Package
purescript-wags
Repository
mikesol/purescript-wags

#MIDIAccess Source

data MIDIAccess :: Type

The Web API's MIDIAccess.

#MIDIEventInTime Source

type MIDIEventInTime = { event :: MIDIEvent, timeStamp :: Number }

Represents a MIDI event with a timestamp.

#midi Source

midi :: MIDIAccess -> Event MIDIEventInTime

After having acquired the MIDIAccess from the browser, use it to create a streamed event of type Event MIDIEventInTime.

#midiAccess Source

midiAccess :: Effect (Promise MIDIAccess)

Get the MIDIAccess from the browser.