Created
November 12, 2009 01:40
-
-
Save rndmcnlly/232510 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; complete project: http://github.com/rndmcnlly/cfml | |
| ;;;; | |
| ;;;; top-level-style defintions (try redefining them while the song is playing) | |
| ;;;; | |
| (define (bump) | |
| (literal 1/2 '((0 3 0 1 1/2)))) | |
| (define (lump) | |
| (after bump | |
| (tra 2 bump) | |
| (tra 4 bump) | |
| (tra 5 bump))) | |
| (define (string-step) | |
| (literal 2 '((0 4 0 1 2)(1 4 7 1 1)(0 4 2 1 2)))) | |
| (define (string-end) | |
| (literal 2 '((0 4 4 1 1)(1 4 -1 1 1)))) | |
| (define (song) | |
| (choose (vol 2/3 string-end) | |
| (tra +2 (after (during string-step | |
| (after lump (tra -4 lump))) | |
| song)))) | |
| (perform song 120 (pc:scale 0 'dorian)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment