home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-26 | 717 b | 44 lines | [TEXT/ScoM] |
- ; Here is a simple demo that shows how to use grooves
-
- (def-symbol
- piano1 '(a b c d e f g h i j k l m n)
- piano2 (reverse (symbol-of piano1))
- )
-
- (def-length
- piano1 '((1/16) (1/8t))
- piano2 '((1/16) (1/8t))
- )
-
- ; nothing for real, just an example of shifting start positions
-
- (def-groove
- piano1 '((-1/64) (-1/128))
- piano2 '(1/32 1/64)
- )
-
- (def-tonality
- piano1 (activate-tonality (pentamajor c 4) (pentamajor d# 4))
- piano2 (activate-tonality (pentamajor c 5) (pentamajor d# 5))
- )
-
- (def-zone
- piano1 '(2/1 2/1 1/1 1/1)
- piano2 '(2/1 2/1 1/1 1/1)
- )
-
- (def-channel
- piano1 1
- piano2 2
- )
-
- (def-tempo 120)
-
- (midiport :printer)
-
- (compile-instrument-p "ccl;output:" "grooves"
- piano1
- piano2
- )
-
-