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