Permalink
Browse files

small fix

  • Loading branch information...
1 parent a9bf9d3 commit 68b425fc02fa832196918ab39ecb67edb0a111cb @marvinthepa committed Jul 15, 2012
Showing with 4 additions and 5 deletions.
  1. +1 −2 src/hackbrett/core.clj
  2. +3 −3 src/hackbrett/mapping.clj
View
@@ -130,5 +130,4 @@ play an existing sample by midi-key:
(defn init []
(db/init)
(sound/init)
- (mapping/init)
- )
+ (mapping/init))
@@ -3,7 +3,6 @@
[clojure.tools.logging :only [error]]
[clojure.java.io :only [copy output-stream delete-file as-file]]
[somnium.congomongo :as mongo]
- [hackbrett.mongo :as db] ;; TODO consider moving to mongo ns
[hackbrett.util :as util]
)
(:import com.eaio.uuid.UUID))
@@ -34,7 +33,8 @@
(defn add-sample [bindings button]
(assoc button :sample
- (bindings (:midi-key button))))
+ (:id-filename
+ (bindings (:midi-key button)))))
(defn get-bindings []
(map clean-binding
@@ -91,4 +91,4 @@
(defn init []
(.mkdirs
(as-file
- (uploaded-path))))
+ uploaded-path)))

0 comments on commit 68b425f

Please sign in to comment.