Hi JSynthLib ppl,
I am working on a new device driver and have been partially successful but am
stumped on a problem. I am hoping that someone could help me out.
I have attached the two files that have been developed so far. They are the
KorgHAWK800Device.java and KorgHAWK800SingleDriver.java files.
When I run the resulting generated JSynthLib jar, I can select the Korg
HAWK-800 device, open a new scene or library and then create a "New Patch". I
can also copy and paste that blank patch around.
For some reason, when I start JSynthLib I get the following error/warning and I
don't understand why.
Z:\WGVX7K~S>java -jar JSynthLib.jar
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:687)
at core.DevicesConfig.createDevice(DevicesConfig.java:332)
at core.AppConfig.addDevice(AppConfig.java:349)
at core.AppConfig.loadPrefs(AppConfig.java:68)
at core.PatchEdit.<init>(PatchEdit.java:40)
at JSynthLib.main(JSynthLib.java:33)
But the real problem begins when I attempt a "Get" patch. I am able to select
the device, patch and bank (and with MIDI monitor running) I can see the
correct MIDI sysex commands going to the synth and I can see the synth
responding back. However, after "getting" the patch, the "Paste" button does
not seem to paste any patch data into the selected (highlighted) patch in the
library or scene windows.
Is there anything anyone can suggest that I am doing wrong?
Any help would be very, very appreciated.
Mike.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jsynthlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel