Compare commits

...

4 Commits

Author SHA1 Message Date
Storm Dragon
00c5516851 Properly handle control+c. 2023-08-26 18:14:26 -04:00
Storm Dragon
e2fba47217 Violin added. 2023-08-26 15:56:21 -04:00
bba30f50bd Added mac compatibility, switched shabang to use /usr/bin/env bash 2020-12-11 17:20:48 -09:00
Storm Dragon
9e34e1afd1 Updated readme. 2019-11-23 18:45:32 -05:00
2 changed files with 6 additions and 2 deletions

View File

@ -2,4 +2,5 @@
A guitar tuner written in bash. A guitar tuner written in bash.
To extend, add new tunings to the array. More are coming soon. I may also add other instruments such as the mandolin To extend, add new tunings to the array. More are coming soon. I may also add other instruments such as the mandolin
Want to support my work? Check out my [Liberapay page](https://liberapay.com/stormdragon2976), or my membership options on [Patreon](https://patreon.com/stormdragon2976). <script src="https://liberapay.com/stormdragon2976/widgets/button.js"></script>
<noscript><a href="https://liberapay.com/stormdragon2976/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript>

View File

@ -1,8 +1,10 @@
#!/bin/bash #!/usr/bin/env bash
# Written by Storm Dragon https://social.stormdragon.tk/storm # Written by Storm Dragon https://social.stormdragon.tk/storm
# Released under the terms of the WTFPL License http://wtfpl.net # Released under the terms of the WTFPL License http://wtfpl.net
trap 'exit 0' SIGINT
declare -A tuning=( declare -A tuning=(
# Dropped 1 step. # Dropped 1 step.
[6d]="D2 G2 C3 F3 A3 D4" [6d]="D2 G2 C3 F3 A3 D4"
@ -29,6 +31,7 @@ declare -A tuning=(
#Ukulele #Ukulele
[ukulele]="G4 C4 E4 A4" [ukulele]="G4 C4 E4 A4"
[ukulele-half-step-down]="F#4 B3 D#4 G#4" [ukulele-half-step-down]="F#4 B3 D#4 G#4"
[violin]="G3 D4 A4 E5"
#lap Steel 6 String C6 #lap Steel 6 String C6
[steel-C6]="C3 E3 G3 A3 C4 E4" [steel-C6]="C3 E3 G3 A3 C4 E4"
#Nick Drake Tuning #Nick Drake Tuning