Jump to content

Documentation for Live Coding Instrument?


Recommended Posts

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.

  • Similar Topics

    • By o_e
      Sorry for the dumb question. Where do I find:
       
      Thanks!

    • By PatrickMimran
      I tried this score and when I evaluate it I do not have on the second flute stave the material of fluterev but two staves with fmel  instead of one  with feel and the other with fluterev . I am sure there is a very simple solution to this issue but I can't find it 
       
      Thank you for your help 
       
      Patrick
      ;;;--------------------------------------------------------- ;;; Parameters ;;;--------------------------------------------------------- (setf size 16) (setf bars (gen-repeat size '(4/4))) ;(setf pause (length-span bars '(-s))) (setf melo (tonality-map             '(minor)             (pitch-transpose              '(0 2 -2 -4 -1 2)              (gen-eval               3               '(rnd-order '(s c4 d4 e4 f4 q g4 ) :type :pitch))))) (setf melos (gen-eval 5 '(aleaparent1a '(4 2 3 4 5 2 3) (flatten melo)))) (setf melos1 (reverse (gen-eval 5 '(aleaparent1a '(4 2 3 4 5 2 3) (flatten melo)))))   (setf fmel (ambitus '(g4 c6) melos)) (setf fluterev (reverse fmel)) ;;;--------------------------------------------------------- ;;; Score and Layout ;;;--------------------------------------------------------- (def-score flute            (:title "Melody"             :composer "Patrick Mimran"             :copyright "Copyright © 2020"             :key-signature 'chromatic             :time-signature '((1 1 1 1) 4)             :tempo 100             :layout (list (flute-layout 'flute)                           (flute-layout 'flute) ))      (flute    :omn fmel    :channel 1    :sound 'gm    :program 'flute     :volume 95    :pan 70    ;:controllers (91 '(52))  ) (flute1     :omn fluterev    :channel 2     :sound 'gm    :program 'violin    :volume 60      :pan 70    ;:controllers (91 '(52))       )) Flute-example.opmo
    • By AM
      ;;; ...an idea ;;; how to import some TEXT and translate it to integer-sequences to use this data ;;; for LIVE-CODING. also possible without .txt, but i tried to IMPORT it. perhaps ;;; in your live-coding session a friend of you is writing the text in a different ;;; location and you could share it (the path) via CLOUD :-D ;;; i know, this kind of data... is not very smart, but a little bit steam-punky :-) (defparameter *map-integer1* '(((a à á â ã ä å æ ą) 0) (b 1) ((c ç ć) 2) (d 3) ((e è é ê ë ę) 4) (f 5) (g 6) (h 7) ((i ì î ï) 8) (j 9) (k 10) ((l ł) 11) (m 12) ((n ñ ń) 13) ((o ò ó ô õ ö) 14) (p 15) (q 16) (r 17) ((s ś ß) 18) (t 19) ((u ù ú û ü) 20) (v 21) (w 22) (x 23) ((y ý ÿ) 24) ((z ż ź) 25))) ;;; 1) open/write a .txt-file ;;; 2) define your path (inside the loop) ;;; 3) start the loop ;;; 4) write/change your .txt, and SAVE it ;;; => every 2 seconds it will be read by the code (loop repeat 60 do (progn (print (progn (setf x (string-to-list (let ((in (open "/Users/meierandre/Desktop/test.txt"))) ;; use your own path!! (read-line in)))) (text-map *map-integer1* (loop for i in x append (explode i))))) (print x)) do (sleep 2)) ;;; every 2 seconds the loop is reading your .txt, change variable x and PRINT it  
      for this example i used PRINT (so you see what is happening), but you could also "rewrite" a variable inside your sound-live-coding-CODE/FUNCTION
       
       

      Bildschirmvideo aufnehmen 2019-11-02 um 23.16.58.mov  
×
×
  • Create New...