Problem 146. Tune your guitar

Created by the cyclist

Given an input string with the scientific pitch notation for standard tuning ( http://en.wikipedia.org/wiki/Guitar_tunings#Standard_tuning ) of a guitar string (e.g. 'E4'), return the frequency (to nearest whole number) in hertz (in this case, 330).

Problem Group

38 solvers submitted 86 solutions (2.26 solutions/solver).

Problem Comments