Jump to content

MBSEQ_HW.V4 - Encoder question - DETENTED1, DETENTED2, etc.


Recommended Posts

Posted (edited)

I am having the same minor problem described in this post:

 

...my encoders, when turned slowly, sometimes jump around...  If I'm turning them slowly in one direction, numbers will increment several times, then decrement by one, then increment again.  Not a huge problem, but it'd be great to fix it if I can.  Is there any documentation anywhere on what the encoder types described in the MBSEQ_HW.V4 file do?

 

##################################################
# Encoder Functions
# SR = 0: encoder disabled
# SR = 1..16: DIN assignment
# Types: NON_DETENTED, DETENTED1, DETENTED2, DETENTED3
##################################################

 

 

I'm using the detented encoders SmashTV was selling in his shop until recently - they're not listed in the shop right now, I guess he's out of stock.  They're currently declared as DETENTED3 (that would have come from one of the HW file templates, I didn't set it myself).  Does anyone know what encoder type setting I should be using?

 

...just tried DETENTED1 and DETENTED2, both are worse than DETENTED3.

 

NON_DETENTED doesn't jump backward, but the increments obviously don't match the detents, so it's not usable...

 

 

In the forum thread linked above, TK mentions DETENTED4 and DETENTED5 - when I try those, I get the following error when uploading the file in MIOS Studio: "[269409.830] [sEQ_FILE_HW] ERROR in ENC_DATAWHEEL definition: invalid type 'DETENTED4'!"

 

There seems to be some discussion here, but it's in German...

Edited by borfo
  • 1 month later...
Posted

hi,

did you solve your jitter issues ?

 

I also have jitter troubles with my alps encoder... I hope i haven't melt anything..

the jitter happen only on the increment side, i use DETENTED1.

 

as Borfo said, the extra debounce modes doesn't seem to be known anymore in the current mios build..

Is it still possible to use it ? The custom encoder modes shown would be also great if working.

 

Another solution is hardware debounce with 10-100nf caps..haven't tried it yet.

 

thanks for any clue

best regards

Patrice

Posted

ok, I found the missing code in midibox_seq_v4/core/seq_file_hw.c

 

in function SEQ_FILE_HW_Read, around line 771, i added

 

else if( strcasecmp(word, "DETENTED4") == 0 ) {
        enc_type = DETENTED4;
} else if( strcasecmp(word, "DETENTED5") == 0 ) {
        enc_type = DETENTED5;
}

my ALPS STEC12E do no more jitter using DETENTED4 mode !

 

I love my brand new seq V4 even more now ! Really great machine and platform.

 

many thanks to TK and all the MIDIbox community for making this possible.

 

best regards

Patrice

Posted (edited)

Awesome!  I'll try that myself later on today.  Thanks for (hopefully) solving this little issue.

Edited by borfo

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