On Sun, 4 Sep 2011, frankster wrote:

I have submitted your patches into SVN - although I have kept the DX7
algorithm images in their own directory (as its marginally neater than
mixed in with the Java files I think) but I have moved the images
directory into the DX7/common directory which solves the crash similarly
to your patch.

I already knew about your DX7 images directory fix. I accidentally attached an old patchfile to my previous mail that was still on my harddisk.

The patch attached now is the one I wanted to send: it fixes the DX7 envelope graphics.

--

MT
--- 
jsynthlib.svn/trunk/JSynthLib/synthdrivers/YamahaDX7/common/DX7FamilyVoiceEditor.java
       2011-09-04 19:14:52.461032798 +0200
+++ 
jsynthlib.mt/trunk/JSynthLib/synthdrivers/YamahaDX7/common/DX7FamilyVoiceEditor.java
        2011-09-04 19:45:23.773245303 +0200
@@ -406,10 +406,11 @@
                });
 
                addWidget(panel,new EnvelopeWidget("Envelope 
Generator",patch,new EnvelopeWidget.Node [] {
-                       new 
EnvelopeWidget.Node(0,0,null,0,0,null,0,false,null,null,null,null),
+                       new EnvelopeWidget.Node(0,0,null,0,99,new 
ParamModel(patch,6+(i*21)+7),0,true,null,new VoiceSender((i*21)+7),null,"L4"),
                        new EnvelopeWidget.Node(0,99,new 
ParamModel(patch,6+(i*21)+0),0,99,new ParamModel(patch,6+(i*21)+4),0,true,new 
VoiceSender((i*21)+0),new VoiceSender((i*21)+4),"R1","L1"),
                        new EnvelopeWidget.Node(0,99,new 
ParamModel(patch,6+(i*21)+1),0,99,new ParamModel(patch,6+(i*21)+5),0,true,new 
VoiceSender((i*21)+1),new VoiceSender((i*21)+5),"R2","L2"),
                        new EnvelopeWidget.Node(0,99,new 
ParamModel(patch,6+(i*21)+2),0,99,new ParamModel(patch,6+(i*21)+6),0,true,new 
VoiceSender((i*21)+2),new VoiceSender((i*21)+6),"R3","L3"),
+            new 
EnvelopeWidget.Node(100,100,null,EnvelopeWidget.Node.SAME,99,null,0,true,null,null,null,null),
                        new EnvelopeWidget.Node(0,99,new 
ParamModel(patch,6+(i*21)+3),0,99,new ParamModel(patch,6+(i*21)+7),0,true,new 
VoiceSender((i*21)+3),new VoiceSender((i*21)+7),"R4","L4"),
                }),7,8,6,9,14);
 
@@ -433,10 +434,11 @@
                oscPane.addTab("PEG",pegPane);
                gbc.fill=GridBagConstraints.BOTH;
                addWidget(pegPane,new EnvelopeWidget("Pitch Envelope 
Generator",patch,new EnvelopeWidget.Node [] {
-                       new 
EnvelopeWidget.Node(0,0,null,0,0,null,0,false,null,null,null,null),
+                       new EnvelopeWidget.Node(0,0,null,0,99,new 
ParamModel(patch,6+133),0,true,null,new VoiceSender(133),null,"Pitch 4"),
                        new EnvelopeWidget.Node(0,99,new 
ParamModel(patch,6+126),0,99,new ParamModel(patch,6+130),0,true,new 
VoiceSender(126),new VoiceSender(130),"Rate 1","Pitch 1"),
                        new EnvelopeWidget.Node(0,99,new 
ParamModel(patch,6+127),0,99,new ParamModel(patch,6+131),0,true,new 
VoiceSender(127),new VoiceSender(131),"Rate 2","Pitch 2"),
                        new EnvelopeWidget.Node(0,99,new 
ParamModel(patch,6+128),0,99,new ParamModel(patch,6+132),0,true,new 
VoiceSender(128),new VoiceSender(132),"Rate 3","Pitch 3"),
+            new 
EnvelopeWidget.Node(100,100,null,EnvelopeWidget.Node.SAME,99,null,0,true,null,null,null,null),
                        new EnvelopeWidget.Node(0,99,new 
ParamModel(patch,6+129),0,99,new ParamModel(patch,6+133),0,true,new 
VoiceSender(129),new VoiceSender(133),"Rate 4","Pitch 4"),
                }),0,0,1,9,1);
 
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Jsynthlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel

Reply via email to