Anonymous user
Musical scale: Difference between revisions
→{{header|Emacs Lisp}}
(→{{header|Locomotive Basic}}: round frequency to two decimal places) |
|||
Line 327:
=={{header|Emacs Lisp}}==
(Slightly reworked code from [[Sine wave#Emacs Lisp]])
Does not work with the Windows version of Emacs.
<lang lisp>(defun play-scale (freq-list dur)
"Play a list of frequencies."
|