Jump to content

AM

Members
  • Posts

    798
  • Joined

  • Last visited

Everything posted by AM

  1. little lisp-problem/question with &optionel / &key... here are two test-programs to explore keyword and optional paramters this test-program works (defun test1 (liste add &key (add-on/off)) (loop for i in liste when (equal add-on/off 'on) collect (+ i add) else collect i)) (test1 '(1 2 3 4 5) 100 :add-on/off 'on) this version with &optional don't work... why? (defun test2 (liste add &optional (x 10) &key (add-on/off)) (loop for i in liste when (equal add-on/off 'on) collect (+ i add x) else collect i)) (test2 '(1 2 3 4 5) 100 :add-on/off 'on) > Error: While compiling test2 : > Bad lambda list : (liste add &key add-on/off &optional (x 10)), in process Listener-1(7). thanx for help andré
  2. i will write a little function and post it at the forum later.
  3. yes, that's the way it will works... only one little "problem"... the pitch will be always different... so the search-pattern should be something like '(e ?) -> to '((acc ?) -> pitch sould be overtaken to (acc ?), i only want to replace the length-val to an acc..
  4. simple question, perhaps someone could help me. i like to replace some ordinary notes (example) with an "acciaccatura"? example: from... '((e c6 q. ab5 3e g5 f5 e5 q f5 -)) to... '((acc c6) q. ab5 3e g5 f5 e5 q f5 -) ; = replace e c6 with (acc c6) i think, its not complicated but i didn't found the OMN-solution. thanx for your help!! andré
  5. a solution could be... to write the cents (-14) or what ever as TEXT-file above each note - so you could work with it in sibelius/finale/paper
  6. POLYTEMPO: would be great and very interesting! here is the technology to do/perform this LIVE on STAGE... http://www.smc-conference.net/smc-icmc-2014/images/proceedings/PS2-B03-PolytempoNetwork.pdf. (by philippe kocher - institute for computer music and sound technology zurich university of art). it works simple and fantastic!! MICROTONAL: i prefer (q c4.0456) but i would like more (or as an option) 60.0456 (via midi-note-number), so you could work/calculate directly with numbers and "pure lisp-code"....
  7. it works in PWGL, not really for notation but i can listen/programm/simulate polytempo-scores in midi (or other players). so i could transfer my lisp-code to pwgl-boxes... etc... but i would be nice, if i could do it in OPUSMODUS, no boxes etc... :-) best wishes andré
  8. short question... i've programmed a score with special bars like... ......3/20 5/16 7/12 3/32 1/10....... etc. musicXML/notation has no problem with it, but MIDI can not play it (errors)!!! it works, when i do an musicXML-export to SIBLEIUS... score/notation is okay, and no playback-problems on SIBELIUS. but it would be nice, if i could simulate it directly on OM via MIDI (an later with the contimbre-library). where is the problem? or is there a solution..? thanx for help andré
  9. thanks for you answer. but it seems that the nancarrow/carter-idea is not possible with opusmodus.... because i would like to programm a SCORE. best way for me would be, if i could combine two or more different (setups/tempi) "def-score"s to a MAIN-score.... but anyway, thanks!!!!!! andré
  10. dear users and opusmodus-guys i'm an OPUSMODUS-newby, very happy with this direct and cool LISP-programming! now the question: i would like to create an polytempo-score for example: this BOTS (bot1-bot4) are playing/written in ONE score with ONE tempo - is it possible to create a score, so that every bot has his own tempo? in extremis: bot1 = 90bpm, bot2 = 91bpm... etc... like in "ars subtilior", but not with a modification of rhythm/duration... thanks for you support - perhaps it's very simple, i don't know... andré further informations to ploytempo etc... http://www.greschak.com/polytempo/ptword.htm -------my simple score-OMN with "material" bot1 to bot4 (def-score multi-bots (:title "multi-bots" :key-signature 'atonal :time-signature '(4 4) :tempo 90 :layout (bracket-group (treble-layout 'bot1) (treble-layout 'bot2) (treble-layout 'bot3) (treble-layout 'bot4))) (bot1 :omn mat_bot1 :channel 1 :sound 'gm :program 'acoustic-grand-piano) (bot2 :omn mat_bot2 :channel 2 :sound 'gm :program 'acoustic-grand-piano) (bot3 :omn mat_bot3 :channel 3 :sound 'gm :program 'acoustic-grand-piano) (bot4 :omn mat_bot4 :channel 4 :sound 'gm :program 'acoustic-grand-piano))
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy