Potentiometer Send MIDI CC

to send MIDI like that but with a potentiometer controlling both
Note and Velocity with different potentiometer's with serial.write

Yes it is almost trivial,
read the two pots into a variable and shift it 3 places to the right to scale it

vPot = analogRead(vPotPin) >> 3;
nPot = analogRead(nPotPin) >> 3;
// then do other stuff and final use these variables to send just after the note on