Refpitch 1.01 ------------- by Grekim Jennings Refpitch is a command line application that plays a note or frequency of your choice for accurate instrument tuning. The program may be run with up to three command line arguments. The first argument is the frequency in Hertz, the second is the time in seconds, and the third is the soundcard device name (see below). If no command arguments are used, the program runs in interactive mode where you can enter the letter name of a note, such as c or c#, and adjust the octave and duration. In interactive mode you may adjust output level which is set to 25% or -12 dB below full scale by default. You can also enter G1, G2, etc for guitar string 1 and guitar string 2, etc. Or, for bass guitar enter B1, B2, etc. The scale used is the equal temperament scale. The program requests a sample rate of 44,100 Hz, but if the soundcard does not comply then the program will alert you. An incorrect sample rate would result in the wrong frequency being played back. The device name of the soundcard defaults to 'default'. If using the default setting does not produce sound or the desired soundcard, try using plughw:0,0 or plughw:1,0 for card 0 or card 1 as indicated by running aplay -l.