Page 1 of 1

tuna - bloat-free guitar tuner

Posted: Wed Jan 13, 2016 5:27 pm
by machinebacon

Code: Select all

#!/bin/bash
# tuna - guitar tuner - depends on speaker-test
array=( "329.63" "246.94" "196" "146.83" "110" "82.41" )
select opt in "${array[@]}"; do
  speaker-test -f "$opt" -t sine -l 1 -p 10 > /dev/null
done

Re: tuna - bloat-free guitar tuner

Posted: Wed Jan 13, 2016 6:49 pm
by simgin
^ I have a hunch that you are jamming at home atm. Julius? :)

Re: tuna - bloat-free guitar tuner

Posted: Wed Jan 13, 2016 7:37 pm
by machinebacon
haha no, I just wanted to find the easiest way to play a tone in a certain frequency without additional packages (the speaker-test is apparently part of aplay)

Re: tuna - bloat-free guitar tuner

Posted: Thu Jan 14, 2016 9:03 am
by machinebacon

Code: Select all

#!/bin/bash

# tuneleiter
echo "  2C#  4D#       7F#  9G#   11A#"
echo "1C   3D   5E   6F   8G   10A    12B"
echo
array=( 130.81 138.59 146.83 155.56 164.81 174.61 185 196 207.65 220 233.08 246.94 )
select opt in "${array[@]}"; do
  speaker-test -f "$opt" -t sine -l 1 -p 10 > /dev/null
done

Re: tuna - bloat-free guitar tuner

Posted: Fri Jan 15, 2016 8:00 am
by Snap
Added to the local bin. Thanks, bacon.