03 Feb 2012, 13:23
Php_pragsmall

Pierre-Henry Perret (9 posts)

There is two typos missing in the definition of the two functions (p166 protocols.clj):
(key-number [this]..)
and
(play [this tempo midi-channel]...)

Which should be (defn key-number…) and (defn play…)

03 Feb 2012, 13:45
Php_pragsmall

Pierre-Henry Perret (9 posts)

Rectification.

In fact , these behaviors/methods should be defined inside the (extend-type Note...)
so the (defn keyword is not required.

03 Feb 2012, 15:13
Php_pragsmall

Pierre-Henry Perret (9 posts)

Sorry, I hadn’t seen that was all summed up in the midi.clj file :-)

  You must be logged in to comment