Audition format (excerpts) of various personal application studies for Opusmodus.
When I invoke this command (Evaluate and Audition and Notation) I get the compilation of the code and the notation but audition playback does not occur.
I get the following in the Listener:
ambitus make-instrument viola ambitus make-instrument violoncello def-score, name: timeline 6 > audition-musicxml-last-score #<process play loop(17) [Reset] #x3020024491ED> 6 > compile-score #<score timeline>
However, when I invoke the command to audition the last score (from the menu or the keyboard shortcuts) it plays. I should note that I am playing out via MIDI to Logic.
Am I doing something wrong?
Just an idea for an improvement, no idea how complex this is to fix.
Snippet output currently works nicely when selecting an expression that returns a supported format (e.g., OMN), like the following.
(vector-to-pitch '(c4 c5) (gen-white-noise 7))
It also works when selecting and then evaluating multiple statements for snippet output, as the following example demonstrates.
(setf pitches1 (vector-to-pitch '(g3 b4) (gen-white-noise 10))) (setf pitches2 (reverse pitches1))
However, other cases result in an error. For example, the following two lines (creating random results, but allowing to fix the seed later in case we like the output) work fine when evaluating and showing their result in the listener.
(setf seed (random 1000)) (setf pitches1 (vector-to-pitch '(g3 b4) (gen-white-noise 10 :seed seed)))
By contrast, when selecting both lines together then snippet output results in an error like.
? audition-musicxml-omn-snippet > Error: The value 976 is not of the expected type list. > While executing: parse-chord-form-from-stream, in process Listener-3(11). > Type cmd-. to abort, cmd-\ for a list of available restarts. > Type :? for other options.
As the error message suggested, problematic are seemingly variables that do not bind a list. E.g., this example results in the same error as above when selecting both lines together and generating snippet output, while their normal evaluation and snippet output of only the last line just works fine.
(setf no 10) (setf pitches1 (vector-to-pitch '(g3 b4) (gen-white-noise no))) ? audition-musicxml-omn-snippet > Error: The value 10 is not of the expected type list. > While executing: parse-chord-form-from-stream, in process Listener-3(11). > Type cmd-. to abort, cmd-\ for a list of available restarts. > Type :? for other options.
Could that perhaps be fixed? Thanks!