Lemur OSC Arena6 Template

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
User avatar
He2neg
Is seriously in love with Resolume. Met the parents and everything
Posts: 496
Joined: Fri Nov 22, 2013 21:34
Location: Berlin, Germany

Lemur OSC Arena6 Template

Post by He2neg » Fri May 11, 2018 14:16

Hey,

I started to build a Lemur Template for Arena6. When its finished or at a point to share i will do this here.

So far i had a good start (from knowing nothing) and i allready got a few things i want to have on my iPad when walking around.

Master opasity
Strobe button
Bpm Tab
...

First i want to have some Input what you think is smart to have as well.



And i came to a first Problem i cant solve and also dont find anything in the web.
I want to display the BPM under my bpm tab button. I made a "monitor" inside Lemur, got the right adress (=composition/tempocontroller/tempo/value) and it also display something. But it displays the Float Value between 0 and 1. It should display the bpm 200- 500.
Any hints what to do, change, etc...

Thanks.
Laptop: XMG P507 // Intel i7-5500 / GTX-1060 / 1tb SSD / 32gb RAM // Touch OSC / Lemur/ APC-40
~self employed AV technician / Schu.VT@posteo.de~
~Berlin~

User avatar
Zoltán
Team Resolume
Posts: 3283
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Lemur OSC Arena6 Template

Post by Zoltán » Fri May 11, 2018 21:42

He2neg wrote:I want to display the BPM under my bpm tab button. I made a "monitor" inside Lemur, got the right adress (=composition/tempocontroller/tempo/value) and it also display something. But it displays the Float Value between 0 and 1. It should display the bpm 200- 500.
Any hints what to do, change, etc...
Can Lemur do math for a display like this?
Theatre sound engineer, photographer, programmer, aka ravensc.
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
VJ footage: https://goo.gl/58oHy7

User avatar
He2neg
Is seriously in love with Resolume. Met the parents and everything
Posts: 496
Joined: Fri Nov 22, 2013 21:34
Location: Berlin, Germany

Re: Lemur OSC Arena6 Template

Post by He2neg » Sat May 12, 2018 09:23

i guess it can do math... but my head has stopped working after i saw the bpm dont start at 0 ;)

x(0-1)=
x*500 -> 0 - 500 BPM
Laptop: XMG P507 // Intel i7-5500 / GTX-1060 / 1tb SSD / 32gb RAM // Touch OSC / Lemur/ APC-40
~self employed AV technician / Schu.VT@posteo.de~
~Berlin~

elgarf
Hasn't felt like this about software in a long time
Posts: 200
Joined: Sun Sep 13, 2015 05:52

Re: Lemur OSC Arena6 Template

Post by elgarf » Sat May 12, 2018 12:47

BPM = 200 + X*300? )

User avatar
Zoltán
Team Resolume
Posts: 3283
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Lemur OSC Arena6 Template

Post by Zoltán » Sat May 12, 2018 17:48

BPM (decimal) = x(float) * 480 + 20
Theatre sound engineer, photographer, programmer, aka ravensc.
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
VJ footage: https://goo.gl/58oHy7

User avatar
He2neg
Is seriously in love with Resolume. Met the parents and everything
Posts: 496
Joined: Fri Nov 22, 2013 21:34
Location: Berlin, Germany

Re: Lemur OSC Arena6 Template

Post by He2neg » Sat May 12, 2018 17:56

Okay sure... it is that easy... And now i need some Lemur Pro to tell me how and were to put this^^

Cosmowe!!!!
Laptop: XMG P507 // Intel i7-5500 / GTX-1060 / 1tb SSD / 32gb RAM // Touch OSC / Lemur/ APC-40
~self employed AV technician / Schu.VT@posteo.de~
~Berlin~

User avatar
He2neg
Is seriously in love with Resolume. Met the parents and everything
Posts: 496
Joined: Fri Nov 22, 2013 21:34
Location: Berlin, Germany

Re: Lemur OSC Arena6 Template

Post by He2neg » Sat May 12, 2018 21:30

Ok, maybe the BPM Display Problem will solve, but this isnt a importend feature.

I got another thing i came alonge:

I wanted to map the Slicetransform Effects "Mask" & "Fill" as well

When i see this osc Input for both buttons:

/composition/video/effects/screenlayertransform/effect/scaling

OSCType Tag:
Int 0 through 3


I´m a bit confused now. does this mean i can use a fader and it will jump to the mode 0-25 / 25-50 / 50-75 / 75-100 ?

or do i need to specify a button/pad to send some more information then just the target?



Thanks for everyone helping me with this template.

Here it is so far:
Comp Effects you ll need : Strobe & Add / Substract
Attachments
Arena6_v1.rar
(2.26 KiB) Downloaded 556 times
Laptop: XMG P507 // Intel i7-5500 / GTX-1060 / 1tb SSD / 32gb RAM // Touch OSC / Lemur/ APC-40
~self employed AV technician / Schu.VT@posteo.de~
~Berlin~

sleepytom
Hasn't felt like this about software in a long time
Posts: 229
Joined: Fri Sep 12, 2008 11:11
Location: sussex by the sea

Re: Lemur OSC Arena6 Template

Post by sleepytom » Sun May 20, 2018 16:50

/composition/video/effects/screenlayertransform/effect/scaling

OSCType Tag:
Int 0 through 3

these kind of int addresses are an index to each setting.
Fill =0
Fit =1
Stretch =2
Mask =3

So to select the mask mode you send a 3 to /composition/video/effects/screenlayertransform/effect/scaling

User avatar
cosmowe
Knows Resolume better than the devs
Posts: 1220
Joined: Fri Mar 25, 2011 10:27
Location: cologne // germany

Re: Lemur OSC Arena6 Template

Post by cosmowe » Sun May 20, 2018 18:38

He2neg.....I read....and read... this thread every day between work :) ....I would like to give you a correct answer....and for that reason... I first have to test it by my self.... :D I remember that I ran into a similar problem when I was building the Lemur interface....
I would recommend... If you need fast feedback.. download my template... and take a look at the BPM light at the bottom right...I am pretty sure...I did some math there..... :P keep in mind that it was build for R5...and the OSC addresses have changed....

Lemur Sequencer Thread

Hope that helps you for now..... If not... I will take a look at this as soon as I have some more time than I have now.

Best wishes
cosmowe
w10 || Schenker U506 || lemur || kp3 || pulse || leap motion || spark d'fuser || magewell capture dongle

User avatar
He2neg
Is seriously in love with Resolume. Met the parents and everything
Posts: 496
Joined: Fri Nov 22, 2013 21:34
Location: Berlin, Germany

Re: Lemur OSC Arena6 Template

Post by He2neg » Sun May 20, 2018 20:02

Ahha there he is ;)

I allready did download your step sequenzer and try to "steal" copy past and learn osc that way.

But i didnt knew that you had a bpm indicator so i didnt search for that...

It seams you have a

BPM Monitor invisible :
value : 2+BPM0.x*249
Script : setbpm(): clock_setbpm(0, value);

And BPM0 is a Mulislider.. :?: :roll: :?

But your BPM Light in the bottom Corner just use your stepper as rev:
Script : Tick(): if(stepper.out==1) {x=1;}else{x=0;}


I keep on trying, maybe i get some further with this...


Incoming BPM [0-1] -> Multi Slider -> Set Lemur Clock
Laptop: XMG P507 // Intel i7-5500 / GTX-1060 / 1tb SSD / 32gb RAM // Touch OSC / Lemur/ APC-40
~self employed AV technician / Schu.VT@posteo.de~
~Berlin~

Post Reply