Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Overtone Livecoding with Emacs/Slime/Swank/cake - Could not locate overtone.live__init.class

I am trying to use emacs and slime to connect to swank to live code using Overtone. I have the whole thing pretty much working, but when i try to run

(ns foo
   (:use [overtone.live]
          [overtone.inst.synth]))

(definst bar [] (saw 220))

I get the error 'Could not locate overtone/live__inti.class or overtone/live.clj on classpath:' Which i gather basically means that the class files are not where it is looking for them. I am not sure what to do to fix this.

like image 727
james Avatar asked Dec 17 '25 10:12

james


1 Answers

Important note: Slime/Swank/Cake are deprecated means of connecting Overtone and Emacs. Instead, consider using nREPL via Leiningen 2+ and CIDER

it looks like you haven't got the Overtone jar on the classpath. Things to check:

  • You have overtone-X-Y-X.jar in your project's lib directory
  • Your project isn't called Overtone (that can cause issues with tools like lein)

Finally, you might want to take a look at this setup video: http://vimeo.com/25190186 which describes the process of getting an Overtone dev environment setup.

Good luck and come join the mailing list and share your thoughts: http://groups.google.com/group/overtone

like image 72
Sam Aaron Avatar answered Dec 20 '25 00:12

Sam Aaron



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!