pitch bend origin value

Hi there,

I’m working on the software of a midified vintage toy piano I covered with knobs and joysticks.

I ripped the joysticks out of my old playstation controller which have a nice soft grip feel.

The downside is that I have some noise around the center position which is resulting in randomly detuned (pitch bended) performance.

I would like to implement a software “regulator” to stabalise the output of the pitch bend when centered.

I don’t have a commercial midi keyboard so don’t know the exact value of ZERO bend (origin)

I would appreciate if anyone could tell me this…

Thanks

Alex

Hi Alex,

the center position is reached with “En 00 40”

En: Pitch Bend event, Channel n

00: the low-byte (7-bit)

40: the high-byte (7-bit)

Best Regards, Thorsten.

Thanks Thorsten,

I’ll hop to it then!

Hi alex, I made the same question on another topic, but having no great experience in programming I’d like to know if you had luck with that issue.

This little code will “magnetise” values between 52 and 78 to 64 (center position)

GOOD LUCK!

;;!!!  PITCH BEND COMPRESSOR !!!

MOVLW 78

CPFSLT DATATOSEND

GOTO NOTPITCHBEND

MOVLW 52

CPFSGT DATATOSEND

GOTO NOTPITCHBEND

MOVLW 64

MOVFF WREG,DATATOSEND

NOTPITCHBEND

;;!!!  PITCH BEND COMPRESSOR !!!

well obviously NOW is clear :smiley: got to find some sparetime to learn some programming  :o

Hey thank you very much for clarifying :smiley: