Search the Community
Showing results for tags 'variable-substituting'.
-
Dear creators of Opusmodus, I'm currently trying out the demo, so I'm in the first stages of getting to know OM. I'm trying to do a very simple referral to a variable to make an OMN-snippet, but I get all sorts of error codes from the listener. Even to the point that copying some of the tutorial code, and replacing the names of the variables makes the code generate errors...? Here's the example, so any help or suggestion is welcome: (example is based on 'stage2'-code, I only replaced the names of the variables): (setf p_arp0 '(c4 cs4 fs4 g4 c5)) (setf l_arp0 (span p_arp0 '(e))) (setf d_arp0 '(p< < < < ff)) (setf arpeg0 (make-omn :length l_arp0 :pitch p_arp0 :velocity d_arp0))when I evaluate the snippet with the original variables, being 'pitches', 'length' and so on, it works. When I use my own names, however, like in the pasted example, it gives the following error code: "> Error: OMN Parse Error: (annotate (parse-omn-audition-phrase) (fail nil ((setf l_arp0 (span p_arp0 '(e))) (setf d_arp0 '(p< < < < ff)) (setf arpeg0 (make-omn length l_arp0 pitch p_arp0 velocity d_arp0))))) > While executing: omn-audition-to-ast, in process Listener-1(6). > Type cmd-. to abort, cmd-\ for a list of available restarts. > Type :? for other options. 5 >"or it shows just any previous evaluation in the Assistant (ignoring the fact that I changed some notes,...) Another case: this example works: (setf arp1 '(w eb4e4gs4a4d5 arp)) this doesn't: (setf p_arp1 '(eb4e4gs4a4d5) (setf arp1 '(w p_arp1 arp)) Is there a certain way to name variables? Is there any interference with program-keywords? It would be a vital function, since I compose on paper mostly using a system of variable-substition to keep economy in my material. Could you please help. I can't find anywhere in the documentation what I'm doing wrong. I'm seriously interested in using/buying Opusmodus... Greetings from Brussels, Joost Van kerkhoven