Jump to content

Built a controller keyboard using NG (issue #1: low velocity resolution, issue #2: random pitch wheel values)


tago
 Share

Recommended Posts

Hi,

I built two identical controller keyboards using CORE_STM32F4 running MIDIbox NG. They currently feature analog ins, two wheels and octave up/down buttons. It was very hard and time consuming to build these without a proper workshop (used mainly beech wood and aluminium).

Issues:

#1 One big problem i have is that the velocity resolution is very low. It looks like just 5-10 values are generated, nothing in between. It's too coarse for playing properly.

#2 Another problem is that i get random pitch wheel values when in zero position. I wonder if there is kind of a plateau range around the zero position to mitigate that. Or maybe it's because of a faulty pot?

 

Thanks for your help

IMG_20230204_115348---small.jpg

IMG_20230204_115414---small.jpg

IMG_20230204_115440---small.jpg

Edited by tago
Link to comment
Share on other sites

  • tago changed the title to Built a controller keyboard using NG (issue #1: low velocity resolution, issue #2: random pitch wheel values)

look into ng documentation if there can be set a offset for the middle position so it stays on a position... because pots directly to the core is always a bit random... better use for example: http://www.ucapps.de/mbhp_ainser8.html

then you have less random values

also check the quality off PSU...off course a faulty pot can be the reason too

Edited by Phatline
  • Like 1
Link to comment
Share on other sites

46 minutes ago, Phatline said:

because pots directly to the core is always a bit random...

Hi Phatline, i'm using an AINSER8 module (see that perf board on the third photo). So pots aren't directly connected to the core. Power is coming via USB.

I'll take a look into the docs for a middle offset function. I think Doepfer is calling it 'plateau' on their keyboard controller boards. I assume there is no way around something like that.

EDIT: do you think it could be because the pot is old/used?

Edited by tago
Link to comment
Share on other sites

@Phatline Here the pcb layout.

There is a voltage reference (U3) (center bottom - looks like a transistor) and on the right side an opamp (U2) to scale the voltage range because of the limited rotation angles of the wheel pots. I did that with the help and recommendation of @FantomXR and others. Can't find the original thread at the moment.

See how the Vref (red) goes to the opamp (U2) and then to the jumper J8 where both wheels are connected to.

IMG_20230205_142010--small.jpg

Link to comment
Share on other sites

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...
 Share

×
×
  • Create New...