lua question

Official support for: expertsleepers.co.uk
Post Reply New Topic
RELATED
PRODUCTS

Post

One thing I haven't found in lua is a way to time events, something like wait(1000). A google search hasn't helped me much. There seem to be some ways to do this but they all sound very complicated to my ears. But being able to time events would surely open up lots of possibilities when scripting. What do you think would be the best way to go about it?

Axl

Post

In the context of Lua for Augustus Loop scripting, I'd have to program in some support at my end for useful time based stuff. I'm sure there is a call that will simply wait, but you wouldn't really want to call that within a MIDI event handler as it would completely block the MIDI thread and no other MIDI would get processed during that time.

If you can give me a more precise idea of what you had in mind to do with it, I could think about what would need to go in to support it.

Post

os wrote: If you can give me a more precise idea of what you had in mind to do with it, I could think about what would need to go in to support it.
Right now I'm thinking about putting the overdub and clear calls into one function so that when there is a NoteOn that is not followed by the corresponding NoteOff for, say 2 seconds the loop is cleared. Just the way it's done in the Live 8 looper. This would free up one button on my foot controller that I could then use for other stuff. I'm sure if there was this possibility I would also try to do other stuff with it like filter and pitch automation.

This would make Augustus Loop ready for world domination :) :) :)

Post

I emailed you a link to a beta version with this stuff in. Enjoy!

Post Reply

Return to “Expert Sleepers”