Functions

Output(port)

Constructor

Parameters:

port optional port number or port name

See Also:

Return:

  • Output
Output:aftertouch(channel, note, velocity)

Send aftertouch message

Parameters:

channel MIDI channel
note MIDI note number (0..127)
velocity MIDI velocity (0..127)

Return:

  • string
Output:allnotesoff(channel)

All notes off

Parameters:

channel MIDI channel

Return:

  • string
Output:bytes(...)

Send raw MIDI bytes

Parameters:

... numbers (MIDI bytecodes)
Output:cc(channel, controller, value)

Send control change message

Parameters:

channel MIDI channel
controller MIDI controller number (0..127)
value MIDI value (0..127)

Return:

  • string
Output:noteoff(channel, note, velocity)

Send noteoff message

Parameters:

channel MIDI channel
note MIDI note number (0..127)
velocity MIDI release velocity (0..127)

Return:

  • string
Output:noteon(channel, note, velocity)

Send noteon message

Parameters:

channel MIDI channel
note MIDI note number (0..127)
velocity MIDI velocity (0..127)

Return:

  • string
Output:program(channel, program)

Send program change message

Parameters:

channel MIDI channel
program MIDI program number (0..127)

Return:

  • string