Jump to content

Recommended Posts

Posted

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.

44292.jpg

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

Posted

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.

  • 1 month later...
Posted

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 !!!!!!!!!!!!!!!!!!!!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...