Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable steps of rotary encoders #26

Open
rapiertg opened this issue Mar 25, 2018 · 6 comments
Open

Variable steps of rotary encoders #26

rapiertg opened this issue Mar 25, 2018 · 6 comments

Comments

@rapiertg
Copy link

This could be useful if rotary encoders could have variable value according to speed of rotation. Seems to be very usefull. Is it possible?

This library is great btw

@tttapa
Copy link
Owner

tttapa commented Mar 25, 2018

Just out of curiosity, what do you plan on using it for?

@rapiertg
Copy link
Author

rapiertg commented Mar 25, 2018

I am using my midi board as a Lightroom controller. Sometimes, when I want to adjust some setting a lot, I have to make plenty of encoder rotation. When it could detect the speed of turning and adapt the value it sends, it would help to make it faster. For example fast turn to add a lot of contrast and then slow down to fine tune it.

@tttapa
Copy link
Owner

tttapa commented Mar 25, 2018

You can extend the library yourself by inheriting from MIDI_Control_Element. Take a look here: https://github.com/tttapa/MIDI_controller/wiki/Custom-MIDI-controls and at the source of the RotaryEncoder class: https://github.com/tttapa/MIDI_controller/blob/90b8796f8365faf28bcfa15eab8f70336d9381d6/src/MIDI_Outputs/RotaryEncoder.h
https://github.com/tttapa/MIDI_controller/blob/master/src/MIDI_Outputs/RotaryEncoder.cpp

If you're happy with the result, feel free to open a Pull Request.

@DH1KLM
Copy link

DH1KLM commented Mar 27, 2018

Sounds like a great idea, the faster I spin the encoder, the greater the step size changes.
Would also be for me a nice and useful addition.
I'm curious if anyone can build this function.

@DH1KLM
Copy link

DH1KLM commented Jun 26, 2018

I wanted to ask if there is already a development in this direction.

I found that https://github.com/craftycoder/arduino-rotary-encoder-with-velocity. I think that is the desired function.
Is it possible to build this for MIDI as well?

@cferrarini
Copy link

I Stumbled upon several reviews on comercial midi controllers, and the general frustration is that recent controllers have encoders intead of pots, but, although working with many relative modes, most of professional pligins available were not made to support relative encoders. The solution that Arturia made in Minilab controller, is the option of absolute messages besides the relative modes. Even their pugins do not support relative modes. The downside ob absolute mode is that the virtual knob jumps to the position as soon as you strt moving the pot, when the relative encoder just adds or diminishes the current value. So an usefull implementation would be to add one more mode option on encoders, an absolute value emulation...
Other thing that would be very wellcome is the support for pcf8574/5 addressable i2c port expander. It only uses 2 arduino ports and you can daisy chain up to 8 chips and obtain up to 64 or 128 free ports! That would be wonderfull! I2c Even permits that the other ships may be at a certain wire length distant from the board. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants