overtone

2017-06-06T09:51:09.368790Z

Is this channel active?

2017-06-06T09:54:57.420681Z

Not really.

2017-06-06T09:55:26.427525Z

I'm lurking.

2017-06-06T10:29:05.866472Z

I’ve been using Liepzig-10.0 to compose phrases but it seems that giving it a duration of 0 isn’t causing the rest I expect, does anyone have experience in this?

2017-06-06T10:34:13.930037Z

Sorry, I mean nil

2017-06-06T10:43:03.033018Z

(def drum-a
  (phrase (repeat 1)
          [5 nil nil 5 nil nil nil 5 nil nil nil 5 nil nil nil 5]))

(defmethod live/play-note :kick  [{midi :pitch seconds :duration}]
  (-> midi
      overtone/midi->hz
      (kit-kick)))

(comment

  (->> drum-a
       (tempo (bpm 122))
       live/play)

  )


2017-06-06T10:43:28.037929Z

If I don’t use the nil for the rest, I get sound fine, as soon as I want a rest nothing plays