diff options
author | rekado <rekado@elephly.net> | 2016-09-28 09:43:09 +0200 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2016-09-28 09:43:09 +0200 |
commit | 0147aafaff58d048d99fe66abd7bc4b769d564a7 (patch) | |
tree | f2c1630ccbab41029b5c42f4b8cab5810915378b | |
parent | 758d3325bd40df54a462b5a76317ba84577ee9b3 (diff) |
Define <scale-note>
-rw-r--r-- | scales.scm | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -8,6 +8,17 @@ (find-tail (cut eqv? root <>) all-notes)) +;;; Scale notes + +;; A scale note is a note with a scale offset, e.g. a C# at the second +;; scale position. +(define-record-type <scale-note> + (make-scale-note note offset) + scale-note? + (note scale-note-note) + (offset scale-note-offset)) + + ;;; Common scales (define lydian |