Piano chord recognizer in Clojurescript