New : a Scripting Tutorial is now available
The Scripting Tutorial made by Benjamin Moussay is available in the download section.
Thanks for his great contribution, and also to Bsork for his precious help.
Thanks for his great contribution, and also to Bsork for his precious help.
Olivier Sens
www.brainmodular.com
www.brainmodular.com
great !!
now , no excuse !!..
many thanks
now , no excuse !!..
many thanks
Thank you all!
As i'm a real noob with scripting, this will help me a lot.
As i'm a real noob with scripting, this will help me a lot.
Seb.Dub
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
excellent! this should give me the push i need to start digging in to this part of usine 
great job!
thank you, benjamin and bsork
i've read many programming guides and this is one of the better ones.
whats still missing for me is a kind of quick reference that lists all functions, globals, etc. on a few pages.
wonder if there are still more functions? the string section contains a lot of functions that are not listed in senso's quick reference.
thank you, benjamin and bsork
i've read many programming guides and this is one of the better ones.
whats still missing for me is a kind of quick reference that lists all functions, globals, etc. on a few pages.
wonder if there are still more functions? the string section contains a lot of functions that are not listed in senso's quick reference.
Yes - a great job, but not by me. I only did some proofreading, filled out some blanks, and made some suggestions.
Regarding other functions, there are others available like the TStringList class used in some the text file I/O scripts I've put up in the add-ons. There's also one in the distro, if memory serves my right. What other (standard?) Delphi classes/functions/procedures that are available, I don't know.
Regarding other functions, there are others available like the TStringList class used in some the text file I/O scripts I've put up in the add-ons. There's also one in the distro, if memory serves my right. What other (standard?) Delphi classes/functions/procedures that are available, I don't know.
Bjørn S
im sure this tut is well done but i couldn't manage to make a simple A+B = out script, any chance to get a complete exemple for dummies like me?
Here's an example:
Code: Select all
var inA, inB, out : tParameter;
procedure init;
begin
inA := CreateParam('A', ptDataFader);
SetIsOutput(inA, FALSE);
SetFormat(inA, '%.0f');
SetMin(inA, 1);
SetMax(inA, 10);
inB := CreateParam('B', ptDataFader);
SetIsOutput(inB, FALSE);
SetFormat(inB, '%.0f');
SetMin(inB, 1);
SetMax(inB, 10);
out := CreateParam('out', ptDataFader);
SetIsInput(out, FALSE);
SetFormat(out, '%.0f');
end;
begin
SetValue(out, GetValue(inA) + GetValue(inB));
end.Bjørn S
-
multiphone
- Member
- Posts: 303
- Contact:
Hello !
Great News.
Very Clear.
Thanks a lot.
H.
Great News.
Very Clear.
Thanks a lot.
H.
Thanks a lot for your efforts, much appreciated!
NaN
NaN
any chance to get some more info about this?bsork wrote:What other (standard?) Delphi classes/functions/procedures that are available, I don't know.
feeling lost in this question (if its a relevant question)
is it possible to include files in the script module?
and yet another question: would it benefit midi tools a lot if they're written with C++ sdk (like nelson did)?
in fact they are many other hidden functions, classes and procedures. Enough to build a real application but not so easy to use. I hope I'll have time to improve the documentation about it.amiga909 wrote:any chance to get some more info about this?
feeling lost in this question (if its a relevant question)
actually not.amiga909 wrote:is it possible to include files in the script module?
C++ is 20x faster than script language but for midi manipulation it's not a problem: the midi rate is generally few midi events per second. Scripting does a good job.amiga909 wrote:and yet another question: would it benefit midi tools a lot if they're written with C++ sdk (like nelson did)?
Olivier Sens
www.brainmodular.com
www.brainmodular.com
Who is online
Users browsing this forum: No registered users and 12 guests
