new WebMidiLinkIn( dhc, midi )

Description

The WebMidiLinkIn port class.

Manage WebMidiLink input messages.

Parameters
Name Type Description
dhc HUM.DHC

The DHC instance to which it belongs

midi HUM.midi.MidiHub

The MidiHub instance to which it belongs

Members


dhc :HUM.DHC

Description

The DHC instance

Details

midi :HUM.midi.MidiHub

Description

The MidiHub instance

Details

hostWindow :Object

Description

The Window-like object of the page that opened or embedded the URL to this HUM instace

Details
Object

Methods


receiveMessage( msg )

Description

Manage and route an incoming message

Parameters
Name Type Description
msg HUM.DHCmsg

The incoming message

Details

sendReadyMessage( msg )

Description

Send "ready" message to the Host WebMidiLink window.
Should be called when Harmonicarium (hosted) is ready and listening.
[ Synth=>Host ]

Parameters
Name Type Description
msg HUM.DHCmsg

The incoming message

Details