Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: asparion-send-color , Previous: array-slice , Up: A , Home: Overview

Clamps Dictionary

asparion

Class

Class for an Asparion midi controller with a D700FT and 0-7 D700 extensions and their displays. The extensions are autocreated as midi-controllers of classes d700 and d700ft, with the given midi-ports assigned to these instances (d700ft first) and the ids <asparion-id>-d700ft and <asparion-id>-d700. If more than 2 units are used, the ids of the d700 units are named <asparion-id>-d700-1, <asparion-id>-d700-2, etc.

Asparion implements all slots of the d700ft class with the array sizes of the buttons, faders, rotaries, vu-meters and strip-labels adjusted to the total size of channel strips. Changing the value of the ref-objects or calling the trigger-functions of the bang-objects in the asparion instance is identical to changing/calling the objects in the instances of the autocreated d700ft and d700 units.

In addition to the d700ft slots, the asparion class defines the following slots with accessor methods of the same name and initargs being the keywords of the slot symbol:

Arguments

midi-ports List of Keywords denoting the ids of the Midi Ports of the D700(FT) units.
units List containing the instances of the d700/d700ft units. Autocreated, therefore no accessor function.

Example

;;; Create an Asparion with a D700FT and D700 unit connected to the
;;; Midi Ports :midi-1 and :midi-2

(add-midi-controller 'asparion :asparion :midi-ports '(:midi-1 :midi-2))
;;; output in REPL:
;;; adding midi controller :asparion
;;; adding midi controller :asparion-d700ft
;;; adding midi controller :asparion-d700

(list-midi-controllers)
;;; -> (:asparion :asparion-d700 :asparion-d700ft)

(remove-midi-controller :asparion)
;;; => nil

(list-midi-controllers)
;;; => nil

;;; Create an Asparion with a D700FT and two D700 units connected to the
;;; Midi Ports :midi-1, :midi-2 and :midi-3

(add-midi-controller 'asparion :asparion :midi-ports '(:midi-1 :midi-2 :midi-3)) ;;;  => #<asparion {1200DB0343}>
;;; output in REPL:
;;; adding midi controller :asparion
;;; adding midi controller :asparion-d700ft
;;; adding midi controller :asparion-d700-1
;;; adding midi controller :asparion-d700-2

(list-midi-controllers)
 ; => (:asparion :asparion-d700-1 :asparion-d700-2 :asparion-d700ft)

Author: Orm Finnendahl

Created: 2025-06-08 So 16:56

Validate