Re: Help with Java arrays

2011-01-28 Thread Robert McIntyre
oh and of course (import 'javax.sound.midi.MidiSystem) before everything. sorry about that. sincerely, --Robert McIntyre On Fri, Jan 28, 2011 at 2:47 PM, Robert McIntyre wrote: > On my computer this seemed to work. > > (import 'javax.sound.midi.Synthesizer) > > (seq (.getChannels (MidiSystem/

Re: Help with Java arrays

2011-01-28 Thread Robert McIntyre
On my computer this seemed to work. (import 'javax.sound.midi.Synthesizer) (seq (.getChannels (MidiSystem/getSynthesizer))) (# # # # # # # # # # # \ # # # # #) Maybe that's helpful :P I hope. good luck, --Robert McIntyre On Fri, Jan 28, 2011 at 11:59 AM, Ken Wesson wrote: > On Fri, Jan 28,

Re: Help with Java arrays

2011-01-28 Thread Ken Wesson
On Fri, Jan 28, 2011 at 11:30 AM, WoodHacker wrote: > Hi, > > I'm trying to get the midi sound class in Java to work in Clojure. > Everything seems to work fine except for the conversion of the > following Java code: > >     MidiChannel[] channels = synthesizer.getChannels; > > I've tried just dum

Help with Java arrays

2011-01-28 Thread WoodHacker
Hi, I'm trying to get the midi sound class in Java to work in Clojure. Everything seems to work fine except for the conversion of the following Java code: MidiChannel[] channels = synthesizer.getChannels; I've tried just dumping the channels into a Clojure object - (let [channels