Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » Mobile Apps and Hardware
Thread Read
Lua Scripting coming to TouchOSC!
~Pd~
KVRian
- profile
- pm
- e-mail
- www
PostPosted: Fri Apr 27, 2012 7:47 am reply with quote
http://www.youtube.com/watch?v=ClI1y67H0ug

Shocked

I've been pestering NI to add Lua scripting to Reaktor - now it looks like I can stop pestering and enjoy it from an external source, with the GUI and interconnection problems all taken care of already.

Yes, there's already scripting in Lemur but the app costs literally ten times the price of TouchOSC - I've worked in it a bit and it's slightly annoying that it's yet another non portable toy language (KSP anyone?). The nice thing about Lua is that it's an open standard and it's already in, for example, the Pure Data beta. I expect it to show up in more places soon too.
^ Joined: 29 Jul 2006  Member: #114675  
whyterabbyt
Beware the Quoth
- profile
- pm
PostPosted: Fri Apr 27, 2012 8:14 am reply with quote
~Pd~ wrote:
http://www.youtube.com/watch?v=ClI1y67H0ug

Shocked

I've been pestering NI to add Lua scripting to Reaktor - now it looks like I can stop pestering and enjoy it from an external source, with the GUI and interconnection problems all taken care of already.

Yes, there's already scripting in Lemur but the app costs literally ten times the price of TouchOSC - I've worked in it a bit and it's slightly annoying that it's yet another non portable toy language (KSP anyone?). The nice thing about Lua is that it's an open standard and it's already in, for example, the Pure Data beta. I expect it to show up in more places soon too.


Unfortunately, whilst Lua gets some usage in audio apps, and would be worth picking up more for that reason, so does python, and java and JavaScript and...

It's all getting a it unwieldy for me. Although nobodys using perl which is a missed opportunity. Honest.
^ Joined: 03 Sep 2001  Member: #1041  
conundrum
KVRist
- profile
- pm
PostPosted: Fri Apr 27, 2012 9:08 am reply with quote
Now if only it would get the ability to use NRPN and sysex msgs...
^ Joined: 08 Oct 2010  Member: #241093  
~Pd~
KVRian
- profile
- pm
- e-mail
- www
PostPosted: Fri Apr 27, 2012 9:42 am reply with quote
NRPN and sysex are coming.

https://plus.google.com/102287351664806362768/posts/Meun6S9F VSj

As long as MIDI out is scriptable the scripts will be able to send NRPN. There are ways to script it in Lemur though it's not included in the app's native functions. You just do a little math to calculate the MSB and LSB values.
^ Joined: 29 Jul 2006  Member: #114675  
~Pd~
KVRian
- profile
- pm
- e-mail
- www
PostPosted: Sat Apr 28, 2012 5:27 am reply with quote
whyterabbyt wrote:
Unfortunately, whilst Lua gets some usage in audio apps, and would be worth picking up more for that reason, so does python, and java and JavaScript and...

It's all getting a it unwieldy for me. Although nobodys using perl which is a missed opportunity. Honest.


I thought about this and did some investigation - here's the thing, Lua is optimized as a small, light and efficient scripting engine for precisely this kind of embedded use. The license is permissive. The engine is written in ANSI C and compiles anywhere there's C. I'm not surprised it's seeing so much interest. About the only complaint I've seen is that it isn't ____ where ____ is something the complainer already knows. Very Happy

I wouldn't mind seeing Python embedded in audio apps but I'm not sure how much it would add in overhead and integration complexity.
^ Joined: 29 Jul 2006  Member: #114675  
~Pd~
KVRian
- profile
- pm
- e-mail
- www
PostPosted: Sat Apr 28, 2012 5:28 am reply with quote
[oops, double]
^ Joined: 29 Jul 2006  Member: #114675  
Keebo
KVRist
- profile
- pm
PostPosted: Sat Apr 28, 2012 5:20 pm reply with quote
This is great news for me as I have TouchOSC and just purchased Codea which uses Lua. Looking forward to learning how to make good use of it all.
^ Joined: 09 Nov 2009  Member: #219238  
~Pd~
KVRian
- profile
- pm
- e-mail
- www
PostPosted: Sat Apr 28, 2012 6:01 pm reply with quote
Ooh, I didn't realize that uses Lua. I have to get it now. I already installed the runtime on my computer and started messing around with it. The semicolons being optional feels weird, like walking around without pants. Laughing
^ Joined: 29 Jul 2006  Member: #114675  
All times are GMT - 8 Hours

Printable version
Page 1 of 1
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012