Jump to content

Midi automation file


Recommended Posts

Hi,

how can I convert this to an automation file in Midi to import it to a DAW?

(Thanks to Tibor for the code 😀)

Achim

 

(setf b-amp-values1
      (mod-sine-waves 4 1000 0.6 1 :phase -40
                      :modulation (gen-sine 700 2.5 1.2)))
(list-plot b-amp-values1)
(defparameter values-aligned
  (loop for i in b-amp-values1
        collect (* 64 (+ i 1))))
(setf midi-test (gen-controller 1 values-aligned :time 1/1000))
(setf boolean-pitch (append '(q) (gen-repeat (length midi-test) 'c4)))
(def-score midi-test
    (:title "score title"
     :key-signature ' chromatic
     :time-signature '(4 4)
     :tempo 120)
  (instrument
   :omn boolean-pitch
   :channel 1
   :sound 'gm
   :program 'acoustic-grand-piano
   :controllers (1 midi-test)))

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy