Fork me on GitHub
#overtone
<
2017-06-06
>
xsyn09:06:09

Is this channel active?

xsyn10:06:05

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?

xsyn10:06:13

Sorry, I mean nil

xsyn10:06:03

(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)

  )


xsyn10:06:28

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