Relative Midi

Discuss Lemur and share techniques.
Post Reply
mrjixies
Newbie
Posts: 13
Joined: 16 Feb 2012 10:33

Relative Midi

Post by mrjixies »

Hi all,

Is it possible to send out relative midi? At the moment the endless rotary knobs send out until the maximum value (127) but I would like to send out a message that adds to a state. For example I have an instrument knob that is at value 75, if the rotary encoder is at state 0 and I turn it, I lose the value from the instrument and it goes straight to the value of the knob. So I want that the knob adds or retract values relative to the 75 value.

I downloaded the relative midi knob object from the library, but that doesnt do anything, the encoders dont have a dial(cursor) and dont send out anything.
marino_liine
Regular
Posts: 120
Joined: 26 Apr 2011 09:05

Re: Relative Midi

Post by marino_liine »

Hi mrjixies,

You can set the range of MIDI values that the knob sends in the "Scale" settings. Check out the attached picture.

Cheers,
Marino.
Attachments
Scale
Scale
scale.tiff (24.34 KiB) Viewed 2425 times
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Relative Midi

Post by Macciza »

Jixies
Yes it is possible to set up knobs to send the various relative MIDI CC messages but what does your synth support?
Not all devices send or respond to the different flavours of 'relative' - any idea what yours supports or sends?
Check your documentation or just try the different message types and see what works, also Single Value Increment/Decrement CC's 096 / 097

If it is a case of wanted to avoid snapping after having changed a knob on the synth (rather than via Lemur) it may be best to enact bi-directional control so the Lemur knob is updated by the synth and the two will always be the same. If it a modal controller that is capable of changing different CC's then some sort of get/request system could be implemented that gets the external value before any change occurs.

The relativeMIDI_knobs module appears to work - value wise at least apart from the reported minor glitching- I did not check their midi implementation though. You can always put the cursor back by altering the colors if you want.

So, as usual, it comes down to the fact that more info is needed to properly answer the question . . .

Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
mrjixies
Newbie
Posts: 13
Joined: 16 Feb 2012 10:33

Re: Relative Midi

Post by mrjixies »

Thanks for the help!

I'm trying to get it to work with several vsti in my DAW (studio one) I was able to do this with an BCR2000 in Cubase (I dont have the BCR anymore) and I was hoping to get the same effect with the lemur. There must be some kind of message that the BCR send out relative to the vsti? I don't need bidirectional support, it is just about controlling the vsti without losing the initial value. (so relative add or subtract not absolute)
bxsj
Regular
Posts: 116
Joined: 24 Dec 2011 06:47
Location: Vienna

Re: Relative Midi

Post by bxsj »

Just an idea. Create a script that stores the original/last setting of a knob (initial value zero). When the knob is turned, send the difference between old and new value to the VSTI controller.
Cheers,
B.
Win7 64, Ipad Lemur, Cubase6 and a bunch of Roland Synths and Samplers
mrjixies
Newbie
Posts: 13
Joined: 16 Feb 2012 10:33

Re: Relative Midi

Post by mrjixies »

I dont think that should work, because the value send would still be between 0 and 127
Post Reply