Function: calcFunc-freq
calcFunc-freq is an autoloaded and byte-compiled function defined in
calc-units.el.gz.
Signature
(calcFunc-freq EXPR)
Documentation
Return the frequency corresponding to EXPR.
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-units.el.gz
(defun calcFunc-freq (expr)
"Return the frequency corresponding to EXPR."
(let (note)
(cond
((setq note (math-midip expr))
(math-midi-to-freq note))
((setq note (math-spnp expr))
(math-spn-to-freq note))
((math-freqp expr)
expr)
(t
(math-reject-arg expr "*Improper expression")))))