summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-09-28 09:43:09 +0200
committerrekado <rekado@elephly.net>2016-09-28 09:43:09 +0200
commit0147aafaff58d048d99fe66abd7bc4b769d564a7 (patch)
treef2c1630ccbab41029b5c42f4b8cab5810915378b
parent758d3325bd40df54a462b5a76317ba84577ee9b3 (diff)
Define <scale-note>
-rw-r--r--scales.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/scales.scm b/scales.scm
index c4c0b6d..0ac91db 100644
--- a/scales.scm
+++ b/scales.scm
@@ -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