Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: midi-port , Previous: midi-output , Up: M , Home: Overview

Clamps Dictionary

midi-port

Structure

Structure of a bidirectional midi port, containing slots for cc-state, note-state, pitch-bend-state, after-touch-state, cc-fns, note-fns, pitch-bend-fns and after-touch-fns.

Slots

midi-port-id Keyword or Symbol denoting the id of the midi-port.
midi-port-input Jackmidi:input-stream
midi-port-output Jackmidi:output-stream
midi-port-cc-state Array of 128x16 ref-objects storing the last received cc value.
midi-port-note-state Array of 128x16 ref-objects storing the last received note-on velocity.
midi-port-pitch-bend-state Array of 16 ref-objects storing the last received pitch-bend value.
midi-port-after-touch-state Array of 16 ref-objects storing the last received after-touch value.
midi-port-cc-fns Array of 128x16 lists containing functions to call on receiving a cc value.
midi-port-note-fns Array of 128x16 lists containing functions to call on receiving a note-on with positive velocity.
midi-port-pitch-bend-fns Array of 16 lists containing functions to call on receiving a pitch-bend value.
midi-port-after-touch-fns Array of 16 lists containing functions to call on receiving a after-touch value.

See also

Author: Orm Finnendahl

Created: 2025-06-08 So 16:56

Validate