Permalink
Browse files

Name midi->hz's parameter midi.

  • Loading branch information...
1 parent 51515a3 commit 7f60b79ffd8584e3de18137deb655e5c0c2a22db @ctford committed Nov 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/goldberg/variations/canone_alla_quarta.clj
@@ -74,10 +74,10 @@
;; Equal temperament ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(defn midi->hz [pitch]
+(defn midi->hz [midi]
(*
8.1757989156 ; midi zero
- (java.lang.Math/pow 2 (/ pitch 12))))
+ (java.lang.Math/pow 2 (/ midi 12))))
;(midi->hz 69)

0 comments on commit 7f60b79

Please sign in to comment.