< Back to IRCAM Forum

Extra classes idea

Hello,

If I knew how to do it, I would create a set of score classes accepting 5 extra input lists; dynamics, text, lines, articulation, noteheads.These could include extra-note, extra-chord, extra-chord-seq, extra-multi-seq, extra-voice, extra-poly, and accept input from the ordinary classes. A definition could look like this:

  
(defclass* extra-chord-seq (sequence* named-score-object tonal-object)     
  ((Lmidic :initform (list 6000) :accessor LMidic :initarg :LMidic :type t :documentation "pitches (mc): list or list of lists")  
   (LOnset :initform (list  0 1000) :accessor LOnset :initarg :LOnset :type t :documentation "onsets (ms): list")  
   (Ldur :initform (list 1000) :accessor Ldur :initarg :Ldur :type t :documentation "durations (ms): list or list of lists")  
   (LVel :initform (list 100) :accessor LVel :initarg :LVel :type t :documentation "velocities (0-127): list or list of lists")  
   (LOffset :initform (list 0) :accessor LOffset :initarg :LOffset :type t :documentation "offsets (ms): list or list of lists")  
   (Lchan :initform (list 1) :accessor Lchan :initarg :Lchan :type t :documentation "MIDI channels (1-16): list or list of lists")  
   (legato :initform 0 :accessor legato :initarg :legato :type integer :documentation "relative chords duration (0-100)")  
   (lvel-extra :initform 0 :accessor lvel-extra :initarg :lvel-extra :type t :documentation "dynamic marking 0-X: list or list of lists"  )  
   (ltext-extra :initform 0 :accessor ltext-extra :initarg :ltext-extra :type t :documentation "text 0-X: list or list of lists"  )  
   (l-line-extra :initform 0 :accessor l-line-extra :initarg :l-line-extra :type t :documentation "line 0-X: list or list of lists"  )  
   (larticulation-extra :initform 0 :accessor larticulation-extra :initarg :larticulation-extra :type t :documentation "articulation 0-X: list or list of lists"  )  
   (lhead-extra :initform 0 :accessor lhead-extra :initarg :lhead-extra :type t :documentation "notehead 0-X: list or list of lists"  )  
    )  
  (:icon 138)  
  )  

At least I got a class with more inputs, but it will require work to get the editor and mini-view working. Enabling mini view was not a good idea yet.
If inputs were lists of integers, 0 could mean no extra, and 1-X could be signs and fonts selected through interfaces similar to the score section in preferences. Perhaps limited to what is possible to export through xml and etf. A plus sign could make it possible to add things like: 13=sffzpp, 14=o

o, etc.

With material from pm2, dynamics markings could be directly based om the analysis data. Maybe it could be possible to reconstruct Messians “Mode de valeurs et d’intensités” and have it exported to xml and etf, with dynamics and articulations?

Would something like this be possible to do? I have not been digging into all the graphic codings.

Best
Ruben