summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-09-28 10:25:56 +0200
committerrekado <rekado@elephly.net>2016-09-28 10:25:56 +0200
commit8241952413f21e23121d60544c7512cd5bfb0068 (patch)
tree8655bbf3485129839851cef0668a43095df1d527
parentc6d251e2d03364ea4c3cf51adda99f6dcf465d94 (diff)
Add script to print example fretboards.
-rwxr-xr-xscripts/scales15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/scales b/scripts/scales
new file mode 100755
index 0000000..8e1529c
--- /dev/null
+++ b/scripts/scales
@@ -0,0 +1,15 @@
+#!/home/rekado/.guix-profile/bin/guile -s
+!#
+
+(use-modules (scales scales)
+ (scales fretboard))
+
+(display "Guitar: E Aeolian\n")
+(print-fretboard (fretboard tuning-guitar (aeolian 'e) 7 5))
+(newline)(newline)
+
+(display "Stick: E Aeolian\n")
+(print-stick
+ (map (lambda (string-group)
+ (fretboard string-group (aeolian 'e) 7 5))
+ tuning-grand-stick-matched-reciprocal-6+6))