Search found 139 matches

by MrCorba
09 Nov 2017 16:26
Forum: General Discussion
Topic: Random numbers from a pool of numbers.
Replies: 3
Views: 1051

Re: Random numbers from a pool of numbers.

This can be done with a very simple shuffle "algorithm" // Values is the array of values to be shuffled decl index = sizeof(values); // Get the index of the last element decl random, temp; while (0 != index) { // Loop until every element has passed this loop random = floor(rand() * index); // Create ...
by MrCorba
06 Nov 2017 08:53
Forum: General Discussion
Topic: Turn on a button for X seconds
Replies: 3
Views: 1493

Re: Turn on a button for X seconds

To get a button to react after x seconds, you need a few things: - An expression that is set to the current time, when the button is pressed => timePressed = currenttime - An expression that calculates the delay => delayPassedcurrenttime - timePressed > delayTime - An script that listens to that ...
by MrCorba
20 Mar 2017 21:53
Forum: Troubleshooting
Topic: Cannot change the 'name' attribute on fader ...
Replies: 1
Views: 1109

Re: Cannot change the 'name' attribute on fader ...

The setattribute(object, 'name', ....) doesn't seem to work on any object. Which actually makes sense, because if you change the name from Fader to Fader2, all script which have Fader.x = something become invalid and with an error. That leaves the question, why would they put it in there? No one ...
by MrCorba
15 Feb 2017 10:53
Forum: General Discussion
Topic: Selecting interface with script
Replies: 4
Views: 1147

Re: Selecting interface with script

That part of your code seems right, so that's definitely not where the error is;)

I think the error is in your executed on section, where it response to multiple program changes. But again, can't say the without the actual code;)
by MrCorba
13 Feb 2017 22:15
Forum: General Discussion
Topic: Selecting interface with script
Replies: 4
Views: 1147

Re: Selecting interface with script

If you can post an example of your code as you've got it now, the more likely it get's you get a satisfying answer.

Without any code it's hard to guess where the error is;)
by MrCorba
12 Feb 2017 19:29
Forum: Troubleshooting
Topic: Problem with Lemur & Cubase generic remote Punch in Buttons
Replies: 9
Views: 7597

Re: Problem with Lemur & Cubase generic remote Punch in Butt

This is because the punch in/ punch out expects a momentary switch. I'm not a cubase user so I'm not sure if you can change this in cubase but you can work around this in Lemur. Most simple solution is to use a pad. This works as a momentary switch and will work with one click. Again not a Cubase ...
by MrCorba
08 Feb 2017 20:05
Forum: General Discussion
Topic: OSC Strings and Single Quotes
Replies: 3
Views: 1073

Re: OSC Strings and Single Quotes

Lemur unfortunately doesn't have (m)any String functions. If my assumption is correct, you're displaying the OSC string with a monitor object. Try using a Text object, the quotes will disappear like a fart in a fan factory. Use setattribute(Text, 'content', 'Your OSC STRING'); Hopefully this helps
by MrCorba
02 Jan 2017 21:17
Forum: General Discussion
Topic: Trying To Emulate Hardware
Replies: 4
Views: 1298

Re: Trying To Emulate Hardware

I'm still on Live 8, so I don't have the remote scripts. If you want to upload them here, I'll take a look at it
by MrCorba
28 Dec 2016 17:20
Forum: General Discussion
Topic: Trying To Emulate Hardware
Replies: 4
Views: 1298

Re: Trying To Emulate Hardware

Some of the hardware scripts rely on a handshake to ensure the connected device is the actual selected device. This to make sure people dont just use the scripts with something else ;) But luckily these scripts can be decompiled. So my advice is to decompile the scripts and check if there is indeed ...
by MrCorba
10 Dec 2016 16:56
Forum: Projects
Topic: Live 8 Python Remote
Replies: 4
Views: 10870

Re: Live 8 Python Remote

The plan is to get Live9 in the next couple of weeks so then I can check to get the script working on Live9 and make some modifications. To get more into scripting I used the LiveControl2 uncompyled files. If you want them I could upload them tomorrow. Then it's just a matter of a lot of trial and ...