Hi Noah, cool you're trying out the RK002, that DUY indeed holds the source to converting CC's to Juno Sysex, you can view the code here (need to be logged in the portal):
https://duy.retrokits.com/coder.php?guid=41694a9b-7850-458d-b562-e8b728d5cdb3
although now looking back into it I can see it is all not so obvious on how it works haha - the key is the:
const byte junoITP[]={0xF0,0x41,0x36,junit,0x23,0x20,0x01};
variable, it holds the sysex command beginning string for the juno, 'junit' is juno unit number, normally zero.
I see the juno parameter link explanation has parished already (along with all the good info on the internet :-( ) but all that parameter info and parameter range info is condensed in the 'transTable[]' array later on in the DUY
when a CC (0-15) is received it will go through a function, looking up where to map it to and if nescessary divide the 0-127 CC data range into something which the Juno can handle, then it adds the data to that starting string I mentioned earlier, so will become:
0xF0,0x41,0x36,junit,0x23,0x20,0x01 , +parameter ID, +parameter value, 0xF7 (0xF7 = sysex termination code)
let's say CC 0 comes in with value 21, it will map to parameer 0x1A (envelope T1) and has no divider so the value will stay 21. the sysex string will be:
0xF0,0x41,0x36,0x00,0x23,0x20,0x01 , 0x1A, 21 , 0xF7
and the Juno will respond with a change in envelope T1.
I added the juno sysex parameter indexes here below, also note that you can paste the RK002 code into an AI helper (e.g. the free version of chatGPT or claude for example) and let it analyse and adapt it to your needs, just say something like: "Here's the RK002 programming reference, https://duy.retrokits.com/RK002reference.txt - can you change the code below to work with my digitakt CC 70 to CC77 on midi channel <+set working channel> and make the CC's change <+8 parameters you want to map> + pasted DUY code"
Paste back the results and hope it flies 🙂 We also have another DUY portal in the works where the AI integration is a bit more streamlined, you can also try it out if you want: https://duy.retrokits.com/app/
00 DCO Env. Mode (0=Normal, 1=Inverted, 2=Normal-Dynamic, 3=Inv.-Dynamic)
01 VCF Env. Mode (0=Normal, 1=Inverted, 2=Normal-Dynamic, 3=Dynamic)
02 VCA Env. Mode (0=Normal, 1=Gate, 2=Normal-Dynamic, 3=Gate-Dynamic)
03 DCO Wave Pulse (0..3)
04 DCO Wave Saw (0..5)
05 DCO Wave Sub (0..5)
06 DCO Range (0=4', 1=8', 2=16', 3=32')
07 DCO Sub Level (0..3)
08 DCO Noise (0..3)
09 HPF Cutoff (0..3)
0A Chorus Switch (0=Off, 1=On)
0B DCO LFO Mod. (0-127)
0C DCO ENV Mod. (0-127)
0D After Mod. (0-127)
0E PWM Depth (0-127)
0F DCO PWM Rate (0-127) 0 = Pulse Width Manual 1..7F = PW LFO Rate
10 VCF Cutoff (0-127)
11 VCF Resonance (0-127)
12 VCF LFO Mod. (0-127)
13 VCF ENV Mod. (0-127)
14 VCF Key Follow (0-127)
15 VCF Aftertouch (0-127)
16 VCA Level (0-127)
17 VCA Aftertouch (0-127)
18 LFO Rate (0-127)
19 LFO Delay (0-127)
1A ENV T1 (0-127) Attack Time
1B ENV L1 (0-127) Attack Level
1C ENV T2 (0-127) Break Time
1D ENV L2 (0-127) Break Level
1E ENV T3 (0-127) Decay Time
1F ENV L3 (0-127) Sustain Level
20 ENV T4 (0-127) Release Time
21 ENV Key Follow (0-127)
22 Chorus Rate (0-127)
23 Bender Range (0-12)