Collaborative Programmable Music

Related tags

overtone
Overview
                                                          888
                                                          888
         _ooooooooo._                                     888
      ,o888PP""""PP88   .d88b.  888  888  .d88b.  888d888 888888 .d88b.  88888b.   .d88b.
    d88P''          '  d88""88b 888  888 d8P  Y8b 888P"   888   d88""88b 888 "88b d8P  Y8b
  ,88P                 88    88 Y88  88P 88888888 888     888   88    88 888  888 88888888
 ,88                   Y88..88P  Y8bd8P  Y8b.     888     Y88b. Y88..88P 888  888 Y8b.
,88'                    "Y88P"    Y88P    "Y8888  888      "Y888 "Y88P"  888  888  "Y8888
d8P
d8b                        88[
`88                       J88
 Y8b                     ,88'
  Y8b.                  d88'
   `Y8b._            _o88P
     `Y888oo.____ooo888P'
        '"PP888888PP''

Collaborative Programmable Music.

Overtone is an Open Source toolkit for designing synthesizers and collaborating with music. It provides:

  • A Clojure API to the SuperCollider synthesis engine
  • A growing library of musical functions (scales, chords, rhythms, arpeggiators, etc.)
  • Metronome and timing system to support live-programming and sequencing
  • Plug and play MIDI device I/O
  • A full Open Sound Control (OSC) client and server implementation.
  • Pre-cache - a system for locally caching external assets such as .wav files
  • An API for querying and fetching sounds from http://freesound.org
  • A global concurrent event stream

Quick Start

Installation

    # Install the clojure-cli tools
    # https://clojure.org/guides/getting_started

    # Create a deps.edn file with a minimum
    # {:deps {overtone/overtone {:mvn/version "0.10.6"}}}
    $ clojure
    $ (use 'overtone.live)
    # Or install leiningen
    # https://github.com/technomancy/leiningen

    $ lein new insane-noises

    # add the following dependencies to insane-noises/project.clj
    # [org.clojure/clojure "1.9.0"]
    # [overtone "0.10.6"]

    $ cd insane-noises
    $ lein repl

Making sounds

    ;; boot the server
    user=> (use 'overtone.live)

    ;; listen to the joys of a simple sine wave
    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)))

Detailed Instructions

For a more detailed set of setup instructions (including details specific to Windows and Linux) head over to the Overtone wiki installation page

We maintain documentation for all aspects of the system in the project wiki, you'll find tutorials and examples on topics such as synthesizing new sounds from scratch, live-coding and generating musical scores on the fly. If you see anything missing, please feel free to add it yourself, or hit us up on the mailing list and we'll sort something out.

Cheat Sheet

For a quick glance at all the exciting functionality Overtone puts at your musical fingertips check out the cheat sheet:

https://github.com/overtone/overtone/raw/master/docs/cheatsheet/overtone-cheat-sheet.pdf

Overtone Powered Bands

A list of bands using Overtone to generate sounds:

Community

Mailing List

We encourage you to join the mailing list to see what other people are getting up to with Overtone. Use it to ask questions, show off what you've made and even meet fellow Overtoners in your area so you can meet up for impromptu jam sessions. All we ask is that you be considerate, courteous and respectful and that you share as much of your code as possible so we can all learn how to make crazy cool sounds together.

Twitter

Follow @overtone on Twitter: http://twitter.com/overtone

Web

Our main website is hosted on GitHub: http://overtone.github.io

Videos

Introductions

Head over to Vimeo for a fast-paced 4 minute introduction to live-coding with Overtone to see what's possible

http://vimeo.com/22798433

For a nice overview of the basics of creating and playing with synthesized instruments in Overtone checkout Philip Potter's 20 minute workshop:

http://skillsmatter.com/podcast/scala/clojurex-unpanel-2894

Chris Ford also delivers a beautifully paced introduction to fundamental music concepts from basic sine waves to Bach's Goldberg Variations with live examples throughout:

http://skillsmatter.com/podcast/home/functional-composition

There are also the following tutorials:

Presentations

Interviews

Overtone has generated quite a bit of interest. Here's a list of available interviews which go into further depth on the background and philosophy of Overtone:

Performances

Source Repository

Downloads and the source repository can be found on GitHub:

http://github.com/overtone/overtone

Clone the repository on GitHub to get started developing, and if you are ready to submit a patch then fork your own copy and do a pull request.

clojure.tools.deps and Leiningen Support

Overtone and its dependencies are on http://clojars.org, and the dependency for your deps.edn is:

    {overtone/overtone {:mvn/version "0.10.6"}}

or for your project.clj (Leiningen)

    [overtone "0.10.6"]

Contributors

See: https://github.com/overtone/overtone/graphs/contributors

Issues
  • Native dependencies don't load with Java 7 on Linux

    Native dependencies don't load with Java 7 on Linux

    Getting this with Leiningen 1 and 2, but this particular issue doesn't occur with OpenJDK 6:

    ~/src/overtone $ lein1 version
    Leiningen 1.7.1 on Java 1.7.0-release OpenJDK 64-Bit Server VM
    ~/src/overtone $ lein1 repl
    REPL started; server listening on localhost port 52908
    user=> (use 'overtone.live)
    java.lang.UnsatisfiedLinkError: Unable to load library 'scsynth_jna': libjack.so.0: cannot open shared object file: No such file or directory
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:164)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:237)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:200)
        at com.sun.jna.Native.register(Native.java:1013)
        at supercollider.internal.ScSynthLibrary.<clinit>(ScSynthLibrary.java:100)
        at supercollider.ScSynth.run(ScSynth.java:110)
        at overtone.sc.machinery.server.connection$internal_booter.invoke(connection.clj:160)
        at clojure.lang.AFn.run(AFn.java:24)
        at java.lang.Thread.run(Thread.java:722)
    Exception in thread "Thread-5" java.lang.UnsatisfiedLinkError: supercollider.internal.ScSynthLibrary.scsynth_jna_init()I
        at supercollider.internal.ScSynthLibrary.scsynth_jna_init(Native Method)
        at supercollider.ScSynth.run(ScSynth.java:110)
        at overtone.sc.machinery.server.connection$internal_booter.invoke(connection.clj:160)
        at clojure.lang.AFn.run(AFn.java:24)
        at java.lang.Thread.run(Thread.java:722)
    Exception The following deps took too long to be satisfied: :server-ready  overtone.libs.deps/wait-until-deps-satisfied (deps.clj:148)
    
    opened by technomancy 39
  • 0.8.0-RC15

    0.8.0-RC15 "at within at" failure

    With RC15, this code fails with a timeout error below. If I back up to RC10, the code works and a sin wave is heard for 1 second.

    The code is just trying to schedule a note-off event from within a note-on event call scheduled via at.

    (use 'overtone.live)
    (defsynth sin-synth [note 68 gate 1]
      (out 0 (pan2 (* (env-gen (adsr 0.1 0.1 0.9 0.1 0.9 -4)
                               :gate gate :action FREE)
                      (sin-osc (midicps note))))))
    
    (defn play-note [t d]
      (let [sid (sin-synth)]
        (at (+ t d) (ctl sid :gate 0))))
    
     (defn play-note-now []
      (let [t (now)]
        (at t (play-note t 1000))))
    
    (play-note-now)
    

    The error is

    deref! timeout error. Dereference took longer than 5000 ms
      [Thrown class java.util.concurrent.TimeoutException]
    
    Restarts:
     0: [QUIT] Quit to the SLIME top level
    
    Backtrace:
      0:         lib.clj:266 overtone.helpers.lib/deref!
      1:         lib.clj:261 overtone.helpers.lib/deref!
      2:        node.clj:505 overtone.sc.node/node-block-until-ready*
      3:         node.clj:35 overtone.sc.node/eval4851[fn]
      4:        node.clj:218 overtone.sc.node/ensure-node-active!
      5:        node.clj:388 overtone.sc.node/node-control*
      6:         node.clj:45 overtone.sc.node/eval4851[fn]
      7:        node.clj:572 overtone.sc.node/ctl
      8:     RestFn.java:439 clojure.lang.RestFn.invoke
      9:        Var.java:409 clojure.lang.Var.invoke
     10:    NO_SOURCE_FILE:1 user/play-note
     11:    NO_SOURCE_FILE:1 user/play-note-now
     12:    NO_SOURCE_FILE:1 user/eval16383
    
    opened by rogerallen 33
  • irso project

    irso project "noise" issue with RC17

    Even after fixing #210, I still hear an issue with RC17 and my irso project. It was working up to about RC10, I think.

    To repro, clone https://github.com/rogerallen/irso and within the project directory do (turn your volume down first) lein run :testso. After loading Overtone, a window with an animated scale should appear & you should hear the scale play 3 times. When finished, overtone/clojure is killed off & the window is closed.

    The error is that sometimes (about 3 of every 5 cases?) when I do lein run :testso the window appears and I hear noise that plays for the entire test. The only clue I have for now is that the noise starts up well before the first note is played.

    I will try to investigate further by manually starting things when I have time this weekend. At the moment, I don't have ideas on how to get debug messages from the server to see what might be happening. It is as if a "noise" synth gets started on loading overtone.

    opened by rogerallen 27
  • Error when using midi-poly-player

    Error when using midi-poly-player

    Not sure if I'm just using it wrong or what, but I'm getting errors when releasing notes with the example code for midi-poly-player

    The following gist has the stacktrace and my source: https://gist.github.com/4300951

    opened by sasha1sum 25
  • Exception in Thread-9,11 and 6 for (boot-external-server) and TimeoutException for (connect-external-server)

    Exception in Thread-9,11 and 6 for (boot-external-server) and TimeoutException for (connect-external-server)

    I am trying to run Overtone 0.10.1 with SuperCollider 3.8.0 on my Windows 10 64bit system and I am getting the following errors,

    I was following the tutorial Connecting scsynth, and instead of (use 'overtone.core) I had to use (ns scratch.core (:require [overtone.core :refer :all])) or (ns user (:require [overtone.core :refer :all]))otherwise I'd get unresolved symbol error for (boot-external-server) and (connect-external-server 57110)

    Using RELP - user namespace

    With (boot-external-server)

    user=>  (ns user (:require [overtone.core :refer :all]))
    --> Loading Overtone...
    --> Please boot a server to start making noise:
        * (boot-server)             ; boot default server (honours config)
        * (boot-internal-server)    ; boot an internal server
        * (boot-external-server)    ; boot an external server
        * (connect-external-server) ; connect to an existing external server
    
    nil
    
    user=> (boot-external-server)
    --> Booting external SuperCollider server...
    --> Connecting to external SuperCollider server: 127.0.0.1:36131
    Exception in thread "Thread-9" java.lang.NullPointerException
            at java.io.File.<init>(File.java:277)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
            at clojure.lang.Reflector.invokeConstructor(Reflector.java:180)
            at overtone.sc.machinery.server.connection$external_booter.invokeStatic(connection.clj:229)
            at overtone.sc.machinery.server.connection$external_booter.invoke(connection.clj:224)
            at overtone.sc.machinery.server.connection$boot_external_server$fn__4091.invoke(connection.clj:308)
            at clojure.lang.AFn.run(AFn.java:22)
            at java.lang.Thread.run(Thread.java:748)
    
    Exception Error: unable to connect to externally booted server after 50 attempts.  overtone.sc.machinery.server.connection/external-connection-runner (connection.clj:150)
    

    With (connect-external-server 57110) when SuperCollider server running at port 57110

    user=> (connect-external-server 57110)
    --> Connecting to external SuperCollider server: 127.0.0.1:57110
    java.util.concurrent.TimeoutException: deref! timeout error. Dereference took longer than 5000 ms whilst whilst turning server notifications on
            at overtone.helpers.lib$deref_BANG_.invokeStatic(lib.clj:275)
            at overtone.helpers.lib$deref_BANG_.invoke(lib.clj:261)
            at overtone.helpers.lib$deref_BANG_.invokeStatic(lib.clj:269)
            at overtone.helpers.lib$deref_BANG_.invoke(lib.clj:261)
            at overtone.sc.machinery.server.connection$server_notifications_on.invokeStatic(connection.clj:61)
            at overtone.sc.machinery.server.connection$server_notifications_on.invoke(connection.clj:30)
            at overtone.sc.machinery.server.connection$setup_connect_handlers$handler_fn__4041.invoke(connection.clj:109)
            at overtone.libs.handlers$run_handler.invokeStatic(handlers.clj:135)
            at overtone.libs.handlers$run_handler.invoke(handlers.clj:129)
            at overtone.libs.handlers$run_one_shot_handlers.invokeStatic(handlers.clj:199)
            at overtone.libs.handlers$run_one_shot_handlers.invoke(handlers.clj:193)
            at overtone.libs.handlers$emhs_handle_async_one_shots$fn__2671.invoke(handlers.clj:206)
            at clojure.lang.AFn.run(AFn.java:22)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:748)
    
    Exception The following deps took too long (20 seconds) to be satisfied: :server-ready  overtone.libs.deps/wait-until-deps-satisfied (deps.clj:184)
    

    Using RELP - scratch.core namespace

    Using (boot-external-server)

    user=> (ns scratch.core (:require [overtone.core :refer :all]))
    --> Loading Overtone...
    --> Please boot a server to start making noise:
        * (boot-server)             ; boot default server (honours config)
        * (boot-internal-server)    ; boot an internal server
        * (boot-external-server)    ; boot an external server
        * (connect-external-server) ; connect to an existing external server
    
    nil
    scratch.core=> (boot-external-server)
    --> Booting external SuperCollider server...
    --> Connecting to external SuperCollider server: 127.0.0.1:14696
    Exception in thread "Thread-11" java.lang.NullPointerException
            at java.io.File.<init>(File.java:277)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
            at clojure.lang.Reflector.invokeConstructor(Reflector.java:180)
            at overtone.sc.machinery.server.connection$external_booter.invokeStatic(connection.clj:229)
            at overtone.sc.machinery.server.connection$external_booter.invoke(connection.clj:224)
            at overtone.sc.machinery.server.connection$boot_external_server$fn__4091.invoke(connection.clj:308)
            at clojure.lang.AFn.run(AFn.java:22)
            at java.lang.Thread.run(Thread.java:748)
    
    Exception Error: unable to connect to externally booted server after 50 attempts.  overtone.sc.machinery.server.connection/external-connection-runner (connection.clj:150)
    

    Using (connect-external-server 57110) when SuperCollider server running at port 57110

    scratch.core=> (connect-external-server 57110)
    --> Connecting to external SuperCollider server: 127.0.0.1:57110
    java.util.concurrent.TimeoutException: deref! timeout error. Dereference took longer than 5000 ms whilst whilst turning server notifications on
            at overtone.helpers.lib$deref_BANG_.invokeStatic(lib.clj:275)
            at overtone.helpers.lib$deref_BANG_.invoke(lib.clj:261)
            at overtone.helpers.lib$deref_BANG_.invokeStatic(lib.clj:269)
            at overtone.helpers.lib$deref_BANG_.invoke(lib.clj:261)
            at overtone.sc.machinery.server.connection$server_notifications_on.invokeStatic(connection.clj:61)
            at overtone.sc.machinery.server.connection$server_notifications_on.invoke(connection.clj:30)
            at overtone.sc.machinery.server.connection$setup_connect_handlers$handler_fn__4041.invoke(connection.clj:109)
            at overtone.libs.handlers$run_handler.invokeStatic(handlers.clj:135)
            at overtone.libs.handlers$run_handler.invoke(handlers.clj:129)
            at overtone.libs.handlers$run_one_shot_handlers.invokeStatic(handlers.clj:199)
            at overtone.libs.handlers$run_one_shot_handlers.invoke(handlers.clj:193)
            at overtone.libs.handlers$emhs_handle_async_one_shots$fn__2671.invoke(handlers.clj:206)
            at clojure.lang.AFn.run(AFn.java:22)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:748)
    
    Exception The following deps took too long (20 seconds) to be satisfied: :server-ready  overtone.libs.deps/wait-until-deps-satisfied (deps.clj:184)
    

    Using Source File

    With (boot-external-server)

    src/scratch/core.clj contains,

    (ns scratch.core (:require [overtone.core :refer :all]))
    
    (defn -main []
    	(boot-external-server)
    )
    

    lein run yeilds the following output,

    --> Loading Overtone...
    --> Please boot a server to start making noise:
        * (boot-server)             ; boot default server (honours config)
        * (boot-internal-server)    ; boot an internal server
        * (boot-external-server)    ; boot an external server
        * (connect-external-server) ; connect to an existing external server
    
    --> Booting external SuperCollider server...
    --> Connecting to external SuperCollider server: 127.0.0.1:47831
    Exception in thread "Thread-6" java.lang.NullPointerException
            at java.io.File.<init>(File.java:277)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
            at clojure.lang.Reflector.invokeConstructor(Reflector.java:180)
            at overtone.sc.machinery.server.connection$external_booter.invokeStatic(connection.clj:229)
            at overtone.sc.machinery.server.connection$external_booter.invoke(connection.clj:224)
            at overtone.sc.machinery.server.connection$boot_external_server$fn__2865.invoke(connection.clj:308)
            at clojure.lang.AFn.run(AFn.java:22)
            at java.lang.Thread.run(Thread.java:748)
    Exception in thread "main" java.lang.Exception: Error: unable to connect to externally booted server after 50 attempts., compiling:(C:\Users\irfan\AppData\Local\Temp\form-init4394510259547250245.clj:1:108)
            at clojure.lang.Compiler.load(Compiler.java:7391)
            at clojure.lang.Compiler.loadFile(Compiler.java:7317)
            at clojure.main$load_script.invokeStatic(main.clj:275)
            at clojure.main$init_opt.invokeStatic(main.clj:277)
            at clojure.main$init_opt.invoke(main.clj:277)
            at clojure.main$initialize.invokeStatic(main.clj:308)
            at clojure.main$null_opt.invokeStatic(main.clj:342)
            at clojure.main$null_opt.invoke(main.clj:339)
            at clojure.main$main.invokeStatic(main.clj:421)
            at clojure.main$main.doInvoke(main.clj:384)
            at clojure.lang.RestFn.invoke(RestFn.java:421)
            at clojure.lang.Var.invoke(Var.java:383)
            at clojure.lang.AFn.applyToHelper(AFn.java:156)
            at clojure.lang.Var.applyTo(Var.java:700)
            at clojure.main.main(main.java:37)
    Caused by: java.lang.Exception: Error: unable to connect to externally booted server after 50 attempts.
            at overtone.sc.machinery.server.connection$external_connection_runner.invokeStatic(connection.clj:150)
            at overtone.sc.machinery.server.connection$external_connection_runner.invoke(connection.clj:128)
            at overtone.sc.machinery.server.connection$connect$fn__2833.invoke(connection.clj:173)
            at clojure.lang.AFn.run(AFn.java:22)
            at java.lang.Thread.run(Thread.java:748)
            at overtone.sc.machinery.server.connection$connect.invokeStatic(connection.clj:173)
            at overtone.sc.machinery.server.connection$connect.invoke(connection.clj:153)
            at overtone.sc.machinery.server.connection$boot_external_server.invokeStatic(connection.clj:316)
            at overtone.sc.machinery.server.connection$boot_external_server.invoke(connection.clj:297)
            at overtone.sc.machinery.server.connection$boot$fn__2874.invoke(connection.clj:354)
            at overtone.sc.machinery.server.connection$boot.invokeStatic(connection.clj:340)
            at overtone.sc.machinery.server.connection$boot.invoke(connection.clj:327)
            at overtone.sc.server$boot_external_server.invokeStatic(server.clj:135)
            at overtone.sc.server$boot_external_server.invoke(server.clj:128)
            at overtone.sc.server$boot_external_server.invokeStatic(server.clj:133)
            at overtone.sc.server$boot_external_server.invoke(server.clj:128)
            at overtone.sc.server$boot_external_server.invokeStatic(server.clj:132)
            at overtone.sc.server$boot_external_server.invoke(server.clj:128)
            at clojure.lang.Var.invoke(Var.java:375)
            at scratch2.core$_main.invokeStatic(core.clj:4)
            at scratch2.core$_main.invoke(core.clj:3)
            at clojure.lang.Var.invoke(Var.java:375)
            at user$eval5.invokeStatic(form-init4394510259547250245.clj:1)
            at user$eval5.invoke(form-init4394510259547250245.clj:1)
            at clojure.lang.Compiler.eval(Compiler.java:6927)
            at clojure.lang.Compiler.eval(Compiler.java:6917)
            at clojure.lang.Compiler.load(Compiler.java:7379)
            ... 14 more
    

    Using (connect-external-server 57110) when SuperCollider server running at port 57110

    src/scratch/core.clj contains,

    (ns scratch2.core (:require [overtone.core :refer :all]))
    
    (defn -main []
    	(connect-external-server 57110)
    )
    

    lein run yeilds the following output,

    --> Loading Overtone...
    --> Please boot a server to start making noise:
        * (boot-server)             ; boot default server (honours config)
        * (boot-internal-server)    ; boot an internal server
        * (boot-external-server)    ; boot an external server
        * (connect-external-server) ; connect to an existing external server
    
    --> Connecting to external SuperCollider server: 127.0.0.1:57110
    java.util.concurrent.TimeoutException: deref! timeout error. Dereference took longer than 5000 ms whilst whilst turning server notifications on
            at overtone.helpers.lib$deref_BANG_.invokeStatic(lib.clj:275)
            at overtone.helpers.lib$deref_BANG_.invoke(lib.clj:261)
            at overtone.helpers.lib$deref_BANG_.invokeStatic(lib.clj:269)
            at overtone.helpers.lib$deref_BANG_.invoke(lib.clj:261)
            at overtone.sc.machinery.server.connection$server_notifications_on.invokeStatic(connection.clj:61)
            at overtone.sc.machinery.server.connection$server_notifications_on.invoke(connection.clj:30)
            at overtone.sc.machinery.server.connection$setup_connect_handlers$handler_fn__2815.invoke(connection.clj:109)
            at overtone.libs.handlers$run_handler.invokeStatic(handlers.clj:135)
            at overtone.libs.handlers$run_handler.invoke(handlers.clj:129)
            at overtone.libs.handlers$run_one_shot_handlers.invokeStatic(handlers.clj:199)
            at overtone.libs.handlers$run_one_shot_handlers.invoke(handlers.clj:193)
            at overtone.libs.handlers$emhs_handle_async_one_shots$fn__1445.invoke(handlers.clj:206)
            at clojure.lang.AFn.run(AFn.java:22)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at java.lang.Thread.run(Thread.java:748)
    Exception in thread "main" java.lang.Exception: The following deps took too long (20 seconds) to be satisfied: :server-ready, compiling:(C:\Users\irfan\AppData\Local\Temp\form-init5611101397773523451.clj:1:108)
            at clojure.lang.Compiler.load(Compiler.java:7391)
            at clojure.lang.Compiler.loadFile(Compiler.java:7317)
            at clojure.main$load_script.invokeStatic(main.clj:275)
            at clojure.main$init_opt.invokeStatic(main.clj:277)
            at clojure.main$init_opt.invoke(main.clj:277)
            at clojure.main$initialize.invokeStatic(main.clj:308)
            at clojure.main$null_opt.invokeStatic(main.clj:342)
            at clojure.main$null_opt.invoke(main.clj:339)
            at clojure.main$main.invokeStatic(main.clj:421)
            at clojure.main$main.doInvoke(main.clj:384)
            at clojure.lang.RestFn.invoke(RestFn.java:421)
            at clojure.lang.Var.invoke(Var.java:383)
            at clojure.lang.AFn.applyToHelper(AFn.java:156)
            at clojure.lang.Var.applyTo(Var.java:700)
            at clojure.main.main(main.java:37)
    Caused by: java.lang.Exception: The following deps took too long (20 seconds) to be satisfied: :server-ready
            at overtone.libs.deps$wait_until_deps_satisfied.invokeStatic(deps.clj:184)
            at overtone.libs.deps$wait_until_deps_satisfied.invoke(deps.clj:168)
            at overtone.libs.deps$wait_until_deps_satisfied.invokeStatic(deps.clj:174)
            at overtone.libs.deps$wait_until_deps_satisfied.invoke(deps.clj:168)
            at overtone.sc.server$connect_external_server.invokeStatic(server.clj:125)
            at overtone.sc.server$connect_external_server.invoke(server.clj:118)
            at overtone.sc.server$connect_external_server.invokeStatic(server.clj:122)
            at overtone.sc.server$connect_external_server.invoke(server.clj:118)
            at clojure.lang.Var.invoke(Var.java:379)
            at scratch2.core$_main.invokeStatic(core.clj:4)
            at scratch2.core$_main.invoke(core.clj:3)
            at clojure.lang.Var.invoke(Var.java:375)
            at user$eval5.invokeStatic(form-init5611101397773523451.clj:1)
            at user$eval5.invoke(form-init5611101397773523451.clj:1)
            at clojure.lang.Compiler.eval(Compiler.java:6927)
            at clojure.lang.Compiler.eval(Compiler.java:6917)
            at clojure.lang.Compiler.load(Compiler.java:7379)
            ... 14 more
    
    opened by quazi-irfan 24
  • Issues using overtone.core

    Issues using overtone.core

    Updated description:

    If you try and load the following file from a REPL before booting a server or using overtone.live then you get the :to-synth-id of protocol error described in the comments below:

    (ns this.fails
      (:use overtone.core))
    
    
    (definst bebble []
      (out 0  (sin-osc)))
    

    Issue initially was:

    I cannot get Overtone 0.7.0-SNAPSHOT to run reliably on Windows XP.

    I've updated my project.clj to use 0.7.0-SNAPSHOT, ran lein deps. Started Emacs and do M-x clojure-jack-in

    user> (definst foo [] (sin-osc))
    #<instrument: foo>
    user> (foo)
    #overtone.sc.node.SynthNode{:synth "foo", :id 29, :target 26, :position 1, :status #<[email protected]: :loading>}
    user> (stop)
    nil
    user> (definst sin-wave [freq 440 attach 0.01 sustain 0.4 release 0.1 vol 0.4] (* (env-gen (lin-env attach sustain release) 1 1 0 1 FREE) (sin-osc freq) vol))
    #<instrument: sin-wave>
    user> (sin-wave)
    #overtone.sc.node.SynthNode{:synth "sin-wave", :id 33, :target 30, :position 1, :status #<[email protected]: :loading>}
    user> 
    

    So far so good, sound is produced.

    Now I try to load a file with the following contents (only containing one of the wiki examples)

      (ns overtone_test.core
      (:use [overtone.core]))
    
      (definst saw-wave [freq 440 attack 0.01 sustain 0.4 release 0.1 vol 0.4] 
      (* (env-gen (lin-env attack sustain release) 1 1 0 1 FREE)
         (saw freq)
         vol))
    

    When I try to load this file I get an exception:

      No implementation of method: :to-synth-id of protocol: #'overtone.sc.node/to-synth-id* found for class: nil
      [Thrown class java.lang.IllegalArgumentException]
    
    Restarts:
     0: [QUIT] Quit to the SLIME top level
    
    Backtrace:
      0:     core_deftype.clj:495 clojure.core/-cache-protocol-fn
      1:              node.clj:48 overtone.sc.node/eval4820[fn]
      2:             node.clj:188 overtone.sc.node/group
      3:             node.clj:185 overtone.sc.node/group
      4:               test.clj:4 overtone-test.core/fn
    ....
    

    I'm sorry that I cannot pinpoint the problem further. None of my examples created with 0.6.0 work with 0.7.0 and although I can produce some sound when interacting from the repl as soon as I try to load a file I get this exception.

    opened by xokomola 17
  • Freesound API out of date

    Freesound API out of date

    As mentioned by Joakim on the mailing list, the Freesound API no longer responds.

    --> Asset not cached - starting download...
    --> Downloading file  - http://www.freesound.org/api/sounds/[2086]?api_key=47efd585321048819a2328721507ee23
      Download timed out. Retry 1: http://www.freesound.org/api/sounds/[2086]?api_key=47efd585321048819a2328721507ee23
    

    When submitting the URL in a browser, one gets this error message: { "status_code": 410, "explanation": "Freesound APIv1 has reached its end of life and is no longer available. Please, upgrade to Freesound APIv2. More information: http://www.freesound.org/docs/api/", "type": "Gone", "error": true }

    I understand Overtone needs updating to the Freesound APIv2 (and OAuth2 authentication) http://www.freesound.org/docs/api/authentication.html#oauth-authentication

    opened by Mestelan 14
  • JVM crashes while booting up overtone

    JVM crashes while booting up overtone

    After the last git pull, I'm getting the following JVM crash when executing (use 'overtone.live) on Ubuntu 13.04 64bits

    A fatal error has been detected by the Java Runtime Environment:

    SIGSEGV (0xb) at pc=0x00007f0ec9106671, pid=5337, tid=139699517339392

    JRE version: 7.0_09-b05 Java VM: Java HotSpot(TM) 64-Bit Server VM (23.5-b02 mixed mode linux-amd64 compressed oops) Problematic frame: C [ld-linux-x86-64.so.2+0x15671] _dl_make_stack_executable+0x27e1

    Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

    An error report file with more information is saved as: /home/nicoletto/dev/clojure/libs/overtone/overtone/hs_err_pid5337.log

    If you would like to submit a bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.

    Found 0 LADSPA plugins *** ERROR: dlsym load err '/home/nicoletto/dev/clojure/libs/overtone/overtone/native/linux/x86_64/libscsynth.so: undefined symbol: load' *** ERROR: dlsym load err '/home/nicoletto/dev/clojure/libs/overtone/overtone/native/linux/x86_64/libjogl.so: undefined symbol: load' *** ERROR: dlopen '/home/nicoletto/dev/clojure/libs/overtone/overtone/native/linux/x86_64/libjogl_awt.so' err 'libjawt.so: cannot open shared object file: No such file or directory' Exception in thread "Thread-1" java.net.SocketException: The transport's socket appears to have lost its connection to the nREPL server transport.clj:95 clojure.tools.nrepl.transport/bencode[fn] transport.clj:95 clojure.tools.nrepl.transport/bencode[fn] transport.clj:42 clojure.tools.nrepl.transport/fn-transport[fn] core.clj:1836 clojure.core/binding-conveyor-fn[fn] AFn.java:18 clojure.lang.AFn.call (Unknown Source) java.util.concurrent.FutureTask$Sync.innerRun (Unknown Source) java.util.concurrent.FutureTask.run (Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker (Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run clojure.lang.ExceptionInfo: Subprocess failed {:exit-code 134} (Unknown Source) java.lang.Thread.run at clojure.core$ex_info.invoke(core.clj:4327) at leiningen.core.eval$fn__1965.invoke(eval.clj:214) at clojure.lang.MultiFn.invoke(MultiFn.java:231) at leiningen.core.eval$eval_in_project.invoke(eval.clj:283)Bye for now! at leiningen.repl$start_server.invoke(repl.clj:104) at leiningen.repl$server$fn__4422.invoke(repl.clj:172) at clojure.lang.AFn.applyToHelper(AFn.java:159) at clojure.lang.AFn.applyTo(AFn.java:151) at clojure.core$apply.invoke(core.clj:617) at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1788) at clojure.lang.RestFn.invoke(RestFn.java:425) at clojure.lang.AFn.applyToHelper(AFn.java:163) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.core$apply.invoke(core.clj:621) at clojure.core$bound_fn_STAR_$fn__4102.doInvoke(core.clj:1810) at clojure.lang.RestFn.invoke(RestFn.java:397) at clojure.lang.AFn.run(AFn.java:24) at java.lang.Thread.run(Unknown Source)

    opened by tech-Nico 14
  • Exception in thread

    Exception in thread "main" java.lang.Exception: EOF while reading (project.clj:5)

    So I followed the installation instructions "to a 'T'" and when I run 'lein deps' or 'lein repl' I get the following error. If anyone could give me a easy explanation (I'm new at this) of how I can get things up and running that would be much appreciated.

    [email protected]:~/insane-noises$ lein deps Exception in thread "main" java.lang.Exception: EOF while reading (project.clj:5) at clojure.lang.Compiler.load(Compiler.java:5864) at clojure.lang.Compiler.loadFile(Compiler.java:5821) at clojure.lang.RT$3.invoke(RT.java:296) at leiningen.core$read_project$fn__2128.invoke(core.clj:127) at leiningen.core$read_project.invoke(core.clj:126) at leiningen.core$read_project.invoke(core.clj:130) at leiningen.core$_main.doInvoke(core.clj:320) at clojure.lang.RestFn.invoke(RestFn.java:410) at clojure.lang.AFn.applyToHelper(AFn.java:161) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.core$apply.invoke(core.clj:542) at leiningen.core$_main.invoke(core.clj:332) at user$eval42.invoke(NO_SOURCE_FILE:1) at clojure.lang.Compiler.eval(Compiler.java:5425) at clojure.lang.Compiler.eval(Compiler.java:5392) at clojure.core$eval.invoke(core.clj:2382) at clojure.main$eval_opt.invoke(main.clj:235) at clojure.main$initialize.invoke(main.clj:254) at clojure.main$script_opt.invoke(main.clj:270) at clojure.main$main.doInvoke(main.clj:354) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:377) at clojure.lang.AFn.applyToHelper(AFn.java:172) at clojure.lang.Var.applyTo(Var.java:482) at clojure.main.main(main.java:37) Caused by: java.lang.Exception: EOF while reading at clojure.lang.LispReader.readDelimitedList(LispReader.java:1043) at clojure.lang.LispReader$ListReader.invoke(LispReader.java:900) at clojure.lang.LispReader.read(LispReader.java:145) at clojure.lang.Compiler.load(Compiler.java:5854) ... 24 more

    opened by psivesely 13
  • stderr not being flushed?

    stderr not being flushed?

    I was hoping when issue #138 was fixed that it would also fix stderr flushing. I'm noticing that I don't see these messages when running "lein swank" until after I quit the session. They used to show up right away in 0.7.1. Oh, with "lein repl", I don't see them at all, but that is yet-another issue.

    For example...from a recent shell session:

    lein swank Listening for transport dt_socket at address: 54002 Connection opened on localhost port 4005.

    [the above info shows up immediately. Then I slime-connect in emacs & play away, finally doing a (System/exit 0) to quit. After that, I get the following]

    Found 0 LADSPA plugins Number of Devices: 5 0 : "Built-in Microphone" 1 : "Built-in Input" 2 : "Built-in Output" 3 : "Soundflower (2ch)" 4 : "Soundflower (64ch)"

    "Built-in Microphone" Input Device Streams: 1 0 channels 2

    "Built-in Output" Output Device Streams: 1 0 channels 2

    SC_AudioDriver: sample rate = 44100.000000, driver's block size = 512 late 0.029315464 late 0.019521905 late 0.023523254

    I'm not so concerned with the device info, but the late messages could provide important hints on code construction. I would expect other important stderr messages could be missed, too.

    Can stderr be flushed, too?

    --Roger

    opened by rogerallen 13
  • Freesound API - Access has been denied.

    Freesound API - Access has been denied.

    This may not be be an issue with overtone per-se but I cannot run the examples that use the freesound API. When directed to the OAuth authorization page and clicking allow "Authorize!", "Access has been denied." is displayed.

    Clojure: 1.10.1 Overtone: 0.10.6 Browser: Firefox 88.0.1

    opened by livmackintosh 0
  • Unable to load `overtone.live` namespace on MacOS

    Unable to load `overtone.live` namespace on MacOS

    I'm experimenting with overtone 0.10.6 on MacOS 11.2.3 (Big Sur) using leiningen and JDK 14. I'm getting this error when I add (:require [overtone.live :as ol]) to my ns declaration.

    Syntax error (NullPointerException) compiling at (overtone/jna_path.clj:37:1).
    Cannot invoke "org.eclipse.aether.RepositorySystem.newLocalRepositoryManager(org.eclipse.aether.RepositorySystemSession, org.eclipse.aether.repository.LocalRepository)" because "system" is null
    
    ;; Detailed stacktrace
    1. Caused by java.lang.NullPointerException
       Cannot invoke
       "org.eclipse.aether.RepositorySystem.newLocalRepositoryManager(org.eclipse.aether.RepositorySystemSession,
       org.eclipse.aether.repository.LocalRepository)" because "system" is null
    
                     maven.clj:  197  clojure.tools.deps.alpha.util.maven/make-session
                     maven.clj:  194  clojure.tools.deps.alpha.util.maven/make-session
                     maven.clj:   94  clojure.tools.deps.alpha.extensions.maven/eval18401/fn/fn
                   session.clj:   23  clojure.tools.deps.alpha.util.session/retrieve
                   session.clj:   14  clojure.tools.deps.alpha.util.session/retrieve
                     maven.clj:   94  clojure.tools.deps.alpha.extensions.maven/eval18401/fn
                  MultiFn.java:  244  clojure.lang.MultiFn/invoke
                     alpha.clj:  192  clojure.tools.deps.alpha/expand-deps/fn
                     alpha.clj:  191  clojure.tools.deps.alpha/expand-deps
                     alpha.clj:  169  clojure.tools.deps.alpha/expand-deps
                     alpha.clj:  237  clojure.tools.deps.alpha/resolve-deps
                     alpha.clj:  217  clojure.tools.deps.alpha/resolve-deps
                     alpha.clj:  231  clojure.tools.deps.alpha/resolve-deps
                     alpha.clj:  217  clojure.tools.deps.alpha/resolve-deps
                    bundle.clj:  198  badigeon.bundle/extract-native-dependencies
                    bundle.clj:  182  badigeon.bundle/extract-native-dependencies
                  jna_path.clj:   38  overtone.jna-path/eval19081
                  jna_path.clj:   38  overtone.jna-path/eval19081
                 Compiler.java: 7177  clojure.lang.Compiler/eval
                 Compiler.java: 7636  clojure.lang.Compiler/load
                       RT.java:  381  clojure.lang.RT/loadResourceScript
                       RT.java:  372  clojure.lang.RT/loadResourceScript
                       RT.java:  459  clojure.lang.RT/load
    
    

    I searched through issues and found this which looks related: https://github.com/overtone/overtone/issues/349 I tried (connect-external-server) but got this error:

    --> Connecting to external SuperCollider server: 127.0.0.1:57110
    Execution error at overtone.sc.machinery.server.connection/external-connection-runner (connection.clj:167).
    Error: unable to connect to externally booted server after 50 attempts.
    Make sure that you have Server.local.options.maxLogins set to greater than 1 in startup file (startup.scd).
    Or if you're on Windows, make sure that the Windows defender isn't blocking the scsynth.exe
    

    After that, I tried to run (require '[overtone.live :as ol]) again and got a different error than before:

    Exception in thread "Thread-31" java.lang.NullPointerException: Cannot invoke "clojure.lang.IFn.invoke()"
    	at clj_native.structs$byref.invokeStatic(structs.clj:178)
    	at clj_native.structs$byref.invoke(structs.clj:174)
    	at overtone.sc.machinery.server.native$scsynth.invokeStatic(native.clj:237)
    	at overtone.sc.machinery.server.native$scsynth.invoke(native.clj:230)
    	at overtone.sc.machinery.server.connection$internal_booter.invokeStatic(connection.clj:205)
    	at overtone.sc.machinery.server.connection$internal_booter.invoke(connection.clj:200)
    	at overtone.sc.machinery.server.connection$boot_internal_server$fn__20451.invoke(connection.clj:225)
    	at clojure.lang.AFn.run(AFn.java:22)
    	at java.base/java.lang.Thread.run(Thread.java:832)
    
    
    opened by jumarko 0
  • New release and

    New release and "Must hint overloaded method: toArray" when using overtone 0.10.6 with leiningen and JDK 14

    It seems it's worth to make a new release after a while - these are the changes since the last 0.10.6 release: https://github.com/overtone/overtone/compare/799dbdbf566b2e226178ad0ddd61ca415e5306cf...master

    In particular when I use 0.10.6 in my project I get this error - I'm running with Leiningen 2.9.5 and JDK 14:

    lein -v
    ...
    Leiningen 2.9.5 on Java 14.0.1 OpenJDK 64-Bit Server VM
    
    lein repl
    ...
    Exception in thread "main" Syntax error compiling deftype* at (clojure/core/rrb_vector/rrbt.clj:282:1).
    ...
    Caused by: java.lang.IllegalArgumentException: Must hint overloaded method: toArray
    

    This is a well-known issue with JDK 11+ and has been fixed in core.rrb-vector: https://ask.clojure.org/index.php/6866/core-rrb-vector-fails-on-jdk-11-ea-builds When I cloned the new repo it seems to have much less dependencies than the old version and also some dependencies have been updated so I guess the issue is automatically resolved.

    opened by jumarko 0
  • [Q] How to set output volume?

    [Q] How to set output volume?

    E.g., in this example:

    (demo 1
          (let [vals (dwhite 0 15 INF)
                trig (impulse:kr (mouse-x 1 40 1))
                val (demand:kr trig 0 vals)
                poll (poll trig val "diwhite val:")
                freq (+ 340 (* 30 val))]
            (* 0.1 (sin-osc freq))))
    
    opened by NightMachinary 5
  • freesound function - NullPointerException

    freesound function - NullPointerException

    I've tried a few different combos of versions of Clojure/Overtone, and I still seem to get a NullPointerException with the freesound function.

    After the first try ( after which the file seems to be cached) it behaves like this:

    user=> (freesound 41155)
    
    Execution error (NullPointerException) at overtone.sc.buffer/assert-less-than-max-buffers (buffer.clj:67).
    null
    

    My (current) project.clj:

      :description "FIXME: write description"
      :url "http://example.com/FIXME"
      :license {:name "Eclipse Public License"
                :url "http://www.eclipse.org/legal/epl-v10.html"}
      :dependencies [
                     [org.clojure/clojure "1.10.2"]
                     [overtone "0.10.6"]
                     ])
    
    opened by seanleblanc 0
  • Registers grain-buf ugen

    Registers grain-buf ugen

    This ugen seems to have been missing. I had previously opened an issue #469.

    opened by diegovdc 0
  • Missing ugen: grain-buf

    Missing ugen: grain-buf

    This is kind of odd, but when trying to use grain-buf I get a "No such var" java.lang.RuntimeException.

    opened by diegovdc 0
  • Version 0.10.6 (and 0.10.5) conflicts with cheshire 5.10.0

    Version 0.10.6 (and 0.10.5) conflicts with cheshire 5.10.0

    My project.clj

    (defproject foobar "0.1.0-SNAPSHOT"
      :description "FIXME: write description"
      :url "http://example.com/FIXME"
      :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
                :url "https://www.eclipse.org/legal/epl-2.0/"}
      :dependencies [[org.clojure/clojure "1.10.0"]
                     [overtone "0.10.5"]
                     [cheshire "5.10.0"]]
      :repl-options {:init-ns foobar.core})
    

    When I launch lein repl and try (use 'cheshire.factory), I get:

    foobar.core=> (use 'cheshire.factory)
    Syntax error (ClassNotFoundException) compiling new at (factory.clj:57:11).
    com.fasterxml.jackson.core.TSFBuilder
    

    This does not happen for 0.10.4 and below.

    What might be some steps to debug this? What are some dependencies that changed between 0.10.4 and 0.10.5?

    opened by aaronshim 1
  • Overtone neither able to connect, nor to start SuperCollider server

    Overtone neither able to connect, nor to start SuperCollider server

    I'm using NixOS and got jack running using

    pasuspender qjackctl
    
    [I] [email protected] ~/Music> ps aux | grep jack
    moritz   13549  0.0  0.0 493980  5876 pts/0    S+   19:44   0:00 pasuspender qjackctl
    moritz   13550  0.0  0.6 1061380 200820 pts/0  SLl+ 19:44   0:01 /run/current-system/sw/bin/qjackctl
    moritz   14067  0.3  0.4 284176 131204 ?       SLsl 19:45   0:05 /run/current-system/sw/bin/jackd -dalsa -dhw:0 -r48000 -p1024 -n2
    

    jack_simple_client does produce a tone and I am able to generate tones using the SuperCollider IDE (so my JACK server seems to be working fine).

    When I try to run overtone.live, it is however unable to start the internal SC server:

    [I] [email protected] ~/t/insane> clojure
    Clojure 1.10.1
    user=> (use 'overtone.live)
    --> Loading Overtone...
    SC FFT global init: cosTable initialised.
    --> Booting internal SuperCollider server...
    Cannot read socket fd = 94 err = Success
    CheckRes error
    Could not read result type = 22
    Client name = Overtone conflits with another running client
    Cannot connect to the server
    JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
    JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
    JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
    could not initialize audio.
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  SIGSEGV (0xb) at pc=0x00007f0b45198ba7, pid=22986, tid=23076
    #
    # JRE version: OpenJDK Runtime Environment (14.0.2) (build 14.0.2-internal+0-adhoc..jdk14u-jdk-14.0.2-ga)
    # Java VM: OpenJDK 64-Bit Server VM (14.0.2-internal+0-adhoc..jdk14u-jdk-14.0.2-ga, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
    # Problematic frame:
    # C  [libscsynth.so.1+0x63ba7]  World_WaitForQuit+0x7
    #
    # Core dump will be written. Default location: Core dumps may be processed with "/nix/store/7aa53389d52a35h5f5x79pph0qi7kchz-systemd-246.6/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /home/moritz/tmp/insane/core.22986)
    #
    # An error report file with more information is saved as:
    # /home/moritz/tmp/insane/hs_err_pid22986.log
    --> Connecting to internal SuperCollider server...
    [thread 23047 also had an error]
    #
    # If you would like to submit a bug report, please visit:
    #   https://bugreport.java.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    fish: “clojure” terminated by signal SIGABRT (Abort)
    [I] [email protected] ~/t/insane [SIGABRT]>
    

    Further, when I boot a server in the SuperCollider IDE and try to use that one with overtone, I get a timeout error:

    
    [I] [email protected] ~/t/insane [SIGABRT]> clojure
    Clojure 1.10.1
    user=> (use 'overtone.core)
    --> Loading Overtone...
    SC FFT global init: cosTable initialised.
    --> Please boot a server to start making noise:
        * (boot-server)             ; boot default server (honours config)
        * (boot-internal-server)    ; boot an internal server
        * (boot-external-server)    ; boot an external server
        * (connect-external-server) ; connect to an existing external server
    
    nil
    user=> (connect-external-server)
    --> Connecting to external SuperCollider server: 127.0.0.1:57110
    java.util.concurrent.TimeoutException: deref! timeout error. Dereference took longer than 5000 ms whilst whilst turning server notifications on
            at overtone.helpers.lib$deref_BANG_.invokeStatic(lib.clj:275)
            at overtone.helpers.lib$deref_BANG_.invoke(lib.clj:261)
            at overtone.helpers.lib$deref_BANG_.invokeStatic(lib.clj:269)
            at overtone.helpers.lib$deref_BANG_.invoke(lib.clj:261)
            at overtone.sc.machinery.server.connection$server_notifications_on.invokeStatic(connection.clj:64)
            at overtone.sc.machinery.server.connection$server_notifications_on.invoke(connection.clj:33)
            at overtone.sc.machinery.server.connection$setup_connect_handlers$handler_fn__4099.invoke(connection.clj:120)
            at overtone.libs.handlers$run_handler.invokeStatic(handlers.clj:135)
            at overtone.libs.handlers$run_handler.invoke(handlers.clj:129)
            at overtone.libs.handlers$run_one_shot_handlers.invokeStatic(handlers.clj:201)
            at overtone.libs.handlers$run_one_shot_handlers.invoke(handlers.clj:195)
            at overtone.libs.handlers$emhs_handle_async_one_shots$fn__1644.invoke(handlers.clj:208)
            at clojure.lang.AFn.run(AFn.java:22)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
            at java.base/java.lang.Thread.run(Thread.java:832)
    Execution error at overtone.libs.deps/wait-until-deps-satisfied (deps.clj:184).
    The following deps took too long (20 seconds) to be satisfied: :server-ready
    

    Is this an error on my (configuration) side or a bug?

    opened by moritzschaefer 8
  • Fixed broken freesound link and broken args

    Fixed broken freesound link and broken args

    This PR fixes issues #463 and #465 which prevented overtone.examples.compositions.clapping-music from being playable.

    The playback is still 'clicky' due to sample playback, and I'm not sure how to fix this. I tried using load-sample and play-buf as suggested here but I couldn't find a way to change the volume of each sample playback.

    opened by bkushigian 2
Releases(0.10.5)
  • 0.10.5(May 18, 2019)

    Version 0.10.5 (18th May 2019)

    • overtone can now be used with tools.deps
    • fix classException for note and chord function $428
    • failures in the test runner fixed
    • alert linux users in case jack server wasn't started prior to external-server connection runner
    • fix configuration errors with max-buffers value
    Source code(tar.gz)
    Source code(zip)
  • 0.10.4(May 11, 2019)

    ugens

    • index now available on :ir rate, but keeps defaulting to :kr.

    scsynth

    • now compiled against supercollider 3.9.3
    • scsynth-extras includes new plugins that can to be spec'd in metadata/extras
    • jna paths are explicitly set for every os
    • 64-bit architecture support for windows machines
    • native resources will be copied from target to project's root-dir, if present in target and missing in root-dir.

    Breaking Changes

    • 32-bit support for internal-synths on windows is discontinued (use 64-bits instead)
    • Linux: Jack client name now defaults to Overtone instead of SuperCollider #409
    • load-samples now accepts many directory and/or file paths, this breaks the functionality of the previous varag sequence.
    • freesound.org samples are now saved with filename and extension, preserving safe-filenames for tmp storage (this causes all freesound.org samples to be redownloaded if they are cached from older overtone version)

    Improvements

    • add parameter added to var-saw
    • overtone.music.pitch/rand-chord now vararg with inversions parameter
    • sampled-flute and sampled-piano now load faster from cache
    • Java9 compatability

    New Fns

    • overtone.sc.sample/load-samples-async works like load-samples a faster but unsafer alternative to load-samples
    Source code(tar.gz)
    Source code(zip)
  • 0.10.3(Oct 11, 2017)

  • 0.10.2(Aug 30, 2017)

    Breaking Changes

    • inst? has been renamed to instrument?

    New Fns

    • overtone.algo.euclidean-rhythm Generates euclidean rhythms using bjorklund's algorithm.

    New example

    • overtone.examples.midi.keyboard sustain-ding Creates an midi instrument with a sustain parameter.

    Improvements

    • overtone is now running on clojure-1.9-alpha
    • freesound gives better error message when file/sample is not found.
    • overtone.sc.vbap uses clojure 1.9's clojure.core.any?, removes replace symbol warnings.

    Bug Fixes

    • Prevent double trigger of freesound samples by setting #318
    • Replace use with :use for Clojure 1.9 compatability.
    • Fix error when Supercollider version is in development
    • Fix warning for deprecated CMSIncrementalMode
    • connect-to-external-server logs correctly configured port number
    Source code(tar.gz)
    Source code(zip)
Music typeset with the Lilypond system

Intro (from long ago) This repo contains sheet music typeset with the Lilypond typesetter. The music chosen is in favour of cello music (mostly chambe

Enthusiastic about  the Cello 95 Sep 24, 2021
Typographic Beat-Oriented Notation for music

tbon Typographic Beat-Oriented Notation for music Tbon aims to be the fastest way to enter pitches, rhythms, meter and dynamic levels from a computer

null 11 Jan 23, 2020
网易云音乐第三方

ieaseMusic Elegant NeteaseMusic desktop app, Rock with NeteaseMusic ?? Built by Electron, React, MobX, JSS API 由 Binaryify/NeteaseCloudMusicApi 提供。 Pr

null 8.6k Sep 22, 2021
web based music sheet viewer (go, pdfjs) as a single binary

Digital Music Stand A simple cross-platform browser-based pdfjs-based viewer to display and search music sheets. A single binary including all assets.

Patrick Wieschollek 21 Aug 27, 2021
OpenSheetMusicDisplay renders sheet music in MusicXML format in your web browser based on VexFlow. OSMD is brought to you by PhonicScore.com.

OpenSheetMusicDisplay (OSMD) A MusicXML renderer for the Browser opensheetmusicdisplay.org About OSMD • Demo • Key Features • Limitations • How to Use

Open Sheet Music Display 800 Sep 15, 2021
A language for music notation

Lydown is a language and compiler for creating music scores, parts and snippets. The lydown code is compiled to lilypond code and then compiled to PDF

Sharon Rosner 21 Apr 8, 2021
🎵 Music notation engraving library for MEI with MusicXML and Humdrum support and various toolkits (JavaScript, Python)

Verovio is a fast, portable and lightweight library for engraving Music Encoding Initiative (MEI) digital scores into SVG images. Verovio also contain

RISM Digital Center 426 Sep 22, 2021
Music player for deepin desktop environment.

deepin-music Deepin music is a local music player with beautiful design and simple functions developed by Deepin Technology. Dependencies Build depend

Wuhan Deepin Technology Co.,Ltd. 155 Sep 16, 2021
A music programming language for musicians. :notes:

Installation | Docs | Changelog | Contributing composers chatting Alda is a text-based programming language for music composition. It allows you to co

Alda 4.7k Sep 25, 2021
Mopidy is an extensible music server written in Python

Mopidy Mopidy is an extensible music server written in Python. Mopidy plays music from local disk, Spotify, SoundCloud, Google Play Music, and more. Y

Mopidy 7.2k Sep 17, 2021
music library manager and MusicBrainz tagger

beets Beets is the media library management system for obsessive music geeks. The purpose of beets is to get your music collection right once and for

beetbox 10.4k Sep 15, 2021
Frescobaldi LilyPond Editor

README for Frescobaldi Homepage: http://www.frescobaldi.org/ Main author: Wilbert Berendsen Frescobaldi is a LilyPond sheet music text editor. It aims

Frescobaldi 501 Sep 21, 2021
A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer.

Get Started | Features | Screenshots | Programming | CLI | Contribute | License Midica is an interpreter for a Music Programming Language. It translat

Jan Trukenmüller 47 Sep 17, 2021
Streaming music player that finds free music for you

Desktop music player focused on streaming from free sources Links Official website Mastodon Twitter Support channel (Matrix): #nuclear:matrix.org Disc

null 6.8k Sep 17, 2021
The git repository of the advanced drum machine

Hydrogen drum machine Hydrogen is an advanced drum machine for GNU/Linux, Mac and Windows. It's main goal is to bring professional yet simple and intu

Hydrogen 702 Sep 15, 2021
Lilypond music preprocessor

Ripple - DRY for Lilypond Ripple is a small program that helps you generate scores and parts without repeating yourself, performing complex includes o

Sharon Rosner 21 Mar 24, 2020
🎵 A simple, clean and cross-platform music player

Museeks A simple, clean and cross-platform music player. (museeks.io) Features Museeks aims to be a simple and easy to use music player with a clean U

Pierre de la Martinière 1.1k Sep 17, 2021
C++ library and Python bindings for the Music Encoding Initiative format

LibMEI LibMEI is a C++ library for reading and writing MEI files It is developed by the Distributed Digital Music Archives and Libraries Lab at the Sc

Distributed Digital Music Archives and Libraries Lab 49 Aug 30, 2021
Music player and music library manager for Linux, Windows, and macOS

Quod Libet: an audio library, manager & player Quod Libet is a cross-platform audio / music management program. It provides many ways to view your loc

Quod Libet 1k Sep 16, 2021