On Jan 16, 2009, at 9:40 PM, larry wrote:

>
> I'm calling a java static method Play.midi in JMusic from Clojure
> REPL.
> After it plays the notes and says: "completed MIDI playback",  the
> Clojure REPL quits.
> How do I keep the Clojure REPL from quitting after making this call to
> Java?
JMusic is exiting the JVM at the end of the function you're calling.   
A quick glance at their API shows that jm.util.Play/midi supports a  
boolean parameter named exit.  Set that to false and you should be in  
business.

>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to