Skip to content

Commit

Permalink
Update docs and vybe.audio/sound
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeodrippe committed Jan 3, 2025
1 parent b8e9bc1 commit c9a3342
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ We have a Github Actions pipeline that builds, tests and publishes to Clojars
for each OS, each has a suffix for its version, check below:

- OSX universal
- `io.github.pfeodrippe/vybe {:mvn/version "0.7.444-macos-universal"}`
- `io.github.pfeodrippe/vybe {:mvn/version "0.7.469-macos-universal"}`
- Linux (x64)
- `io.github.pfeodrippe/vybe {:mvn/version "0.7.444-linux-x64"}`
- `io.github.pfeodrippe/vybe {:mvn/version "0.7.469-linux-x64"}`
- Windows (x64)g
- `io.github.pfeodrippe/vybe {:mvn/version "0.7.444-win-x64"}`
- `io.github.pfeodrippe/vybe {:mvn/version "0.7.469-win-x64"}`

## Getting started

Expand Down
7 changes: 3 additions & 4 deletions src/vybe/audio.clj
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,9 @@
"Macro used to wrap audio calls so we can use it safely for users who
have overtone installed."
[& body]
(let [body-form (list 'do body)]
`(when @*audio-enabled?
#_(eval '(require '[overtone.core :refer :all]))
(eval (quote ~body-form)))))
`(when @*audio-enabled?
#_(eval '(require '[overtone.core :refer :all]))
~@body))

;; ---------------- EXPERIMENTAL
(defonce *buffers (atom []))
Expand Down

0 comments on commit c9a3342

Please sign in to comment.