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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...