< Back to IRCAM Forum

How to get a list of midics from a voice object?

Is there a function to convert the chords output to midics? Or any other way, perhaps from the self output?

Hi Archiduque,

the easiest way is the following:

Now if you need a special function (in lisp):

(defmethod! get-my-midi ((self voice))
  (let ((chrdseq (objfromobjs self (make-instance 'chord-seq))))
    (lmidic chrdseq)))

Here is the lisp code:
get-my-midi.lisp (144 Bytes)

Best
K

1 Like