Skip to content

Commit

Permalink
release bugfix 0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hlolli committed Oct 11, 2017
1 parent 093b128 commit eff8194
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## Version 0.10.3 (11th October 2017)

# Bug Fix
* `overtone.sc.vbap` any? now called `some-element?` and doesn't rely on Clojure 1.9

## Version 0.10.2 (30th August 2017)

# Breaking Changes
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ collaborating with music. It provides:

# add the following dependencies to insane-noises/project.clj
# [org.clojure/clojure "1.8.0"]
# [overtone "0.10.2"]
# [overtone "0.10.3"]

$ cd insane-noises
$ lein repl
Expand All @@ -62,8 +62,8 @@ collaborating with music. It provides:
user=> (demo (sin-osc))

;; or something more interesting...
user=>(demo 7 (lpf (mix (saw [50 (line 100 1600 5) 101 100.5]))
(lin-lin (lf-tri (line 2 20 5)) -1 1 400 4000)))
user=> (demo 7 (lpf (mix (saw [50 (line 100 1600 5) 101 100.5]))
(lin-lin (lf-tri (line 2 20 5)) -1 1 400 4000)))
```

### Detailed Instructions
Expand Down Expand Up @@ -162,11 +162,12 @@ philosophy of Overtone:

### Performances

* Repl Electric: https://vimeo.com/95988263
* Piotr Jagielski‏: https://www.youtube.com/watch?v=r8YKC7Qugm8
* Sam Aaron Live @ Arnolfini: https://vimeo.com/46867490
* Meta-eX Live @ Music Tech Fest: http://youtu.be/zJqH5bNcIN0?t=15m25s



## Source Repository

Downloads and the source repository can be found on GitHub:
Expand All @@ -181,7 +182,7 @@ ready to submit a patch then fork your own copy and do a pull request.
Overtone and its dependencies are on http://clojars.org, and the
dependency for your `project.clj` is:

[overtone "0.10.2"]
[overtone "0.10.3"]

## Contributors

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
(vec (set (concat (get JVMOPTS :any)
(get JVMOPTS os))))))

(defproject overtone "0.10.2"
(defproject overtone "0.10.3"
:description "Collaborative Programmable Music."
:url "http://overtone.github.io/"
:mailing-list {:name "overtone"
Expand Down
8 changes: 4 additions & 4 deletions src/overtone/sc/vbap.clj
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
(mapv #(v* (inv-det x y z)
(v-perm-prod-diff %1 %2)) [y z x] [z x y]))

;; From clojure 1.9 any? is a core function
;; (def any? (comp boolean some))
(def some-element?
(comp boolean some))

(defn- get-coords [speaker-set]
(into [] (map :coords speaker-set)))
Expand Down Expand Up @@ -180,7 +180,7 @@
"given the coordinate vector of a speaker and the inverse matrix of
a speaker triplet, check, if the speaker is outside the area of the
triplet."
(any? #(< (v-dot ls %) -0.001) inv-matrix))
(some-element? #(< (v-dot ls %) -0.001) inv-matrix))

(defn- remove-triplet
"remove all speakers of triplet from speakers sequence."
Expand Down Expand Up @@ -255,7 +255,7 @@
(rest connections))))))

(defn- contained? [conn connections]
(any? #(= % conn) connections))
(some-element? #(= % conn) connections))

(defn- triplet-connectable? [triplet connections]
"is every speaker pair in the triplet contained in connections?"
Expand Down
2 changes: 1 addition & 1 deletion src/overtone/version.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(def OVERTONE-VERSION {:major 0
:minor 10
:patch 2
:patch 3
:snapshot false})

(def OVERTONE-VERSION-STR
Expand Down

0 comments on commit eff8194

Please sign in to comment.