Jump to content

o_e

Members
  • Posts

    276
  • Joined

  • Last visited

Posts posted by o_e

  1. Just play around a little with pitch-variation a little, why does it makes no difference in the output what

    :type

    I choose?

    What am I missing?

    (setf chords '((h a2a3c4 c4a3a3) (h d4f3g2 f4g3d4)))
    
    (pitch-variation 0 1 4 (chord-pitch-unique chords)
                     :type 'c :seed 23)  
    ==>((h a3 c4 a2 a3) (h c4 a3 c4 a3) (h g2 f3 d4 f3) (h d4 f4 g3 f4))
    
    (pitch-variation 0 1 4 (chord-pitch-unique chords)
                     :type 'm :seed 23) 
    ==>((h a3 c4 a2 a3) (h c4 a3 c4 a3) (h g2 f3 d4 f3) (h d4 f4 g3 f4))
    
    (pitch-variation 0 1 4 (chord-pitch-unique chords)
                     :type '? :seed 23) 
    ==>((h a3 c4 a2 a3) (h c4 a3 c4 a3) (h d4 g2 f3 g2) (h d4 g3 d4 f4))

     

    Thanks!

  2. I have lots of selfmade docs, which are embedded nicely in the old OM version (by putting them in the ~/Opusmodus/System Library folder).

    Where do I put them in the 3.x version so I can access them via the search function (There is no System Library folder any more)?

    And do they have to be in .pdf format (which will make them pretty useless too for me, because I often make new annotations, when calling them)?

     

    Thanks for an answer!

  3. (setf num '(4 3 2 2 3 4 5)) 
    (setf pitch '(a4 b4 c4 d4 e4))
    
    (if (< (length num) (length pitch)) pitch num) 
    =>(4 3 2 2 3 4 5)
    ;;;;;;
    (setf num '(4 3 2)) 
    (setf pitch '(a4 b4 c4 d4 e4))
    
    (if (< (length num) (length pitch)) pitch num) 
    =>(a4 b4 c4 d4 e4)

    hth

     

    Edit: I think you need cond to compare the length of three lists with each other:

    (setf durations '(q e q e s))
    
    (setf chords '(c4e4g4 e4g4c5)) 
    
    (setf repetitions '(7 1 6 2 5 3 4 4))
    
    (cond ((> (length chords) (and (length durations) (length repetitions))) chords)
          ((> (length durations) (and (length chords) (length repetitions))) durations)
          ((> (length repetitions) (and (length chords) (length durations))) repetitions))

     

  4. Just compiled your score from than and it has the same problem (the subdivision of the notes is better, but the rests don't follow):

    (setf some-pitches (integer-to-pitch (gen-integer-step 7 145 '(0))))
    (setf some-lengths (span some-pitches '(e e e -e -e -e -e -e -e -e -e -e -e e e e -e -e -e -e -e -e -e -e -e -e e e e -e -e -e -e -e -e -e -e -e -e e e e -e -e -e -e -e -e -e -e -e -e e e e -e -e -e -e -e -e -e -e -e -e e e e -e -e -e -e -e -e -e -e -e -e e e e -e -e -e -e -e -e -e -e -e -e e e e -e -e -e -e -e -e -e -e -e -e e e e -e -e -e -e -e -e -e -e -e -e e e e e -e -e -e -e -e -e -e -e -e e e e e -e -e -e -e -e -e -e -e -e e -e - - = = = = = = = = = = - - - = = = = = = = = = = - - - = = = = = = = = = = - - - = = = = = = = = = = - - - = = = = = = = = = = - - - = = = = = = = = = = - - - = = = = = = = = = = - - - = = = = = = = = = = - - - = = = = = = = = = = - - - - = = = = = = = = = - - - - = = = = = = = = = -)))
    ;(setf some-division '(12))
    ;(setf length-div (gen-divide some-division some-lengths))
    (setf time-sig '((3 3 3 3) 8))
    (def-score time
               (
                :key-signature 'chromatic
                :time-signature time-sig
                :tempo 112
                :layout (clarinet-layout 'clarinet)
                ) 
    (clarinet
     :length some-lengths
     :pitch some-pitches
     :channel 1
     :sound 'gm
     :program 'clarinet
     )) 

     

    Bildschirmfoto 2022-05-07 um 09.01.35.jpg

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy