[CM] Some CM bugs?
Juan Reyes
juanig@ccrma.Stanford.EDU
19 May 2003 11:08:39 -0700
I think that you need to "mapcar" the frequency values inside the list
because the keynum function takes only one argument &rest options. For
example:
CM(3): (keynum 440 :hz)
69.0
The same with the note function:
CM(12): (note 440 :hz)
A4
CM(13): (note 60)
C4
CM(14):
You can find about the arguments of a function by using the apropos
function like:
(apropos 'keynum)
--* Juan
On Mon, 2003-05-19 at 07:57, andres f. castiblanco v. wrote:
>
> When trying to do the examples of chapter10 (just to check), some errors appeared:
>
> 1-'keynum' function didnīt work with lists (just with 'individual' symbols):
>
> [14]> (keynum 440 :hz)
> 69.0
> [15]> (keynum '(440 550 660) :hz)
> (440 550 660)
> [16]> (keynum '(440 550 660))
> (440 550 660)
> [17]> (keynum '(440 550 660) :hertz)
> (440 550 660)
>
> 2-The same, this time with 'note':
>
> [33]> (note '(69 71 72))
> (A4 B4 C5)
> [34]> (note '(220 440 660) :hz)
>