|
From: Nicolas B. <nic...@la...> - 2009-12-18 11:03:02
|
Hi Joachim, here is the content of the patch.
Thanks !
Nicolas
Index: synthdrivers/NovationXioSynth/NovationXioSynthSingleEditor.java
===================================================================
--- synthdrivers/NovationXioSynth/NovationXioSynthSingleEditor.java (revision 1094)
+++ synthdrivers/NovationXioSynth/NovationXioSynthSingleEditor.java (working copy)
@@ -216,6 +216,7 @@
int [] oscDetuneOffsets = new int[] {0x15, 0x1D, 0x25};
int [] oscSemitoneOffsets = new int[] {0x14, 0x1C, 0x24};
int [] oscEnvToPitchOffsets = new int[] {0x18, 0x20, 0x28};
+ int [] oscLfo1ToPitchOffsets = new int[] {0x17, 0x1F, 0x27};
int [] oscOctaveOffsets = new int[] {0x13, 0X13, 0x13};
int [] oscOctaveBitmasks = new int[] {0x03, 0x0C, 0x30};
int [] oscPwPosOffsets = new int[] {0x19, 0x21, 0x29};
@@ -226,6 +227,7 @@
int [] oscLevelCCs = new int[] {72, 73, 74};
int [] oscDetuneCCs = new int[] {41, 49, 57};
int [] oscSemitoneCCs = new int[] {40, 48, 56};
+ int [] oscLfo1ToPitchCCs = new int[] {43, 51, 59};
int [] oscEnvToPitchCCs = new int[] {44, 52, 60};
int [][] oscOctaveCCs = new int[][] {{105, 16},
{105, 20},
@@ -313,16 +315,22 @@
addWidget(panel, kw, 0, 3, 1, 1, j);
j++;
+ kw = new ScrollBarWidget("Lfo1>pitch", patch, 0, 127, -64,
+ new NXSParamModel(patch, oscLfo1ToPitchOffsets[i], 0xFF),
+ new NXSSender(oscLfo1ToPitchCCs[i]));
+ addWidget(panel, kw, 0, 4, 1, 1, j);
+ j++;
+
kw = new ScrollBarWidget("ModEnv>pitch", patch, 0, 127, -64,
new NXSParamModel(patch, oscEnvToPitchOffsets[i], 0xFF),
new NXSSender(oscEnvToPitchCCs[i]));
- addWidget(panel, kw, 0, 4, 1, 1, j);
+ addWidget(panel, kw, 0, 5, 1, 1, j);
j++;
-
+
kw = new ScrollBarWidget("octave", patch, 0, 3, -1,
new NXSParamModel(patch, oscOctaveOffsets[i], oscOctaveBitmasks[i]),
new NXSSender(2, oscOctaveCCs[i][0], oscOctaveCCs[i][1]) );
- addWidget(panel, kw, 0, 5, 1, 1, j);
+ addWidget(panel, kw, 0, 6, 1, 1, j);
j++;
/* PULSE WIDTH PANEL */
@@ -349,7 +357,7 @@
addWidget(pwPanel, kw, 0, 2, 1, 1, j);
j++;
- gbc.gridx = 0; gbc.gridy = 6; gbc.gridwidth = 1; gbc.gridheight = 3;
+ gbc.gridx = 0; gbc.gridy = 7; gbc.gridwidth = 1; gbc.gridheight = 3;
panel.add(pwPanel, gbc);
/* END PULSE WIDTH PANEL */
@@ -631,7 +639,7 @@
addWidget(filterPane, kw, 0, 6, 1, 1, j);
j++;
- kw = new ScrollBarWidget("Velocity", patch, 0, 127, 0,
+ kw = new ScrollBarWidget("Velocity", patch, 0, 127, -64,
new NXSParamModel(patch, 0xA3, 0xFF),
new NXSSender(1, 72));
addWidget(filterPane, kw, 0, 7, 1, 1, j);
Le 17 déc. 2009 à 21:06, Joachim a écrit :
>
> Hi Nicolas,
>
> I don't see any attachment.
>
> Cheers
> Joachim
>
> Am 12.12.2009 um 11:53 schrieb Nicolas Boulicault:
>
>> Hi all,
>> I wrote a driver for Novation XioSynth.
>> I'd like to commit a few modifications but I don't have write access
>> on the svn repository.
>> Could any developer commit the attached patch ?
>> Thanks
>>
>> Boul
>>
>> -----------------------------------------------------------------------
>> -------
>> Return on Information:
>> Google Enterprise Search pays you back
>> Get the facts.
>> http://p.sf.net/sfu/google-dev2dev
>> _______________________________________________
>> Jsynthlib-devel mailing list
>> Jsy...@li...
>> https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Jsynthlib-devel mailing list
> Jsy...@li...
> https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel
>
|