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

Fader->Encoder: Absolute vs. Relative mode #8

Open
dashezzl opened this issue Jan 13, 2024 · 2 comments
Open

Fader->Encoder: Absolute vs. Relative mode #8

dashezzl opened this issue Jan 13, 2024 · 2 comments

Comments

@dashezzl
Copy link

Hey there,
very happy to find your script and tutorial, helped me alot.
I want to map the encoders from my Beatstep to volume faders in ableton. its working fine with absolute mode, but not doing much in relative 1/2/3 mode (Arturia Midi Control Center)
Is there any workaround?
thank you!

@dashezzl dashezzl changed the title Fader->Encoder: Absolut vs. Relative mode Fader->Encoder: Absolute vs. Relative mode Jan 13, 2024
@laidlaw42
Copy link
Owner

I have no idea! But there's probably a way to set this in the scripts. I will have a look but can't promise anything, I don't have a beatstep anymore and very limited time to work on this outside of work/life.

It be worth looking at other controller scripts for an insight here's the decompiled set

@laidlaw42
Copy link
Owner

Looks like you'd use one of these:
Live.MidiMap.MapMode.relative_smooth_two_compliment
Live.MidiMap.MapMode.relative_binary_offset
`Live.MidiMap.MapMode.relative_signed_bit'

Implementing it is beyond me at the moment. I found these in the aforementioned de-compiled MIDI remote scripts.

Seems you'd have to import EncoderElement into the main script YourControllerName.py and change the _load_MIDI_map function.

Here's an example I found:
def make_encoder(identifier, name): return EncoderElement(MIDI_CC_TYPE, 0, identifier, (Live.MidiMap.MapMode.relative_smooth_signed_bit), name=name)

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

2 participants