name name &optional new | [Function] |
Returns name or a new symbol based on name if new is t. Use name in place of symbolic names to insure that a new name is created each time the form is evaluated.
Example:
? (loop for n in '(a b c) collect (thread (name n) ())) (#<THREAD: A> #<THREAD: B> #<THREAD: C>)
See Also:
Describing Music Algorithmicallynote | [Class] |
An abstract class representing objects that produce sound.
See Also:
clm-note, CMN, csound-note, rest, m4c-note, midi-message, midi-note, music-kit-notenote | [Item Type] |
The symbolic note name of an entry in a musical scale. Scale entries have three different aspects: a note, or symbolic note name, a pitch, or floating point frequency, and a degree, or ordinal position.
Each of these reference types is supported by a function for converting to that type and a macro for creating item streams of that type.
See Also:
degree, note [Function], notes, pitchnote reference &optional scale | [Function] |
Returns the symbolic note name of reference in scale. Reference may be a note, degree, or pitch. If scale is omitted it defaults to *standard-scale*.
Example:
? (note 'a4) A4 ? (note 440.0) A4 ? (note 69) A4
See Also:
degree, degrees, note [Item Type], notes, pitch, pitches, *standard-scale*notes {reference}+ {option value}* | [Macro] |
Creates an item stream of symbolic note names. Each reference may be a note, degree, pitch or item stream.
notes implements the following option value pairs:
Example:
? (setf x (notes (notes c2 d) (notes c3 d) (notes c4 d) in heap)) #<HEAP-NOTE-STREAM 136100641> ? (read-items x) (C4 D4 C3 D3 C2 D2)
See Also:
degree, degrees, Item Streams, note, pitch, pitchesnumbers {option value}* | [Macro] |
Creates a stream of cyclic or random numbers.
numbers implements the following option value pairs:
Example:
? (setf x (numbers from 1 below (items 5 10) in random)) #<RANDOM-NUMBER-STREAM 136100641> ? (read-items x) (1 1 1 2) ? (read-items x) (3 8 1 6 4 8 1 8 9)
See Also:
Item Streams