-
Notifications
You must be signed in to change notification settings - Fork 6
/
demo
executable file
·58 lines (54 loc) · 4.18 KB
/
demo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
example() {
echo "=============================================================================================================================="
echo ""
echo "$3) $2"
echo ""
echo "> $1"
eval $1
}
declare -a cmds=(
"./frettler guitar horizontal C scale_major=Standard guitar, horizontal fretboard view of C Major scale"
"./frettler guitar horizontal C scale_major --lefty=Standard guitar, horizontal fretboard view of C Major scale, for a left handed guitar"
"./frettler guitar horizontal C scale_major --lefty --tuning guitar_drop_d=Standard guitar, horizontal fretboard view of C Major scale, for a left handed guitar using drop D tuning"
"./frettler guitar horizontal C scale_major --intervals=Standard guitar, horizontal fretboard view of C Major scale, intervals instead of notes"
"./frettler guitar vertical D scale_minor=Standard guitar, vertical fretboard view of D Minor scale"
"./frettler guitar chord a chord_min=Standard guitar, chord chart of Am"
"./frettler guitar chord a chord_min --lefty --easy=Standard guitar, cowboy/default chord chart of Am for a left handed player"
"./frettler guitar chord a chord_min=Standard guitar, chord chart of Am"
"./frettler guitar horizontal C scale_major --octaves=Standard guitar, fretboard view of C Major scale, colourizing the fretboard relative octaves"
"./frettler guitar horizontal C scale_major --verbose=Standard guitar, fretboard view of C Major scale, verbose mode"
"./frettler guitar horizontal C scale_major --chords --verbose=Standard guitar, fretboard view of C Major scale, derive diatonic chords, verbose mode"
"./frettler guitar display --notes c=Standard guitar, just show all occurences of note 'C'"
"./frettler fifths=Display the Line Of Fifths generated and used internally by Frettler"
"./frettler lookup --notes c,e,g=No instrument, just exact reverse chord lookup"
"./frettler lookup --notes c,e --rule relaxed=No instrument, just relaxed reverse chord lookup"
"./frettler lookup --notes c,e --rule loose=No instrument, just loose reverse chord lookup"
"./frettler guitar find -n c,e,g =Standard guitar, lookup chord and display vertically"
"./frettler guitar vertical A scale_minor --chords=Standard guitar, vertical view of A Minor chord, with diatonic chords"
"./frettler guitar vertical C chord_maj=Standard guitar, vertical view of C Major complete "
"./frettler bassguitar horizontal C scale_major_pentatonic=Bass guitar, fretboard view of C Major Pentatonic scale"
"./frettler guitar horizontal A scale_minor_pentatonic -s B,E,A,D,G,B,E=Am Pentatonic scale on a 7 string guitar"
"./frettler ukelele horizontal A scale_harmonic_minor=Ukelele, fretboard view of Am Harmonic scale "
"./frettler guitar horizontal C scale_major --intervals=Standard guitar, fretboard view of C Major Scale with intervals"
"./frettler guitar horizontal A scale_minor -i=Again but with abbrev. intervals option, and an Am scale"
"./frettler guitar horizontal C scale_major -im=Standard guitar, fretboard view of C Major Scale with intervals, in 'monochrome'"
"./frettler guitar horizontal C chord_maj=Standard guitar, fretboard view of C Major complete"
"./frettler bassguitar horizontal C scale_major_pentatonic=Bass guitar, fretboard view of C Major Pentatonic scale"
"./frettler bassguitar horizontal C scale_major_pentatonic --intervals --frets 17=Bass guitar, fretboard view to 17th fret of C Major Pentatonic Scale, with intervals"
"./frettler banjo horizontal C scale_blues_major=Banjo, fretboard view of C Blues Major scale"
"./frettler ukelele progression c scale_major --p 1,4,5=Display the chords for a I,IV,V progression in C Major for a Ukelele"
"./frettler guitar box c scale_major=Display the first practise box for C Major for a Guitar"
"./frettler patterns -t scale=Display the names of the scales that Frettler supports"
"./frettler patterns -t chord=Display the names of the chords that Frettler supports"
"./frettler tunings=Display the names of the tunings that Frettler supports"
"./frettler guitar progression a scale_major -p 1,4,5=Display the I,IV,V chord progression in the A Major scale"
"./frettler guitar random=Display a random chord on a guitar"
)
let n=1
for i in "${cmds[@]}"; do
cmd=${i%=*}
comment=${i#*=}
example "$cmd" "$comment" "$n"
((n=n+1))
done