Skip to content

Commit

Permalink
Actually adapt to Beat Link API changes, double oops!
Browse files Browse the repository at this point in the history
This time I actually tested it. Sigh. Even though this is kind of a
throwaway release, I really do want people to be able to take
advantage of the latest fixes in Beat Link until Open Beat Control is
ready (and they are ready to move to it).
  • Loading branch information
brunchboy committed Nov 1, 2019
1 parent 31d491a commit 3eceb79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject beat-carabiner "0.1.1"
(defproject beat-carabiner "0.1.2"
:description "A minimal tempo bridge between Pioneer Pro DJ Link and Ableton Link."
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
Expand Down
6 changes: 4 additions & 2 deletions src/beat_carabiner/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@

;; Start the daemons that do everything!
(let [bar-align (not (:beat-align options))]
((.addMasterListener virtual-cdj) ; First set up to respond to master tempo changes and beats.
(.addMasterListener ; First set up to respond to master tempo changes and beats.
virtual-cdj
(reify MasterListener
(masterChanged [_ update]
#_(timbre/info "Master Changed!" update)
Expand All @@ -218,7 +219,8 @@

(timbre/info "Waiting for Pro DJ Link devices...")
(.start device-finder) ; Start watching for any Pro DJ Link devices.
((.addDeviceAnnouncementListener device-finder) ; And set up to respond when they arrive and leave.
(.addDeviceAnnouncementListener
device-finder ; And set up to respond when they arrive and leave.
(reify DeviceAnnouncementListener
(deviceFound [_ announcement]
(timbre/info "Pro DJ Link Device Found:" announcement)
Expand Down

0 comments on commit 3eceb79

Please sign in to comment.