Aha - so - by that point everything is scaled; the scaled values are used by Shifty. As you go back and alter things, you might find yourself in a knot of special case code, when handling a channel differently from the get go may work better.

But you’re totally on the right lines, and there might not be that much more to it! I might see if I can investigate more on my flight I’ll be on soon.

1 Like

I think I’ve find the part of the code for the offset, the thing is that the same value is used for both CCs (usb and trs outs) maybe creating a second variable is the way…or I’d be forced to use pitchbend in both usb and trs

   if ( usb_ccs[i] == 128 ) 
   {
     temp = map(temp, MINFADER, MAXFADER, -8192, 8192 );
   }
   else
   {
     temp = map(temp, MINFADER, MAXFADER, 0, 16383); 
   }

I did it, and it works!
at the moment the thing is done so if you select 128 in usb cc it will give pitch bend in both usb and trs, will do in the future so it can be independent, for that need to create some variables (shiftyTemp2, notShiftyTemp2, temp2, currentValue2…)
Thx for pointing the steps to follow, learned a lot today!

2 Likes

Ace! So pleased you made progress.

1 Like

starting to do things in github, not sure how to proceed, should I make a different name for the firmware or what?
already uploaded here (is that the way to do things?):


the MidiNote mod is more useful with the CV ins I think, but the PitchBend is great…imo

this is the correct repository for my eurorack version:

3 Likes