Custom MIDI messages are way cool

Discuss Lemur and share techniques.
Post Reply
cliffman
Newbie
Posts: 11
Joined: 09 Dec 2011 22:34

Custom MIDI messages are way cool

Post by cliffman »

I just realized I could replace a bunch or scripting, and change MIDI channels and CC numbers on the fly,
the Custom MIDI stuff is just super useful......

Updated the Kenton Pro template in the Templates Forum.

Oh my duck, i am so liking this stuff...
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Custom MIDI messages are way cool

Post by Macciza »

Hi
It is important to remember that a variable assigned to a Custom Midi can output data but will not react to the corresponding incoming message.
Custom MIDI messages ar e NOT bi-directional . . . (Sect 9.4 in the manual)

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]
vanceg
Newbie
Posts: 24
Joined: 11 Dec 2011 03:36

Re: Custom MIDI messages are way cool

Post by vanceg »

I SO much wish that this fact would change - too! I would LOVE to have feedback for Custom MIDI messages. PLEASE. i wanted this ever since I had the hardware Lemur.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Custom MIDI messages are way cool

Post by Macciza »

Hi
You can ofcourse still write scripts to deal with the return info - it just does not do it auto-magically
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]
kraftf
Regular
Posts: 124
Joined: 14 Dec 2011 06:36

Re: Custom MIDI messages are way cool

Post by kraftf »

I've setup a multislider sending some distinct CC from a custom midi message to control Live's track Levels.
I've also succesfully managed to to have feedback from Live with an OnMidi script and and update the sliders.The problem that I have now is that because of the feedback that is caused the sliders do not respond easily to my touch. They stutter. Same goes for Live when I try to manipulate the track faders.
Any ideas how you can avoid the feedback.
In my script I assign the second value from the midi_args to the multislider.x value.
jazzisfaction
Newbie
Posts: 7
Joined: 17 May 2013 13:26
Location: Belgium/Germany
Contact:

Re: Custom MIDI messages are way cool

Post by jazzisfaction »

Hey guys,
i'm so sorry. i'm new to Lemur and i ask myself: what is a 'general midi message'.
there is not much explanation in the manual and the example they give in the manual doesn't work on my iPad.
i'm totally confused. seems that it's something great and i can't grab it ;-)

please help me.
can u tell me what it is and how it works and maybe a little example patch for Lemur? or some links which help?
i'll continue my google search simultaneously.

thank u so much
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Custom MIDI messages are way cool

Post by Phil999 »

you gave the answer to your question already. Simply research MIDI and General MIDI.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Custom MIDI messages are way cool

Post by Softcore »

Even though kraft's post is old, for those having the same problem

(custom MIDI output - scripted custom MIDI feedback causes stuttering of the object when used in Lemur)

...the solution is to make the script provide feedback back into the object ONLY when it is not touched.....therefore by using the z expression which is now, available to more objects than it was back then.....

For example the "feedback" script should be included in a "if" statement of this form:

Code: Select all

if (ScriptTargetedObject.z==0)
{
//feedback script here
}
The above makes sure that feedback happens only when the object is not actually "touched" in the Lemur side, but it does move in the software (from mouse, or other software interactions)

A similar method can be applied to eliminate the software mapped control stuttering (caused by "delayed" custom MIDI message generated from the script feedback that moved the object in Lemur) by creating a custom expression which be used as "trigger" in the custom MIDI output which will be (if we want to map the x expression of the object):

Code: Select all

t = z!=0?x:t
The above makes sure that custom MIDI output is only sent when the object is indeed touched in Lemur and not when it is receiving feedback (via the script discussed above)
Post Reply