Project: Chromatic Scale Frequencies
Compute the frequnecies of the notes in chromatic scale based on the standard piano keys in twelve-tone equal temperament. Print the note names A, A#, B, C, C#, etc. followed by the frequency in Hertz. One command line argument should be passed that indicates the octave on the piano that should be used, 0-7.
See [[Piano key frequencies]]
Output
$ perl ChromaticScale.pl 0
"pow" is not exported by the Math::Trig module
Can't continue after import errors at ChromaticScale.pl line 9.
BEGIN failed--compilation aborted at ChromaticScale.pl line 9.
$ perl ChromaticScale.pl 4
"pow" is not exported by the Math::Trig module
Can't continue after import errors at ChromaticScale.pl line 9.
BEGIN failed--compilation aborted at ChromaticScale.pl line 9.
$ perl ChromaticScale.pl 6
"pow" is not exported by the Math::Trig module
Can't continue after import errors at ChromaticScale.pl line 9.
BEGIN failed--compilation aborted at ChromaticScale.pl line 9.