What's new

Lua resources for UVI Falcon scripting

otristan

New Member
Nop, you cannot combine regular modulation with script output.
You can however program everything in the script itself and output a specific MIDI CC for you custom modulation
 
Olivier from UVI here.

There are no private API that we use, so everything is accessible to the end users.
We don't usually share our own internal script to avoid giving our source code to other 3rd party developer and share our UI assets.

What kind of example would like to see ?

Thanks !

Thanks for talking to us.

- When interacting with widgets that send more than on/off values, it seems we can only drag up and down. Is that correct? Is there a way to change it so that the user can drag left to right?
- getTime() does not work globally. The error states that it needs to be in the audio thread. I'll assume this is the case for the other time methods.

For example this produces an error, print("time", getTime(), "end of run") and it is taken from one of the examples. How do we ensure it runs in the audio thread if it can't be accessed outside of it?
 
Last edited:
The thing is that we don't have the time to do cool videos about this as it has a very limited audience.
It would make more sense for a twitch like session or some course with some exercise but I'm afraid I don't have the time to handle that.

Still I can provide you guys with more advanced examples that you can check
Here is the StepLine source code

Lots of stuff in there but still limited for us to be able to share it.
And thank you so much for this example. It really shows a lot of details I think some of us were looking for.
 
Olivier from UVI here.

There are no private API that we use, so everything is accessible to the end users.
We don't usually share our own internal script to avoid giving our source code to other 3rd party developer and share our UI assets.

What kind of example would like to see ?

Thanks !
Another question about the UI.

Your Mello soundbank includes the use of an animation. The tape reel on the right hand side has an automated and subtle animation. How does that work?

Here's my guess. You're using something like getTime() with a modulo in order to generate values every several seconds. Then that's being used to change the frames within an unclickable widget. Is that basically what's happening?
 

otristan

New Member
Thanks for talking to us.

- When interacting with widgets that send more than on/off values, it seems we can only drag up and down. Is that correct? Is there a way to change it so that the user can drag left to right?
- getTime() does not work globally. The error states that it needs to be in the audio thread. I'll assume this is the case for the other time methods.

For example this produces an error, print("time", getTime(), "end of run") and it is taken from one of the examples. How do we ensure it runs in the audio thread if it can't be accessed outside of it?
You can use horizontal slider for left/right movement.
getTime can only be used in event callback like onNote, onController, onRelease...
as the point is to use this to time musical related events not UI ones.
 

otristan

New Member
Another question about the UI.

Your Mello soundbank includes the use of an animation. The tape reel on the right hand side has an automated and subtle animation. How does that work?

Here's my guess. You're using something like getTime() with a modulo in order to generate values every several seconds. Then that's being used to change the frames within an unclickable widget. Is that basically what's happening?
We use a knob with an image strip and use a wait to increment it every N ms

--Turning Wheel Wheel=Knob{"Wheely",1,1,numImages, true, bounds={625,92,95,267},showLabel = false,showPopupDisplay=false} Wheel:setStripImage(pathToMyImageStrip, numImages) function TurnWheel(time) local maxValue = Wheel.max local counter = 1 while true do Wheel.value= counter%maxValue counter = counter + 1 wait(time) end end spawn(TurnWheel,40)
 

AllanH

Senior Member
The thing is that we don't have the time to do cool videos about this as it has a very limited audience.
It would make more sense for a twitch like session or some course with some exercise but I'm afraid I don't have the time to handle that.

Still I can provide you guys with more advanced examples that you can check
Here is the StepLine source code

Lots of stuff in there but still limited for us to be able to share it.
Hi Oliver,

Thank you - I find it immensely helpful to see a functional example more than a few lines long.
 

R. Naroth

Member
Thanks for creating this thread. I just recently purchased Falcon but was disappointed to see that scripts were all locked away and the scripting documentation very unhelpful.

@estevancarlos Thanks for the github page.
 

Empty Vessel

Minimum Viable Fidelity
Interesting remark by Greg / @Empty Vessel in this thread:


(you can safely ignore all my rambling in there, and skip to post #14)

Greg casually announces a new Falcon pack and apparently has cracked the LUA UI scripting secrets. ;)
well, not completely by any means but getting there, my rusty old memories from a Computer Science degree from 1990 is taking a while to reload and appears to have become rather patchy and corrupted in the intervening years ;) . Thank you for the thread @nmalleus , some very useful resources and big thanks to @otristan and others for the very useful extra information! Extremely appreciated. :emoji_pray: :emoji_call_me:
Hopefully I'm able to contribute some tips, videos etc. too before too long.
Greets from New Zealand.
 

Empty Vessel

Minimum Viable Fidelity
What is up with great sound designers and New Zealand? :)

I already know 3: GoldBaby, Tim Prebble, and yourself are there.

Maybe I should move there and infuse myself with the powers of the island!
I know Tim and Hugo, not sure I would align myself with such mighty individuals but thank you!
I highly recommend it btw, it's a very stunning and extremely chilled out place. Plenty of creative inspiration for sure.
 

New_Loops

newloops.com
TBH, I can't believe how difficult it is to add a background image to the macro page! Just a basic image. Why is this info so difficult to find?
 
Top Bottom