On Thu, 7 Jul 2011, Martin Tarenskeen wrote:
4. In the CVS version the DX7 editor does not open, I am getting an error
message instead. The DX7 editor was working fine in 0.20.0 version.
To be more specific: Only after I had compiled and packaged the latest SVN
development trunk in a jar file the error was happening. Looking more
closely I discovered the problem was that the gif images for the DX7
algorithms were not found. But I could run "java JSynthLib" and then this
problem did not happen.
I also managed to fix the problem:
1. I moved the gif images from synthdrivers/YamahaDX7/images/ to
synthdrivers/YamahaDX7/common/
2. I edited synthdrivers/YamahaDX7/DX7FamilyVoiceEditor.java
(diff file attached to this mail)
3. I compiled, and packaged the results in a jar file
Now the DX7 voice editor works again.
Maybe someone with SVN write access can commit (or improve) my fix to the
trunk ?
(BTW: I had to disable the RolandGP16 driver in the Makefile. Something is
wrong there too, I could not compile without removing it from the list in the
Makefile. Maybe someone is able to fix that one too ?)
--
MT
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo01.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo02.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo03.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo04.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo05.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo06.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo07.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo08.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo09.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo10.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo11.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo12.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo13.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo14.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo15.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo16.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo17.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo18.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo19.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo20.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo21.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo22.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo23.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo24.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo25.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo26.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo27.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo28.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo29.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo30.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo31.gif
Only in jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common: algo32.gif
diff -ur
jsynthlib.orig/trunk/JSynthLib/synthdrivers/YamahaDX7/common/DX7FamilyVoiceEditor.java
jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common/DX7FamilyVoiceEditor.java
---
jsynthlib.orig/trunk/JSynthLib/synthdrivers/YamahaDX7/common/DX7FamilyVoiceEditor.java
2005-03-30 07:45:21.000000000 +0200
+++
jsynthlib/trunk/JSynthLib/synthdrivers/YamahaDX7/common/DX7FamilyVoiceEditor.java
2011-07-08 01:15:27.167723560 +0200
@@ -168,38 +168,38 @@
protected void buildEditor(Patch patch)
{
- algoIcon[ 0]=new
ImageIcon(getClass().getResource("../images/algo01.gif"));
- algoIcon[ 1]=new
ImageIcon(getClass().getResource("../images/algo02.gif"));
- algoIcon[ 2]=new
ImageIcon(getClass().getResource("../images/algo03.gif"));
- algoIcon[ 3]=new
ImageIcon(getClass().getResource("../images/algo04.gif"));
- algoIcon[ 4]=new
ImageIcon(getClass().getResource("../images/algo05.gif"));
- algoIcon[ 5]=new
ImageIcon(getClass().getResource("../images/algo06.gif"));
- algoIcon[ 6]=new
ImageIcon(getClass().getResource("../images/algo07.gif"));
- algoIcon[ 7]=new
ImageIcon(getClass().getResource("../images/algo08.gif"));
- algoIcon[ 8]=new
ImageIcon(getClass().getResource("../images/algo09.gif"));
- algoIcon[ 9]=new
ImageIcon(getClass().getResource("../images/algo10.gif"));
- algoIcon[10]=new
ImageIcon(getClass().getResource("../images/algo11.gif"));
- algoIcon[11]=new
ImageIcon(getClass().getResource("../images/algo12.gif"));
- algoIcon[12]=new
ImageIcon(getClass().getResource("../images/algo13.gif"));
- algoIcon[13]=new
ImageIcon(getClass().getResource("../images/algo14.gif"));
- algoIcon[14]=new
ImageIcon(getClass().getResource("../images/algo15.gif"));
- algoIcon[15]=new
ImageIcon(getClass().getResource("../images/algo16.gif"));
- algoIcon[16]=new
ImageIcon(getClass().getResource("../images/algo17.gif"));
- algoIcon[17]=new
ImageIcon(getClass().getResource("../images/algo18.gif"));
- algoIcon[18]=new
ImageIcon(getClass().getResource("../images/algo19.gif"));
- algoIcon[19]=new
ImageIcon(getClass().getResource("../images/algo20.gif"));
- algoIcon[20]=new
ImageIcon(getClass().getResource("../images/algo21.gif"));
- algoIcon[21]=new
ImageIcon(getClass().getResource("../images/algo22.gif"));
- algoIcon[22]=new
ImageIcon(getClass().getResource("../images/algo23.gif"));
- algoIcon[23]=new
ImageIcon(getClass().getResource("../images/algo24.gif"));
- algoIcon[24]=new
ImageIcon(getClass().getResource("../images/algo25.gif"));
- algoIcon[25]=new
ImageIcon(getClass().getResource("../images/algo26.gif"));
- algoIcon[26]=new
ImageIcon(getClass().getResource("../images/algo27.gif"));
- algoIcon[27]=new
ImageIcon(getClass().getResource("../images/algo28.gif"));
- algoIcon[28]=new
ImageIcon(getClass().getResource("../images/algo29.gif"));
- algoIcon[29]=new
ImageIcon(getClass().getResource("../images/algo30.gif"));
- algoIcon[30]=new
ImageIcon(getClass().getResource("../images/algo31.gif"));
- algoIcon[31]=new
ImageIcon(getClass().getResource("../images/algo32.gif"));
+ algoIcon[ 0]=new
ImageIcon(getClass().getResource("algo01.gif"));
+ algoIcon[ 1]=new
ImageIcon(getClass().getResource("algo02.gif"));
+ algoIcon[ 2]=new
ImageIcon(getClass().getResource("algo03.gif"));
+ algoIcon[ 3]=new
ImageIcon(getClass().getResource("algo04.gif"));
+ algoIcon[ 4]=new
ImageIcon(getClass().getResource("algo05.gif"));
+ algoIcon[ 5]=new
ImageIcon(getClass().getResource("algo06.gif"));
+ algoIcon[ 6]=new
ImageIcon(getClass().getResource("algo07.gif"));
+ algoIcon[ 7]=new
ImageIcon(getClass().getResource("algo08.gif"));
+ algoIcon[ 8]=new
ImageIcon(getClass().getResource("algo09.gif"));
+ algoIcon[ 9]=new
ImageIcon(getClass().getResource("algo10.gif"));
+ algoIcon[10]=new
ImageIcon(getClass().getResource("algo11.gif"));
+ algoIcon[11]=new
ImageIcon(getClass().getResource("algo12.gif"));
+ algoIcon[12]=new
ImageIcon(getClass().getResource("algo13.gif"));
+ algoIcon[13]=new
ImageIcon(getClass().getResource("algo14.gif"));
+ algoIcon[14]=new
ImageIcon(getClass().getResource("algo15.gif"));
+ algoIcon[15]=new
ImageIcon(getClass().getResource("algo16.gif"));
+ algoIcon[16]=new
ImageIcon(getClass().getResource("algo17.gif"));
+ algoIcon[17]=new
ImageIcon(getClass().getResource("algo18.gif"));
+ algoIcon[18]=new
ImageIcon(getClass().getResource("algo19.gif"));
+ algoIcon[19]=new
ImageIcon(getClass().getResource("algo20.gif"));
+ algoIcon[20]=new
ImageIcon(getClass().getResource("algo21.gif"));
+ algoIcon[21]=new
ImageIcon(getClass().getResource("algo22.gif"));
+ algoIcon[22]=new
ImageIcon(getClass().getResource("algo23.gif"));
+ algoIcon[23]=new
ImageIcon(getClass().getResource("algo24.gif"));
+ algoIcon[24]=new
ImageIcon(getClass().getResource("algo25.gif"));
+ algoIcon[25]=new
ImageIcon(getClass().getResource("algo26.gif"));
+ algoIcon[26]=new
ImageIcon(getClass().getResource("algo27.gif"));
+ algoIcon[27]=new
ImageIcon(getClass().getResource("algo28.gif"));
+ algoIcon[28]=new
ImageIcon(getClass().getResource("algo29.gif"));
+ algoIcon[29]=new
ImageIcon(getClass().getResource("algo30.gif"));
+ algoIcon[30]=new
ImageIcon(getClass().getResource("algo31.gif"));
+ algoIcon[31]=new
ImageIcon(getClass().getResource("algo32.gif"));
final JLabel l=new JLabel(algoIcon[patch.sysex[6+134]]);
Only in jsynthlib.orig/trunk/JSynthLib/synthdrivers/YamahaDX7: images
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Jsynthlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel