Page 1 of 1

Sending MIDI values after loading a preset

Posted: 01 Mar 2016 10:50
by Perun
Hello community,

I created a few projects in the Lemur Editor and stored them as user Presets in the iPad. I use several faders which send Control Change values.
Here is my problem:
1. When I load the Factory preset "AB Faderlab" I can see (in the Logic X Click & Ports) MIDI Monitor that there are many CC sent during the Preset loading.
2. When I load my user Lemur project the initial values are not sent.

I need to send the Fader values during preset loading. What am I missing?

Best

Re: Sending MIDI values after loading a preset

Posted: 01 Mar 2016 19:20
by Phil999
you can run a script "On Load". Which means, this script will be executed once, after loading the template. This is often used to initialise some settings, graphics, etc., but in this case it can be used to send MIDI as well.

Re: Sending MIDI values after loading a preset

Posted: 01 Mar 2016 23:17
by Perun
Thanks for the input Phil !
Could you provide a very simple script example of say two Faders (CC) which send their values during the Preset loading.
I'm a novice in Lemur scripting (cause the lack of info), however I have some Kontakt KSP and Java Script MIDI experience so I can see the idea.
Thanks

Re: Sending MIDI values after loading a preset

Posted: 02 Mar 2016 21:24
by Phil999
the Lemur manual is your friend if you want to send MIDI notes, CC's, clock, start commands, OSC, etc.

Believe me, this is the best way to learn. This is neither elitist nor arrogant, it's just the best way to learn the basics.

You may also take a look at existing relevant templates in the editor. I also started without any knowledge, and simply analysed many templates from the user library. Two weeks later (I'm slow) I already got my first primitive script running. In the end it's not difficult at all.

Feel free to ask any question if you're unsure. ;)

Re: Sending MIDI values after loading a preset

Posted: 06 Mar 2016 14:26
by Perun
Thanks Phil,

You are right. It took 2-3 days to get the basics reading the manual Scripting data and looking at some projects.
I'll post if I have more questions.
Best