Home › Forums › General › Programming › Lua for newbies
- This topic has 15 replies, 5 voices, and was last updated 12 years, 8 months ago by lex2000.
-
AuthorPosts
-
May 19, 2011 at 11:17 pm #212
So how does one go about using LUA in Ctrlr v5? Are there any simple examples that I could look at to teach myself? And what are the use cases for doing something in Lua in Ctrlr? I don’t know any Lua scripting but am eager to learn.
May 24, 2011 at 2:16 am #2012+1
It seems LUA is not currently enabled in ctrlr but I agree it would be great when it is implemented to supply a simple demonstration ctrlr panel that shows what it can be used to do within ctrlr… also would be great to know it’s limitations within ctrlr so we don’t go chasing down a rabbit hole.
Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
May 24, 2011 at 5:32 am #2013and, well. since nobody else has replied to all of your questions…
generally speaking, full implementation of Lua in general within Ctrlr would help you connect parameters to/from attributes, within/to/from either hardware synth(s),vst or DAW(depending on which one), plus more in ways you might have never thought previously possible.Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
May 24, 2011 at 8:58 am #2014yes well it’s a work in progress, other stuff seems to be getting in the way for me to finish this in a usable way. i promise once LUA is capable of something useful i’ll let you know.
May 24, 2011 at 1:01 pm #2015Thanks, appreciate the responses guys!
May 24, 2011 at 1:03 pm #2016Thanks, appreciate the responses guys!
May 26, 2011 at 3:00 pm #2017I know you might not be using renoise, but there is some highly relevant info in this thread that could help wrap your head around Lua:
http://www.renoise.com/board/index.php?/topic/26052-✒-new-to-lua-but-not-to-programming/Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
May 27, 2011 at 7:03 pm #2018Helpful, thanks!
May 27, 2011 at 7:04 pm #2019Helpful, thanks!
June 3, 2011 at 9:22 pm #2020If you have experience with C++ Lua should be pretty straightforward. I’m pretty new to using Lua so I just picked up a few books from amazon that have helped me on my way that I highly suggest to anyone else interested in filling your head
[u:cob84e2r]Programming in Lua[/u:cob84e2r], (Second Edition) by Roberto Ierusalimschy, and [u:cob84e2r]Beginning Lua Programming (Programmer to Programmer)[/u:cob84e2r] by Kurt Jung and Aaron Brown.
As far as computer books go they were quite affordable.serious cure for insomnia as far as a straight read but they’re both VERY helpful reference books. There’s also lua.org of course which has the reference manual and is kept very current, unlike printed books ” title=”Smile” />
Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
June 7, 2011 at 5:46 pm #2008I’ll probably not dive into learning Lua until I have a use case within Ctrlr; nothing like trying to solve a specific problem to help motivate the learning! Thanks regardless.
July 7, 2011 at 4:44 am #2009What’s a good LUA IDE for windows 7 x64? I tried to get LUAEclipse working in the latest eclipse, but it fails to install properly.
July 7, 2011 at 2:03 pm #2010I doubt that any IDE will be useful in Ctrlr i mean in terms of general LUA programming (or any other scripting) i use SCITE/Scintilla, but in Ctrlr there will be an embedded editor, and loading LUA from files will be hard (not impossible), but you must remember that most of the LUA code will done in callback methods (pieces of code triggered on specific events), that code needs to be associated with a specific Ctrlr element, and that code will be kept within the internal XML structure of Ctrlr
to simplify that. You can use and IDE for testing, but you must also remember that the API that is available is only available in Ctrlr, the entire LUA language is really very simple and no IDE is needed, but also the bare bones LUA language is nto really useful for anything (that’s not the point of LUA).July 7, 2011 at 7:24 pm #2011I see. Thanks for the update.
July 18, 2011 at 10:56 pm #2021In case anyone cares,
notepad++ has been my good friend for doing LUA code
July 27, 2011 at 9:51 pm #2022helpful! thanks guys!
-
AuthorPosts
- The forum ‘Programming’ is closed to new topics and replies.