Section in manual that deals with Lua params

I was wondering if anyone could point me in the direction in the manual where it shows information about Lua script “params”.
More specifically params information similiar to the following items

fader
params[3] = { ["type"] = "input", cc = 66, name = "CC 66", min = -1, max = 127, default = -1, integer = true }

toggle button/switch
params[4] = { ["type"] = "input", cc = 66, name = "CC 66", min = 0, max = 1, default = 0, toggled = true }

I did some keyword searches on some of the Lua pages in the manual and none of the keywords from these params examples above generated any results for them. Just not sure how anyone would know how to set these up and would imagine setting up params is a main topic for Lua scripts for me not to be able to find anything about it, so I might have just not been looking in the right place / using the right keywords.

Thank You

Imho the examples are pretty self-explanatory:

1 Like

that or the source-code.

Thank you for the replies but not sure I understand them.

Yep, still cannot understand this forum.
These params mentioned were from a Lua script that someone already created.
Most of the content within them, yes can be understood by someone without coding knowledge.
The question is more how would somebody know how to create these lines to begin with.
Params are a big part of Lua script plugins so would think there would be a specific place in the manual where this would be mentioned?
But thank you for sharing your honest opinion.

First link requires an account to view and the other link to the source code I am not sure that I would be able to understand the connection.

I just thought there would have been a place where someone learned how to generate these params lines specifically.

For now nevermind, I will just have to rely on other coders who know Lua to provide code needed (if they are willing), or I will just ask more specific questions about this in the future and hope they can be answered as well.

By reading examples, or the source code.

1 Like

Thank you Robin, I was just looking at the blob that was highlighted in your example, which I did not understand.
Thanks again

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.