staves {staff}* | [Macro] |
Returns a list of staff descriptions for use with CMN output streams. Each staff is a list defining the overall characteristics for a CMN staff to be drawn:
(objects &key :name :clef :meter :recursive)
Objects are the Lisp objects that the stream's staffer function will hash on to return the actual CMN staff. If staffing is done by container (the default) then objects should be the symbolic names of the containers to group in the staff. If staffing by midi channel, objects should be the midi channel numbers (0 to 15) to include in the staff. For convenience, objects may be specified as a non-list if there is only one object for the staff.
Following objects comes optional keyword arguments:
Example:
;;; Channel staffing, 0 to treble, 1 to bass or tenor ? (staves (0 :clef treble) (1 :clef (bass tenor))) ;;; container staffing, Foo and Bar in short score ? (staves ((foo bar) :clef both :name "Piano"))
See Also:
Working with CMN